]> git.donarmstrong.com Git - spamassassin_config.git/blobdiff - common/money_spam
tweak the shipping id rules
[spamassassin_config.git] / common / money_spam
index a09ec05b8da0b7f73b8a6b0fab341892a4c76257..7a7b4786be5e32df42ae0eec96e5b515beef64ae 100644 (file)
@@ -262,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
 
@@ -285,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
 
@@ -337,3 +338,15 @@ score CREDIT               2
 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
+
+