procmail
[Top] [All Lists]

Re: wrap around spamassassin lines fail test?

2003-08-26 13:56:47
Scott Wiersdorf skribis:
Dave Stern:
 
If a user has a procmailrc that tests for user in whitelist ie

 * !^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.


No.

man procmail

"To make `egrepping' of headers more consistent, procmail concatenates 
all continued header fields; but only internally.  When delivering the 
mail, line breaks will appear as before."

-- 
Affijn, Ruud

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