aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-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