Arrgh, I failed to hit send on this last night.  I've had to modify a
few of the stock rules.  Here they are:

# Less restrictive
body DEAR_SOMEBODY              /^Dear /

# add fax, allow more space before the phone number
body CALL_FREE                  
/(?:call|dial|fax).{1,40}8(?:00|88|77|66|55|44|33|22)[\s-][\dA-Z]+[\s-]?[\dA-Z]+/i

# generalized the excuse a bit
body EXCUSE_18                  /(?:does not|do not|never) (?:spam|sen[dt] 
unsolicited)/i

# works with bgcolors by name (eg bgcolor=red)
rawbody HTML_WITH_BGCOLOR       /<body .*bgcolor[=3d\"\'\#]+[^wf]/i

# this isn't a great way to express this rule but the [:lower:] pattern
# is a perl-5.6-ism and I'm usin 5.005.  SA should either `require 5.6'
# or not ship with 5.6 locale based rules.  As it stands, under 5.005
# the SUBJ_ALL_CAPS rule gets many false positives.
header SUBJ_ALL_CAPS          Subject =~ /[A-Z0-9 -_.]{10,}/

-- 
Ben Jackson
<[EMAIL PROTECTED]>
http://www.ben.com/

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to