You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by ax...@apache.org on 2012/07/18 11:50:50 UTC

svn commit: r1362834 - in /spamassassin/trunk/rulesrc/sandbox/hstern: 20_body_tests.cf 20_head_tests.cf

Author: axb
Date: Wed Jul 18 09:50:50 2012
New Revision: 1362834

URL: http://svn.apache.org/viewvc?rev=1362834&view=rev
Log:
disabled hstern "no hits at all" rules

Modified:
    spamassassin/trunk/rulesrc/sandbox/hstern/20_body_tests.cf
    spamassassin/trunk/rulesrc/sandbox/hstern/20_head_tests.cf

Modified: spamassassin/trunk/rulesrc/sandbox/hstern/20_body_tests.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/hstern/20_body_tests.cf?rev=1362834&r1=1362833&r2=1362834&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/hstern/20_body_tests.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/hstern/20_body_tests.cf Wed Jul 18 09:50:50 2012
@@ -18,9 +18,9 @@
 # The ASF licenses this file to you under the Apache License, Version 2.0
 # (the "License"); you may not use this file except in compliance with
 # the License.  You may obtain a copy of the License at:
-# 
+#
 #     http://www.apache.org/licenses/LICENSE-2.0
-# 
+#
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -30,34 +30,34 @@
 #
 ###########################################################################
 
-body HS_NO_FLOWERS m'no flowers\W{0,5}no gifts'i
-describe HS_NO_FLOWERS Talks about needing no flowers nor gifts
+# body HS_NO_FLOWERS m'no flowers\W{0,5}no gifts'i
+# describe HS_NO_FLOWERS Talks about needing no flowers nor gifts
 ##score HS_NO_FLOWERS 1
 
-body HS_MEETUP_FOR_SEX m'(?:meet ?up|see eachother|get together) for (?:some )?(?:action|sex)'i
-describe HS_MEETUP_FOR_SEX Talks about meeting up for sex.
+# body HS_MEETUP_FOR_SEX m'(?:meet ?up|see eachother|get together) for (?:some )?(?:action|sex)'i
+# describe HS_MEETUP_FOR_SEX Talks about meeting up for sex.
 ##score HS_MEETUP_FOR_SEX 1
 
-body HS_SEXOHOLICS_DATESITE m'date site (?:\w+\s)*for sex[ao]holics'i
-describe HS_SEXOHOLICS_DATESITE Talks about a date site for sexoholics.
+# body HS_SEXOHOLICS_DATESITE m'date site (?:\w+\s)*for sex[ao]holics'i
+# describe HS_SEXOHOLICS_DATESITE Talks about a date site for sexoholics.
 ##score HS_SEXOHOLICS_DATESITE 1
 
-body HS_DRUG_DOLLAR_1 m'^[a-z]+[glrt][a-z]?[eir][a-z]?[asx](?: -|:)? \$[\d.]+$'i
-describe HS_DRUG_DOLLAR_1 Contains a drug and price-like pattern.
+# body HS_DRUG_DOLLAR_1 m'^[a-z]+[glrt][a-z]?[eir][a-z]?[asx](?: -|:)? \$[\d.]+$'i
+# describe HS_DRUG_DOLLAR_1 Contains a drug and price-like pattern.
 ##score HS_DRUG_DOLLAR_1 1
 
-body HS_DRUG_DOLLAR_2 m'^[a-z]+[lmor][a-z]?[aex][a-z]?[mx](?: -|:)? \$[\d.]+$'i
-describe HS_DRUG_DOLLAR_2 Contains a drug and price-like pattern.
+# body HS_DRUG_DOLLAR_2 m'^[a-z]+[lmor][a-z]?[aex][a-z]?[mx](?: -|:)? \$[\d.]+$'i
+# describe HS_DRUG_DOLLAR_2 Contains a drug and price-like pattern.
 ##score HS_DRUG_DOLLAR_2 1
 
-body HS_DRUG_DOLLAR_3 m'^[a-z]+[dino][a-z]?[aimu][a-z]?[amx](?: -|:)? \$[\d.]+$'i
-describe HS_DRUG_DOLLAR_3 Contains a drug and price-like pattern.
+# body HS_DRUG_DOLLAR_3 m'^[a-z]+[dino][a-z]?[aimu][a-z]?[amx](?: -|:)? \$[\d.]+$'i
+# describe HS_DRUG_DOLLAR_3 Contains a drug and price-like pattern.
 ##score HS_DRUG_DOLLAR_3 1
 
-body HS_BODY_UPLOADED_SOFTWARE /^\w+ has uploaded some new software/
-describe HS_BODY_UPLOADED_SOFTWARE Somebody has uploaded some new software for you
+# body HS_BODY_UPLOADED_SOFTWARE /^\w+ has uploaded some new software/
+# describe HS_BODY_UPLOADED_SOFTWARE Somebody has uploaded some new software for you
 ##score HS_BODY_UPLOADED_SOFTWARE 1
 
