http://bugzilla.spamassassin.org/show_bug.cgi?id=3969





------- Additional Comments From [EMAIL PROTECTED]  2005-02-07 12:48 -------
Subject: Re:  header checks only check first header

On Mon, Feb 07, 2005 at 11:59:58AM -0800, [EMAIL PROTECTED] wrote:
> header TESTSTRING       Header =~ /^Teststring/m
> 
> /^/ doesn't make sense in this case, and SA is working as it should.  closing 
> bug.

Hrm.  I don't quite know if the ticket should be closed yet or not.  It's true
that to solve the issue, the rule could just have "m" at the end, but the
bigger, potential, issue is that all of our rules which do "^" or "$", or "."
for that matter, need to have "m" and "s" modifiers to deal with things like:

Subject: hot
Subject: young
Subject: sluts

or whatever.  /hot young sluts/ doesn't match currently, neither will
/hot.*young.*sluts/, etc.

IMO, the issue is less "make the rule work now" and more of "counter
possible future obfuscations".  Part of me cares what the MUA does (probably
shows "Subject: sluts"), but the other part of me wants to catch the whole
thing.

Am I over thinking this?





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to