Haraka
Haraka copied to clipboard
Beautify NDNs
NDNs currently don’t contain a proper header, at least in the tests I have run (messages bounced because of rejectUnauthorized
), it’s missing From
, To
, and Subject
.
Proper header is indeed missing, source of mail:
Return-Path: <unknown> Delivered-To: unknown To: <> Delivered-To: <>
With setting the file config/outbound.bounce_message to something useful, it already helps a bit to create a nicer looking bounce message. Creating a separate issue for adding a HTML part and the mail as attachment, as it seems the bounce itself is already multipart/report as content type.
@Bramzor HTML additions were merged in #2091.
Is there anything left to do here? The From, To, and Subject headers are being added, unless @typingArtist had a stale or missing config/bounce_message
.
Tested in version 2.8.20 today and although it does not show the unknowns anymore, I'm not sure if it is the correct behavior: Bounced message headers:
Delivered-To: [email protected] To: <> Delivered-To: <> Return-Path: <> Subject: Delivery Status Notification (Failure)
But subject isn't missing now and although Delivered-To is duplicated (might be the receiving server doing that), To and Return-Path are empty? Is this as expected? If so, we can close this one.
The To is wrong. Return Path is right.
On Sun, Aug 19, 2018 at 3:20 PM Bramzor [email protected] wrote:
Tested in version 2.8.20 today and although it does not show the unknowns anymore, I'm not sure if it is the correct behavior: Bounced message headers:
Delivered-To: [email protected] To: <> Delivered-To: <> Return-Path: <> Subject: Delivery Status Notification (Failure)
But subject isn't missing now and although Delivered-To is duplicated (might be the receiving server doing that), To and Return-Path are empty? Is this as expected? If so, we can close this one.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/haraka/Haraka/issues/1688#issuecomment-414149457, or mute the thread https://github.com/notifications/unsubscribe-auth/AAobYzQG1YVSrod7TJGMvDO8ExKrY6Cnks5uSbp_gaJpZM4Kfjl4 .
Closing as finished in #2091