-body HS_VPXL /\bVPXL\b/i
-describe HS_VPXL Contains VPXL, yet the recommended dose is only 2 tablets.
+# body HS_VPXL /\bVPXL\b/i
+# describe HS_VPXL Contains VPXL, yet the recommended dose is only 2 tablets.
 ##score HS_VPXL 1

Modified: spamassassin/trunk/rulesrc/sandbox/hstern/20_head_tests.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/hstern/20_head_tests.cf?rev=1362834&r1=1362833&r2=1362834&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/hstern/20_head_tests.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/hstern/20_head_tests.cf Wed Jul 18 09:50:50 2012
@@ -7,9 +7,9 @@
 # The ASF licenses this file to you under the Apache License, Version 2.0
 # (the "License"); you may not use this file except in compliance with
 # the License.  You may obtain a copy of the License at:
-# 
+#
 #     http://www.apache.org/licenses/LICENSE-2.0
-# 
+#
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,8 +23,8 @@ header HS_SUBJ_ONLINE_PHARMACEUTICAL Sub
 describe HS_SUBJ_ONLINE_PHARMACEUTICAL Subject contains the phrase 'Online pharmaceutical'
 ##score HS_SUBJ_ONLINE_PHARMACEUTICAL 1
 
-header HS_SUBJ_NEW_SOFTWARE Subject =~ /^New software uploaded by/
-describe HS_SUBJ_NEW_SOFTWARE Subject starts with 'New software uploaded by'
+# header HS_SUBJ_NEW_SOFTWARE Subject =~ /^New software uploaded by/
+# describe HS_SUBJ_NEW_SOFTWARE Subject starts with 'New software uploaded by'
 ##score HS_SUBJ_NEW_SOFTWARE 2.0
 
 
@@ -38,8 +38,8 @@ describe HS_SUBJ_NEW_SOFTWARE Subject st
 # Message-Id: <13...@OZPK>
 # Message-Id: <62...@FGHO>
 # Message-Id: <28...@BUJC>
-header HS_BOBAX_MID_1 Message-Id =~ /^<\d{4}D\d{3}\.\d{6}\.\d{5}\@[A-Z]{4}>/
-describe HS_BOBAX_MID_1 Bobax? Message-Id: <00...@AAAA>
+# header HS_BOBAX_MID_1 Message-Id =~ /^<\d{4}D\d{3}\.\d{6}\.\d{5}\@[A-Z]{4}>/
+# describe HS_BOBAX_MID_1 Bobax? Message-Id: <00...@AAAA>
 ##score HS_BOBAX_MID_1 1
 
 # The idea for this rule was borrowed from Emerging Threats, but I clean
@@ -50,8 +50,8 @@ describe HS_BOBAX_MID_1 Bobax? Message-I
 # Message-Id: <6I...@ibiblio.org>
 # Message-Id: <5I...@nationalgeographic.com>
 # Message-Id: <6I...@greenflame.org>
-header HS_BOBAX_MID_2 Message-Id =~ /^<\dIX\d{3}EJXVWDA\d{3}\@[a-z\-]+\.[a-z]+>/
-describe HS_BOBAX_MID_2 Bobax? Message-Id: <0I...@example.com>
+# header HS_BOBAX_MID_2 Message-Id =~ /^<\dIX\d{3}EJXVWDA\d{3}\@[a-z\-]+\.[a-z]+>/
+# describe HS_BOBAX_MID_2 Bobax? Message-Id: <0I...@example.com>
 ##score HS_BOBAX_MID_2 1
 
 # Joe Stewart pointed this one out to Justin.
@@ -60,7 +60,7 @@ describe HS_BOBAX_MID_2 Bobax? Message-I
 # Message-ID: 1f2bf01c899ad$1afd9f00$3d4e48be@cruz
 # Message-ID: 3bc4a01c899ae$8fb6a4d0$4201a8c0@McGinty
 # Message-ID: 1130501c899b0$00bb2e20$2f01a8c0@yourf78bf48ce2
-header HS_OUTLOOK_MID_NOBRK Message-ID =~ /^[a-f0-9]{12,13}(?:\$[a-f0-9]{8}){2}\@[A-Za-z0-9]+$/
-describe HS_OUTLOOK_MID_NOBRK Outlook-esque message ID with no brackets.
+# header HS_OUTLOOK_MID_NOBRK Message-ID =~ /^[a-f0-9]{12,13}(?:\$[a-f0-9]{8}){2}\@[A-Za-z0-9]+$/
+# describe HS_OUTLOOK_MID_NOBRK Outlook-esque message ID with no brackets.
 ## score HS_OUTLOOK_MID_NOBRK 1