You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/06/04 08:42:07 UTC
[Bug 4349] Add Count or Multiply scoring facility
http://bugzilla.spamassassin.org/show_bug.cgi?id=4349
------- Additional Comments From matt@nightrealms.com 2005-06-03 23:42 -------
meta rules can do numerical comparisons and math, we could make rule types
specifically for counting, then store occurence count in
$perMsgStatus->{'tests_already_hit'} instead of true/false. Something like this:
count_body __COUNT_FOOBAR /foobar/i
meta FOOBAR00 ((__COUNT_FOOBAR > 1) && (__COUNT_FOOBAR < 10))
meta FOOBAR10 ((__COUNT_FOOBAR >= 10) && (__COUNT_FOOBAR < 20))
meta FOOBAR20 (__COUN_FOOBAR >= 20)
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.