http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5758





------- Additional Comments From [EMAIL PROTECTED]  2007-12-26 10:53 -------
> It it exists more than once ...
> header __NO_SMTP_AUTH X-SMTP-AuthedByMe =~ /^no$/

It is almost always wrong to forget the /m flag in a regexp of
a header-matching rule. SpamAssassin merges header field bodies
with the same header field name into one multiline string,
and ^ and $ only match the outer boundaries by default.
Adding a /m flag lets ^ and $ match on each line.

It think it is a misfeature of SpamAssassin, but this is its
present behaviour.
Use:
  header __NO_SMTP_AUTH X-SMTP-AuthedByMe =~ /^no$/m

I think there is a SA bug entry somewhere on this topic,
but I can't find right now.




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

Reply via email to