You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/02/27 03:42:14 UTC

svn commit: rev 6894 - incubator/spamassassin/trunk/rules

Author: felicity
Date: Thu Feb 26 18:42:12 2004
New Revision: 6894

Modified:
   incubator/spamassassin/trunk/rules/20_html_tests.cf
   incubator/spamassassin/trunk/rules/50_scores.cf
   incubator/spamassassin/trunk/rules/70_testing.cf
Log:
remove scores for rules that don't exist, shorten some rule names to fit convention...

Modified: incubator/spamassassin/trunk/rules/20_html_tests.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/20_html_tests.cf	(original)
+++ incubator/spamassassin/trunk/rules/20_html_tests.cf	Thu Feb 26 18:42:12 2004
@@ -216,26 +216,26 @@
 describe HTML_LINK_CLICK_CAPS	HTML link text says "CLICK"
 
 # HTML obfuscation
-body HTML_OBFUSCATION_00_10	eval:html_range('obfuscation_ratio','.0','.1')
-body HTML_OBFUSCATION_10_20	eval:html_range('obfuscation_ratio','.1','.2')
-body HTML_OBFUSCATION_20_30	eval:html_range('obfuscation_ratio','.2','.3')
-body HTML_OBFUSCATION_30_40	eval:html_range('obfuscation_ratio','.3','.4')
-body HTML_OBFUSCATION_40_50	eval:html_range('obfuscation_ratio','.4','.5')
-body HTML_OBFUSCATION_50_60	eval:html_range('obfuscation_ratio','.5','.6')
-body HTML_OBFUSCATION_60_70	eval:html_range('obfuscation_ratio','.6','.7')
-body HTML_OBFUSCATION_70_80	eval:html_range('obfuscation_ratio','.7','.8')
-body HTML_OBFUSCATION_80_90	eval:html_range('obfuscation_ratio','.8','.9')
-body HTML_OBFUSCATION_90_100	eval:html_range('obfuscation_ratio','.9','1.0')
-describe HTML_OBFUSCATION_00_10		Message is 0% to 10% HTML obfuscation
-describe HTML_OBFUSCATION_10_20		Message is 10% to 20% HTML obfuscation
-describe HTML_OBFUSCATION_20_30		Message is 20% to 30% HTML obfuscation
-describe HTML_OBFUSCATION_30_40		Message is 30% to 40% HTML obfuscation
-describe HTML_OBFUSCATION_40_50		Message is 40% to 50% HTML obfuscation
-describe HTML_OBFUSCATION_50_60		Message is 50% to 60% HTML obfuscation
-describe HTML_OBFUSCATION_60_70		Message is 60% to 70% HTML obfuscation
-describe HTML_OBFUSCATION_70_80		Message is 70% to 80% HTML obfuscation
-describe HTML_OBFUSCATION_80_90		Message is 80% to 90% HTML obfuscation
-describe HTML_OBFUSCATION_90_100	Message is 90% to 100% HTML obfuscation
+body HTML_OBFUSCATE_00_10	eval:html_range('obfuscation_ratio','.0','.1')
+body HTML_OBFUSCATE_10_20	eval:html_range('obfuscation_ratio','.1','.2')
+body HTML_OBFUSCATE_20_30	eval:html_range('obfuscation_ratio','.2','.3')
+body HTML_OBFUSCATE_30_40	eval:html_range('obfuscation_ratio','.3','.4')
+body HTML_OBFUSCATE_40_50	eval:html_range('obfuscation_ratio','.4','.5')
+body HTML_OBFUSCATE_50_60	eval:html_range('obfuscation_ratio','.5','.6')
+body HTML_OBFUSCATE_60_70	eval:html_range('obfuscation_ratio','.6','.7')
+body HTML_OBFUSCATE_70_80	eval:html_range('obfuscation_ratio','.7','.8')
+body HTML_OBFUSCATE_80_90	eval:html_range('obfuscation_ratio','.8','.9')
+body HTML_OBFUSCATE_90_100	eval:html_range('obfuscation_ratio','.9','1.0')
+describe HTML_OBFUSCATE_00_10		Message is 0% to 10% HTML obfuscation
+describe HTML_OBFUSCATE_10_20		Message is 10% to 20% HTML obfuscation
+describe HTML_OBFUSCATE_20_30		Message is 20% to 30% HTML obfuscation
+describe HTML_OBFUSCATE_30_40		Message is 30% to 40% HTML obfuscation
+describe HTML_OBFUSCATE_40_50		Message is 40% to 50% HTML obfuscation
+describe HTML_OBFUSCATE_50_60		Message is 50% to 60% HTML obfuscation
+describe HTML_OBFUSCATE_60_70		Message is 60% to 70% HTML obfuscation
+describe HTML_OBFUSCATE_70_80		Message is 70% to 80% HTML obfuscation
+describe HTML_OBFUSCATE_80_90		Message is 80% to 90% HTML obfuscation
+describe HTML_OBFUSCATE_90_100	Message is 90% to 100% HTML obfuscation
 
 # many spammers seem to do this nowadays (and probably track
 # their customers with it).  (contrib: WW)
