From: Steve Freegard Date: Tue, 26 Apr 2016 11:45:28 +0000 (+0100) Subject: Update MULTIPLE_UNIQUE_HEADER to include RFC5322 rules X-Git-Tag: 1.3.0~627^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f458792fe6e11d57f5f1f3ac7f0e1ac6948624c8;p=thirdparty%2Frspamd.git Update MULTIPLE_UNIQUE_HEADER to include RFC5322 rules --- diff --git a/rules/misc.lua b/rules/misc.lua index 728b694cd1..a9b5fd94dd 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -209,8 +209,18 @@ rspamd_config.HEADER_FORGED_MDN = { local headers_unique = { 'Content-Type', 'Content-Transfer-Encoding', + -- https://tools.ietf.org/html/rfc5322#section-3.6 'Date', - 'Message-ID' + 'From', + 'Sender', + 'Reply-To', + 'To', + 'Cc', + 'Bcc', + 'Message-ID', + 'In-Reply-To', + 'References', + 'Subject' } rspamd_config.MULTIPLE_UNIQUE_HEADERS = {