Hi Dave,

> -----Original Message-----
> From: Dave Stern - Former Rocket Scientist 

You are funny!


> If a user has a procmailrc that tests for user in whitelist ie
> 
> :0:
> * !^X-Spam-Status:.*USER_IN_WHITELIST
> $MAILDIR/rejects
> 
> And if further such a header does exist but is a wraparound 
> line ie the USER_IN_WHITELIST is not in the initial 80 or so
> characters ie
> 
> 
> 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?

If it really is a wrap line, I would think it should fail.


> If indeed the fact that it's a wrap-line negates the above 
> test from working, is there another way to filter? (I suppose I
> could do a test that has USER_IN_WHITELIST anywhere in the headers
> or body...)

How about the following (hope it is right):

EOL = "
"

:0:
* !^X-Spam-Status:(.*$EOL)*.*USER_IN_WHITELIST
$MAILDIR/rejects

Anchor X-Spam-Status:, then zero or more matches of anything to the
end-of-line, then anything to USER_IN_WHITELIST.  At least this way it would
be found close to the X-Spam-Status anchor.

Let me know if this works or if I am out in space on this.


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