From f458792fe6e11d57f5f1f3ac7f0e1ac6948624c8 Mon Sep 17 00:00:00 2001 From: Steve Freegard Date: Tue, 26 Apr 2016 12:45:28 +0100 Subject: [PATCH] Update MULTIPLE_UNIQUE_HEADER to include RFC5322 rules --- rules/misc.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 = { -- 2.47.3