procmail
[Top] [All Lists]

Re: wrap around spamassassin lines fail test?

2003-08-26 12:50:28
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)), so you'll need a
way to either 1) make a broader pattern that will match newlines or
2) extract the header with `formail -czx"X-Spam-Status:"` and compare
against that instead.

Scott
-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

_______________________________________________
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>