https://bugs.exim.org/show_bug.cgi?id=2404
Git Commit <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Git Commit <[email protected]> --- Git commit: https://git.exim.org/exim.git/commitdiff/87abcb247b4444bab5fd0bcb212ddb26d5fd9191 commit 87abcb247b4444bab5fd0bcb212ddb26d5fd9191 Author: Jeremy Harris <[email protected]> AuthorDate: Tue Jun 4 18:13:21 2019 +0100 Commit: Jeremy Harris <[email protected]> CommitDate: Wed Jun 5 17:17:16 2019 +0100 Use dsn_from for success-DSN messages. Bug 2404 --- doc/doc-txt/ChangeLog | 3 +++ src/src/deliver.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 52fcc82..f9a14b6 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -128,6 +128,9 @@ JH/26 The PIPE_CONNECT facility is promoted from experimental status and is now controlled by the build-time option SUPPORT_PIPE_CONNECT. PP/01 Unbreak heimdal_gssapi, broken in 4.92. +JH/27 Bug 2404: Use the main-section configuration option "dsn_from" for + success-DSN messages. Previously the From: header was always the default + one for these; the option was ignored. Exim version 4.92 diff --git a/src/src/deliver.c b/src/src/deliver.c index dc2e577..ada042a 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -7342,8 +7342,8 @@ if (addr_senddsn) if (errors_reply_to) fprintf(f, "Reply-To: %s\n", errors_reply_to); + moan_write_from(f); fprintf(f, "Auto-Submitted: auto-generated\n" - "From: Mail Delivery System <Mailer-Daemon@%s>\n" "To: %s\n" "Subject: Delivery Status Notification\n" "Content-Type: multipart/report; report-type=delivery-status; boundary=%s\n" @@ -7354,7 +7354,7 @@ if (addr_senddsn) "This message was created automatically by mail delivery software.\n" " ----- The following addresses had successful delivery notifications -----\n", - qualify_domain_sender, sender_address, bound, bound); + sender_address, bound, bound); for (addr_dsntmp = addr_senddsn; addr_dsntmp; addr_dsntmp = addr_dsntmp->next) -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
