aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorSteve Freegard <steve@stevefreegard.com>2016-04-26 12:45:28 +0100
committerSteve Freegard <steve@stevefreegard.com>2016-04-26 12:45:28 +0100
commitf458792fe6e11d57f5f1f3ac7f0e1ac6948624c8 (patch)
tree3ba253287f18370af80764af223b66bfca0a147f /rules
parent61d5e4897543d185225f20913fef3723811d8c5e (diff)
downloadrspamd-f458792fe6e11d57f5f1f3ac7f0e1ac6948624c8.tar.gz
rspamd-f458792fe6e11d57f5f1f3ac7f0e1ac6948624c8.zip
Update MULTIPLE_UNIQUE_HEADER to include RFC5322 rules
Diffstat (limited to 'rules')
-rw-r--r--rules/misc.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/rules/misc.lua b/rules/misc.lua
index 728b694cd..a9b5fd94d 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 = {