]> git.donarmstrong.com Git - spamassassin_config.git/blobdiff - common/money_spam
tweak the shipping id rules
[spamassassin_config.git] / common / money_spam
index 769c1503f4cfa01248840a8821651db35d48d21e..7a7b4786be5e32df42ae0eec96e5b515beef64ae 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: spamassassin -*-
 # Spam dealing with selling stuff, stocks, etc. is matched by these
 # rules
 
@@ -261,7 +262,8 @@ body MONEY          /((usd|yen|eur?o?|dollar|\$)\s*\d[\d\.\,]+|\d[\d\.\,]+\s*(usd|yen|eu
 describe MONEY         Some amount of money in body
 score MONEY            0.5
 
-header SUBJMONEY       subject =~ /((usd|yen|eur?o?|dollar|\$)\s*[\d\.\, ]+|[\d\.\, ]+\s*(usd|yen|eur?o?|dollar|\$))/i
+# don 2015-01-11 (tweaking rule slightly; must contain at least one digit to be money
+header SUBJMONEY       subject =~ /((usd|yen|eur?o?|dollar|\$)(?:[\d\.\, ]*\d[\d\.\, ]*)|(?:[\d\.\, ]*\d[\d\.\, ]*)(usd|yen|eur?o?|dollar|\$))/i
 describe SUBJMONEY     Some amount of money in subject
 score SUBJMONEY                3
 
@@ -284,7 +286,7 @@ describe OPORTUNI   Oportunidade de Emprego
 score OPORTUNI         3.5
 
 # blarson 2007-12-10
-header WATCHES         subject =~ /\b(?:watches|time\s*piece|Replica|aRolex|Cartier|Omega)\b/i
+header WATCHES         subject =~ /\b(?:watches|time\s*piece|aRolex|Cartier|Omega)\b/i
 describe WATCHES       watches
 score WATCHES          2
 
@@ -332,3 +334,19 @@ full CREDIT                /\[ck]redit\b/
 describe CREDIT                credit spam
 score CREDIT           2
 
+# cord 2008-12-05
+full LEASING           /\bleasing\b/
+describe LEASING       leasing spam
+score LEASING          2
+
+# formorer 2010-01-23
+header LOTTERY         from =~ /\blottery\b/i
+describe LOTTERY       lottery spam
+score LOTTERY          2
+
+# formorer 2016-08-10
+header SEO             subject =~ /\bSEO\b/i
+describe SEO           SEO spam
+score SEO              2
+
+