You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by hs...@apache.org on 2006/01/21 13:27:38 UTC
svn commit: r371021 - in /spamassassin/rules/trunk/sandbox/hstern:
20_head_tests.cf 20_uri_tests.cf
Author: hstern
Date: Sat Jan 21 04:27:34 2006
New Revision: 371021
URL: http://svn.apache.org/viewcvs?rev=371021&view=rev
Log:
* 20_head_tests.cf
* 20_uri_tests.cf
Added scores for unscored rules (all scores=1 for now).
Modified:
spamassassin/rules/trunk/sandbox/hstern/20_head_tests.cf
spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf
Modified: spamassassin/rules/trunk/sandbox/hstern/20_head_tests.cf
URL: http://svn.apache.org/viewcvs/spamassassin/rules/trunk/sandbox/hstern/20_head_tests.cf?rev=371021&r1=371020&r2=371021&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/hstern/20_head_tests.cf (original)
+++ spamassassin/rules/trunk/sandbox/hstern/20_head_tests.cf Sat Jan 21 04:27:34 2006
@@ -19,3 +19,4 @@
###########################################################################
header HS_SUBJ_ONLINE_PHARMACEUTICAL Subject =~ /\bOnline Pharmaceutical/i
+score HS_SUBJ_ONLINE_PHARMACEUTICAL 1
Modified: spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf
URL: http://svn.apache.org/viewcvs/spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf?rev=371021&r1=371020&r2=371021&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf (original)
+++ spamassassin/rules/trunk/sandbox/hstern/20_uri_tests.cf Sat Jan 21 04:27:34 2006
@@ -62,9 +62,12 @@
uri HS_EXTRA m'/extra(?:$|[/\#?])'
describe HS_EXTRA Link contains common spam pattern: '/extra/'
+score HS_EXTRA 1
uri HS_GETMEOFF m'/get(?:me)?off\.php(?:$|[\#?])'
describe HS_GETMEOFF Links to common unsubscribe script: 'getmeoff.php'
+score HS_GETMEOFF 1
uri HS_INDEX_PARAM m'https?:/*([^/]*/)+(?:index.(?:cgi|html?|php)|default.(?:asp|jsp))?\?[^=]+$'i
describe HS_INDEX_PARAM Link contains a common tracker pattern.
+score HS_INDEX_PARAM 1