aboutsummaryrefslogtreecommitdiffstats
path: root/rules/headers_checks.lua
diff options
context:
space:
mode:
authorSteve Freegard <steve@stevefreegard.com>2018-06-22 16:45:33 +0100
committerSteve Freegard <steve@stevefreegard.com>2018-06-22 16:45:33 +0100
commit6270b42ac35ceae074753f7123ec067bfa49fd15 (patch)
tree8a7cc2b14d9877665b1cd08dda781fc966ede61f /rules/headers_checks.lua
parent004a8cb98057fd802ed285a559b1ab0f5b3fda50 (diff)
downloadrspamd-6270b42ac35ceae074753f7123ec067bfa49fd15.tar.gz
rspamd-6270b42ac35ceae074753f7123ec067bfa49fd15.zip
Eliminate false-positive on REPLYTO_EQ_TO_ADDR
Diffstat (limited to 'rules/headers_checks.lua')
-rw-r--r--rules/headers_checks.lua1
1 files changed, 1 insertions, 0 deletions
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