From: Steve Freegard Date: Fri, 22 Jun 2018 15:45:33 +0000 (+0100) Subject: Eliminate false-positive on REPLYTO_EQ_TO_ADDR X-Git-Tag: 1.7.7~39^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6270b42ac35ceae074753f7123ec067bfa49fd15;p=rspamd.git Eliminate false-positive on REPLYTO_EQ_TO_ADDR --- diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua index 43cbea23e..e593d2097 100644 --- a/rules/headers_checks.lua +++ b/rules/headers_checks.lua @@ -223,6 +223,7 @@ local check_replyto_id = rspamd_config:register_callback_symbol('CHECK_REPLYTO', if (to and to[1] and to[1].addr:lower() == rt[1].addr:lower()) then -- Ignore this for mailing-lists and automatic submissions if (not (task:get_header('List-Unsubscribe') or + task:get_header('X-To-Get-Off-This-List') or task:get_header('X-List') or task:get_header('Auto-Submitted'))) then