]> source.dussan.org Git - rspamd.git/commitdiff
Update MULTIPLE_UNIQUE_HEADER to include RFC5322 rules
authorSteve Freegard <steve@stevefreegard.com>
Tue, 26 Apr 2016 11:45:28 +0000 (12:45 +0100)
committerSteve Freegard <steve@stevefreegard.com>
Tue, 26 Apr 2016 11:45:28 +0000 (12:45 +0100)
rules/misc.lua

index 728b694cd1d2f4c14f460f863b3e4c11c01ca18f..a9b5fd94ddfa6c9e698ada928ce6ff4662e47681 100644 (file)
@@ -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 = {