Am 29.12.2015 um 22:14 schrieb Kevin A. McGrail:
On 12/29/2015 3:46 PM, Philip Prindeville wrote:On Dec 29, 2015, at 1:42 PM, Kevin A. McGrail <kmcgr...@pccc.com> wrote:On 12/29/2015 3:38 PM, Philip Prindeville wrote:Is there a reason that headers are left with leading spaces? I’ve noticed that I have to write rules as: Subject =~ /^ Great [Jj]ob [Oo]pportunity/ because of the leading space…I'm at a complete loss. I add plenty of Subject rules with no leading space. Never seen this issue.I had some rules which weren’t firing so I had to change to /^ .../ or else /^ ?.../ to make them match. Not sure why. This is with SA 3.4.1 on Fedora 21.What's the original Subject header look like from the original mail?
with "normalize_charset 1" and replace whitespaces in rules with "\s+" one can't trick SA with leading or multiple whitespaces in the junkmail
frankly with body rules i have seen even cases where a line was split in two html cells and the SA rule hits because the junk is normalized before proceed it against rules
signature.asc
Description: OpenPGP digital signature