procmail
[Top] [All Lists]

Re: wrap around spamassassin lines fail test?

2003-08-26 13:13:57
On Tue, 26 Aug 2003, Scott Wiersdorf wrote:

On Tue, Aug 26, 2003 at 03:27:38PM -0400, Dave Stern - Former Rocket 
Scientist wrote:
If a user has a procmailrc that tests for user in whitelist ie

:0:
* !^X-Spam-Status:.*USER_IN_WHITELIST

The dot doesn't match newlines (see procmailrc(5))

That's correct, but when matching a header procmail unfolds the wrapped
fields so the only newline is the one at the end of (the last line of)  
each field.

Proof:

-----
VERBOSE=yes

:0
* ^X-Spam-Status:.*USER_IN_WHITELIST
{ }

HOST
-----
procmail: [31420] Tue Aug 26 13:00:47 2003
procmail: Match on "^X-Spam-Status:.*USER_IN_WHITELIST"
procmail: Assigning "HOST"


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>