Haraka icon indicating copy to clipboard operation
Haraka copied to clipboard

Beautify NDNs

Open typingArtist opened this issue 8 years ago • 5 comments

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.

typingArtist avatar Oct 25 '16 04:10 typingArtist

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 avatar Sep 09 '17 23:09 Bramzor

@Bramzor HTML additions were merged in #2091.

msimerson avatar Feb 16 '18 17:02 msimerson

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.

msimerson avatar Feb 16 '18 17:02 msimerson

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.

Bramzor avatar Aug 19 '18 19:08 Bramzor

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 .

baudehlo avatar Aug 19 '18 21:08 baudehlo

Closing as finished in #2091

msimerson avatar Apr 27 '24 05:04 msimerson