On Sat, Dec 27, 2003 at 10:50:18AM -0500, Fred
carved this out of pure phosphors:
> 
> Something about this causes it to hit on every message which does not
> contain a X-Originating-IP header.  I think you need a meta test to check if
> that tag exists before checking if it *doesn't* contain that pattern.
> 
Doh. Of course, an empty header doesn't match that rule. I changed it to a
negated character class. here.

header XORIG_IP_NOT_NUMBER      X-Originating-IP =~ /\[[^0-9\.]*]/
describe XORIG_IP_NOT_NUMBER    The X-Originating-IP header is not a number
score XORIG_IP_NOT_NUMBER       0.4



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to