> -----Original Message-----
> From: Bart Schaefer

> On Tue, 26 Aug 2003, Dave  Stern - Former Rocket Scientist wrote:
> 
> > :0:
> > * !^X-Spam-Status:.*USER_IN_WHITELIST
> > $MAILDIR/rejects
> > 
> > 
> > X-Spam-Status: No, hits=-93.4 required=5.0
> >         tests=BASE64_ENC_TEXT,BAYES_60,HTML_40_50,MIME_HTML_ONLY,
> >               RECEIVED_IDENT_CACHEFLOW,USER_IN_WHITELIST
> > 
> > Will it or will it not fail the above test?
> 
> Procmail unfolds folded header lines before comparing, so the 
> regex above should match such a sample header.  The leading 
> "!" would then negate the match, so the message will not be 
> stored in $MAILDIR/rejects (which by the way is redundant; 
> $MAILDIR is by definition the current working directory, so 
> just "rejects" is equivalent).

While Procmail does unfold the headers.  This just means that each
individual element is compressed into one element.  Procmail still honors a
newline character.  Otherwise the ^^, ^, and $, would be meaningless.  The
"." matches any character except a newline.  Both the ^ and $ match a
newline, one for the end or beginning of the search area.

--Larry



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to