You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by qu...@apache.org on 2004/05/20 20:11:29 UTC
svn commit: rev 20168 - incubator/spamassassin/trunk/rules
Author: quinlan
Date: Thu May 20 11:11:29 2004
New Revision: 20168
Modified:
incubator/spamassassin/trunk/rules/20_phrases.cf
incubator/spamassassin/trunk/rules/70_testing.cf
Log:
new version of OBSCURED_EMAIL
Modified: incubator/spamassassin/trunk/rules/20_phrases.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/20_phrases.cf (original)
+++ incubator/spamassassin/trunk/rules/20_phrases.cf Thu May 20 11:11:29 2004
@@ -625,8 +625,8 @@
body EARN_MONEY /\b(?:earn|make|making|made|received?|discounted)\s+(?:up\s+to|as\s+much\s+as|over|at\s+least|a\s+full)?\s*\$\s*[0-9,]{2}/i
describe EARN_MONEY Message talks about earning money
-body OBSCURED_EMAIL /^\w+\^\S+\(\w{2,3}\b/m
-describe OBSCURED_EMAIL Message seems to contain rot13ed address
+body OBSCURED_EMAIL /\w+\^\S+\(\w{2,4}\b/
+describe OBSCURED_EMAIL Message seems to contain rot13ed address
body OUR_AFFILIATE_PARTNERS /our affiliate partners/i
describe OUR_AFFILIATE_PARTNERS Mentions their affiliate partners
Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf (original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf Thu May 20 11:11:29 2004
@@ -166,20 +166,6 @@
header T_MANY_MX_7 From:addr =~ /\@\w\d+\..{1,30}\./i
header T_MANY_MX_8 From:addr =~ /\@\w\d+/i
-# hmmm... body doesn't seem to work for these
-rawbody T_OBSCURED_EMAIL_3 /^\w+\^\S+\(\w{2,3}\b/m
-rawbody T_OBSCURED_EMAIL_4 /^\s*\w+\^\S+\(\w{2,3}\b/m
-rawbody T_OBSCURED_EMAIL_5 /^\s?\w+\^\S+\(\w{2,3}\b/m
-# so try looking anywhere on the line
-body T_OBSCURED_EMAIL_6 /\w+\^\S+\(\w{2,3}\b/m
-body T_OBSCURED_EMAIL_7 /\w+\^\S+\(\w{2,4}\b/m
-rawbody T_OBSCURED_EMAIL_8 /\w+\^\S+\(\w{2,3}\b/m
-rawbody T_OBSCURED_EMAIL_9 /\w+\^\S+\(\w{2,4}\b/m
-# test these for completeness
-uri T_OBSCURED_EMAIL_10 /^\w+\^\S+\(\w{2,3}\b/m
-uri T_OBSCURED_EMAIL_11 /^\s*\w+\^\S+\(\w{2,3}\b/m
-uri T_OBSCURED_EMAIL_12 /^\s?\w+\^\S+\(\w{2,3}\b/m
-
# another spin
body T_TRACKER_ID_6 /[a-z0-9]{6,24}[-_a-z0-9]{12,36}[a-z0-9]{6,24}\s*\z/is
body T_TRACKER_ID_7 /\b[a-z0-9]{6,24}[-_a-z0-9]{12,36}[a-z0-9]{6,24}\s*\z/is