* Make the money rules more powerful
authorDon Armstrong <don@debian.org>
Mon, 29 Oct 2007 07:31:45 +0000 (07:31 +0000)
committerDon Armstrong <don@debian.org>
Mon, 29 Oct 2007 07:31:45 +0000 (07:31 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@88 0b7a5b0c-1f2c-0410-bd74-c376f8064c91

common/money_spam

index 04b8599..2f08e10 100644 (file)
@@ -257,11 +257,11 @@ body DMXC               /Look at D-M-X-C!/
 describe DMXC           stock spam
 score DMXC              4
 
-body MONEY             /(\$\s*[\d\.]+|[\d\.]+\s*(usd|yen|euro|dollar|\$))/i
-describe MONEY         Some amount of money
+body MONEY             /((usd|yen|eur?o?|dollar|\$)\s*[\d\.\, ]+|[\d\.\, ]+\s*(usd|yen|eur?o?|dollar|\$))/i
+describe MONEY         Some amount of money in body
 score MONEY            1.5
 
-header SUBJMONEY       subject =~ /(\$\s*[\d\.]+|[\d\.]+\s*(usd|yen|euro|dollar|\$))/i
+header SUBJMONEY       subject =~ /((usd|yen|eur?o?|dollar|\$)\s*[\d\.\, ]+|[\d\.\, ]+\s*(usd|yen|eur?o?|dollar|\$))/i
 describe SUBJMONEY     Some amount of money in subject
 score SUBJMONEY                3