From: Don Armstrong Date: Sun, 11 Jan 2015 20:44:43 +0000 (+0000) Subject: Summary: change SUBJMONEY to actually require some digits in the money X-Git-Url: https://git.donarmstrong.com/?p=spamassassin_config.git;a=commitdiff_plain;h=1dfbc64ec9c60b2cfbc0e66c3caeb037ff3cc390 Summary: change SUBJMONEY to actually require some digits in the money git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@452 0b7a5b0c-1f2c-0410-bd74-c376f8064c91 --- diff --git a/common/money_spam b/common/money_spam index 9cf8ca7..1443423 100644 --- a/common/money_spam +++ b/common/money_spam @@ -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