@@ -275,14 +275,14 @@
 body HTML_TAG_BALANCE_TABLE	eval:html_tag_balance('table', '> 0')
 describe HTML_TAG_BALANCE_TABLE	HTML is missing "table" close tags
 
-body HTML_TAG_EXISTS_MARQUEE	eval:html_tag_exists('marquee')
-describe HTML_TAG_EXISTS_MARQUEE	HTML has "marquee" tag
+body HTML_TAG_EXIST_MARQUEE	eval:html_tag_exists('marquee')
+describe HTML_TAG_EXIST_MARQUEE	HTML has "marquee" tag
 
-body HTML_TAG_EXISTS_PARAM	eval:html_tag_exists('param')
-describe HTML_TAG_EXISTS_PARAM	HTML has "param" tag
+body HTML_TAG_EXIST_PARAM	eval:html_tag_exists('param')
+describe HTML_TAG_EXIST_PARAM	HTML has "param" tag
 
-body HTML_TAG_EXISTS_TBODY	eval:html_tag_exists('tbody')
-describe HTML_TAG_EXISTS_TBODY	HTML has "tbody" tag
+body HTML_TAG_EXIST_TBODY	eval:html_tag_exists('tbody')
+describe HTML_TAG_EXIST_TBODY	HTML has "tbody" tag
 
 # percentage of tags that are not legal elements in HTML
 body HTML_BADTAG_00_10	eval:html_range('bad_tag_ratio','0.00','0.10')

Modified: incubator/spamassassin/trunk/rules/50_scores.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/50_scores.cf	(original)
+++ incubator/spamassassin/trunk/rules/50_scores.cf	Thu Feb 26 18:42:12 2004
@@ -104,8 +104,6 @@
 score ADDR_FREE 1.506 1.804 2.596 2.599
 score ADDR_NUMS_AT_BIGSITE 1.044 0.724 1.087 2.699
 score ADULT_SITE 0.226 0.242 0.001 2.299
-score ADVERT_CODE 2.899 1.578 2.633 1.817
-score ADVERT_CODE2 2.299 2.098 2.097 1.999
 score ALL_CAP_PORN 0.650 0.669 0.001 0.001
 score ALL_NATURAL 0.661 1.325 1.001 2.402
 score AMAZING_STUFF 2.008 2.596 1.279 1.854
@@ -178,7 +176,6 @@
 score EXCUSE_REMOVE 0.879 0.501 0.903 1.000
 score EXTRA_CASH 0.853 2.497 0.001 0.111
 score EXTRA_MPART_TYPE 1.116 0.001 0.001 0.001
-score FAKED_HOTMAIL_DAV 2.376 2.630 2.851 3.939
 score FAKE_HELO_AOL 1.916 1.875 1.788 2.354
 score FAKE_HELO_HOTMAIL 1.172 0.001 2.335 1.499
 score FAKE_HELO_LYCOS 2.900 2.800 2.800 1.355
@@ -210,7 +207,6 @@
 score FORGED_YAHOO_RCVD 0.375 0.477 1.181 0.901
 score FOR_FREE 0.927 0.694 0.781 0.592
 score FREE_ACCESS 2.533 2.696 0.209 2.378
-score FREE_CONSULTATION 1.566 1.170 0.001 0.711
 score FREE_GRANT 1.886 1.988 0.001 2.552
 score FREE_MEMBERSHIP 2.163 2.624 0.001 1.148
 score FREE_PORN 1.352 2.397 0.700 2.699
@@ -289,7 +285,6 @@
 score HTML_TAG_BALANCE_BODY 0.353 0.257 0.233 0.001
 score HTML_TAG_BALANCE_HTML 0.671 0.411 0.099 0.001
 score HTML_TAG_BALANCE_TABLE 0.667 0.196 0.154 0.001
