Did I write that junk below?  Header/body, what is the difference?  Well, I
guess I need to fade into a dark hole before the red flush fades from my
face.  The real dilema now is to go to sleep or wake up.  Hmmm, tough
choice.

Seriously though, I was wrong.  Procmail does convert the folding header
newlines to spaces during regexp processing.  I apologize for my mistake.
Bart is correct with his statements.  Sorry Bart and sorry Dave.

--Larry




-----Original Message-----
From: Larry Gilson 



> -----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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to