Browse Source

Eliminate false-positive on REPLYTO_EQ_TO_ADDR

tags/1.7.7
Steve Freegard 6 years ago
parent
commit
6270b42ac3
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      rules/headers_checks.lua

+ 1
- 0
rules/headers_checks.lua View File

if (to and to[1] and to[1].addr:lower() == rt[1].addr:lower()) then if (to and to[1] and to[1].addr:lower() == rt[1].addr:lower()) then
-- Ignore this for mailing-lists and automatic submissions -- Ignore this for mailing-lists and automatic submissions
if (not (task:get_header('List-Unsubscribe') or 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('X-List') or
task:get_header('Auto-Submitted'))) task:get_header('Auto-Submitted')))
then then

Loading…
Cancel
Save