]> source.dussan.org Git - rspamd.git/commitdiff
Eliminate false-positive on REPLYTO_EQ_TO_ADDR 2302/head
authorSteve Freegard <steve@stevefreegard.com>
Fri, 22 Jun 2018 15:45:33 +0000 (16:45 +0100)
committerSteve Freegard <steve@stevefreegard.com>
Fri, 22 Jun 2018 15:45:33 +0000 (16:45 +0100)
rules/headers_checks.lua

index 43cbea23ec33a91efb434469a4b399cfac44a10d..e593d209756cb8849b889fdd5fd62273c72c6764 100644 (file)
@@ -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