]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Set headers in DMARC reports to prevent out-of-office replies 5686/head
authorMichael Kliewe <info@phpgangsta.de>
Thu, 16 Oct 2025 16:13:09 +0000 (18:13 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Oct 2025 16:13:09 +0000 (18:13 +0200)
To prevent out-of-office-replies, vacation-replies or similar, we should set a few headers in DMARC report mails, which seems to be best-practice for these types of system-generated mails.

lualib/rspamadm/dmarc_report.lua

index fb28a926404e0c84fb99477f62a07d2b73e36d21..62787e7bc0a12be0dc72fde705672ca0536d665e 100644 (file)
@@ -66,6 +66,9 @@ MIME-Version: 1.0
 Message-ID: <{= message_id =}>
 Content-Type: multipart/mixed;
        boundary="----=_NextPart_{= uuid =}"
+Auto-Submitted: auto-generated
+Precedence: bulk
+X-Auto-Response-Suppress: All
 
 This is a multipart message in MIME format.