https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8277
Bug ID: 8277 Summary: LOTS_OF_MONEY (__LOTSA_MONEY_02) incorrectly fires on ham containing invoice number followed by a small invoice amount Product: Spamassassin Version: SVN Trunk (Latest Devel Version) Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Rules Assignee: dev@spamassassin.apache.org Reporter: smok...@softpixel.com Target Milestone: Undefined Created attachment 5963 --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5963&action=edit proposed patch (against svn trunk) The following body text... Bill #75926195284 $12.94 ...causes the LOTS_OF_MONEY rule to fire. It fires because the __LOTSA_MONEY_02 regex matches the substring "75926195284 $". The number 75926195284 would indeed be a lot of money, but that number doesn't represent an amount of money, it represents an invoice number. The actual invoice amount is for $12.94, which is not a lot of money. This rule could perhaps be improved by looking at more of the context --- perhaps add a negative match for the pound sign at the beginning of the invoice number, something like the attached patch? -- You are receiving this mail because: You are the assignee for the bug.