X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fmoney_spam;h=1443423a5b361248e9887367deb4c14b7d2bea86;hb=e437ff320c729d20c68dcc79af5ee3a385ea7b86;hp=9cf8ca75460d8edc833d1b23d41897f905b2717d;hpb=3ad683d53614598181bb596413634208d45db2ba;p=spamassassin_config.git 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