From 6270b42ac35ceae074753f7123ec067bfa49fd15 Mon Sep 17 00:00:00 2001 From: Steve Freegard Date: Fri, 22 Jun 2018 16:45:33 +0100 Subject: Eliminate false-positive on REPLYTO_EQ_TO_ADDR --- rules/headers_checks.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'rules') 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 -- cgit v1.2.3