-score HTML_TAG_EXISTS_TBODY 0.132 0.100 0.047 0.001
 score HTML_TITLE_EMPTY 0.449 0.544 0.200 0.119
 score HTML_TITLE_UNTITLED 0.501 0.699 0.360 0.430
 score HTML_WEB_BUGS 1.116 0.587 0.279 0.336
@@ -358,7 +353,6 @@
 score MSGID_NO_HOST 0.381 1.278 2.397 1.103
 score MUST_BE_18 1.920 1.979 2.497 2.117
 score NASTY_GIRLS 1.947 1.381 0.001 0.001
-score NEW_DOMAIN_EXTENSIONS 2.199 1.999 1.552 2.199
 score NIGERIAN_BODY1 3.009 1.563 2.696 2.018
 score NIGERIAN_BODY2 0.700 0.717 0.858 0.700
 score NIGERIAN_BODY3 0.700 1.006 0.972 0.738
@@ -604,7 +598,6 @@
 score ONCE_IN_LIFETIME 0.001
 score HTML_SHOUTING4 0.001 0.309 0.001 0.001
 score THIS_IS_AN_AD 2.900 0.001 0.001 0.001
-score HTML_TAG_EXISTS_BASE 0.001
 score WWW_CLIK4YOU_COM 0.001
 score NO_MEDICAL 0.001
 score FAKE_HELO_MAILCITY 2.287 2.800 1.309 0.001
@@ -676,7 +669,6 @@
 score BTAMAIL_HEADER 2.900 0.001 0.001 0.001
 score E_MAILPROMO_URL 0.001
 score HTML_WIN_OPEN 0.001
-score HTML_TAG_EXISTS_PARAM 0.001
 score AZOOGLE 2.900 0.001 2.800 0.001
 score TO_NO_USER 1.662 1.498 1.597 0.001
 score HTML_FONTCOLOR_YELLOW 0.001
@@ -770,7 +762,6 @@
 score OPPORTUNITY_2 0.001
 score MURKOWSKI_CRUFT 0.001
 score HTML_EVENT 0.001
-score URI_HITBOX 0.001 2.425 0.001 0.001
 score UNSUB_PAGE 0.001
 score SMTPD_IN_RCVD 0.001
 score HTML_00_10 0.001
@@ -854,7 +845,6 @@
 score RCVD_IN_BL_SPAMCOP_NET 0 2.25 0 1.50
 score RCVD_IN_BSP_OTHER 0 -0.1 0 -0.1
 score RCVD_IN_BSP_TRUSTED  0 -4.3 0 -4.3
-score RCVD_IN_CBL 0 1.10 0 1.10
 score RCVD_IN_DSBL 0 1.101 0 0.706
 score RCVD_IN_NJABL_CGI 0 0.1  0.1
 score RCVD_IN_NJABL_DIALUP 0 0.625 0 3.636
@@ -876,7 +866,6 @@
 score RCVD_IN_SORBS_MISC 0 1.201 0 1.304
 score RCVD_IN_SORBS_SMTP 0 1.201 0 0.787
 score RCVD_IN_SORBS_SOCKS 0 1.622 0 2.8
-#score RCVD_IN_SORBS_SPAM 0 0.001 0 0.001
 score RCVD_IN_SORBS_WEB 0 2.9 0 0.1
 score RCVD_IN_SORBS_ZOMBIE 0 2.696 0 2.699
 score RCVD_IN_XBL 0 1.0 0 1.0
@@ -897,7 +886,6 @@
 # in our testing, we found the accuracy to be quite low (hits 5.2%
 # of spam, but 0.6% of non-spam).
 
-score RCVD_IN_SORBS_SPAM 0
 
 #
 # User Configured Tests

Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf	(original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf	Thu Feb 26 18:42:12 2004
@@ -216,7 +216,7 @@
 uri T_AOL_REDIR_2	m{^https?://www\.aol\.com/ams/}i
 uri T_AOL_REDIR_3	m{^https?://www\.aol\.com/.*https?://}i
 uri T_AOL_REDIR_4	m{^https?://www\.aol\.com/ams/.*https?://}i
-describe T_AOL_REDIR	Has AOL Redirect URI
+#describe T_AOL_REDIR	Has AOL Redirect URI
 
 # more portable replacement for RCVD_NUMERIC_HELO that doesn't rely on
 # Received headers using "helo=" prefix