]> git.donarmstrong.com Git - spamassassin_config.git/commitdiff
* Fix MONEY regex
authorDon Armstrong <don@debian.org>
Sat, 13 Oct 2007 20:38:43 +0000 (20:38 +0000)
committerDon Armstrong <don@debian.org>
Sat, 13 Oct 2007 20:38:43 +0000 (20:38 +0000)
 * Use MONEY and FOURLA to determine stock scams
 * Disable WIFE
 * Decrease score of FOURLA

git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@67 0b7a5b0c-1f2c-0410-bd74-c376f8064c91

common/money_spam
common/phrase_spam
common/pron_spam

index 91dd3d4d06f2ed7558ed872d88812c03bd724160..b2390361feb7319693524d1afa448bc01008fc92 100644 (file)
@@ -257,11 +257,11 @@ body DMXC               /Look at D-M-X-C!/
 describe DMXC           stock spam
 score DMXC              4
 
 describe DMXC           stock spam
 score DMXC              4
 
-body MONEY             /(\$\s*[\d\.]+|[\d\.]+\s*(usd|yen|euro|dollar|$))/i
+body MONEY             /(\$\s*[\d\.]+|[\d\.]+\s*(usd|yen|euro|dollar|\$))/i
 describe MONEY         Some amount of money
 score MONEY            1.5
 
 describe MONEY         Some amount of money
 score MONEY            1.5
 
-header SUBJMONEY       subject =~ /(\$\s*[\d\.]+|[\d\.]+\s*(usd|yen|euro|dollar|$))/i
+header SUBJMONEY       subject =~ /(\$\s*[\d\.]+|[\d\.]+\s*(usd|yen|euro|dollar|\$))/i
 describe SUBJMONEY     Some amount of money in subject
 score SUBJMONEY                3
 
 describe SUBJMONEY     Some amount of money in subject
 score SUBJMONEY                3
 
index 8906819644e95cdd3e1aab902739fdb2f85e7345..81cb8853ff21b23103ac16f0341628d532445385 100644 (file)
@@ -1,4 +1,5 @@
-# Added some rules from Rule du Jour that I've been testing for a while
+#
+ Added some rules from Rule du Jour that I've been testing for a while
 
 #Monotone (from airmax.cf)
 body     MONOTONE_WORDS_2_15            /^([a-z]{2,20}[\s\.]+){15}/
 
 #Monotone (from airmax.cf)
 body     MONOTONE_WORDS_2_15            /^([a-z]{2,20}[\s\.]+){15}/
@@ -354,13 +355,9 @@ score WBRS         4
 
 body FOURLA            /\b([A-Z]\s?){4}\b/
 describe FOURLA                Four letter acronym (stock spam?)
 
 body FOURLA            /\b([A-Z]\s?){4}\b/
 describe FOURLA                Four letter acronym (stock spam?)
-score FOURLA           1
+score FOURLA           0.1
 
 
-full WORDMONEY         /^\w+\s*:\s*(?:\$\s*[\d\.]+|[\d\.]+\s*USD)/mi
-describe WORDMONEY     Word Colon Money
-score WORDMONEY                1
-
-meta STOCKLIKE         (FOURLA && WORDMONEY)
+meta STOCKLIKE         (FOURLA && (MONEY || SUBJMONEY))
 describe STOCKLIKE     Four letter acronyms with money; stock scam
 score STOCKLIKE                2
 
 describe STOCKLIKE     Four letter acronyms with money; stock scam
 score STOCKLIKE                2
 
index aa20e5141f8d271048671eaabe43f667fad52733..2b4bc87f8e539e15562f176d1fde7e65b30acbc3 100644 (file)
@@ -187,10 +187,11 @@ body ADULTDVD             /adult\s+dvd/i
 describe ADULTDVD      adult dvd
 score ADULTDVD         3
 
 describe ADULTDVD      adult dvd
 score ADULTDVD         3
 
-# blarson 2005-01-07   2005-01-30 trollwife submits bugs
-body WIFE                      /(?<!troll)wi[fv]e/i
-describe WIFE          wife
-score WIFE             2
+# don 2007-10-13 false positives; commenting out for now
+# # blarson 2005-01-07 2005-01-30 trollwife submits bugs
+# body WIFE            /(?<!troll)wi[fv]e/i
+# describe WIFE                wife
+# score WIFE           2
 
 # blarson 2005-07-10
 header JACKRABBIT      subject =~ /Jack Rabbit Vibrator/i
 
 # blarson 2005-07-10
 header JACKRABBIT      subject =~ /Jack Rabbit Vibrator/i