On Fri, 7 Nov 2003, Justin Mason wrote:

> BTW, SpamAssassin originally started with accumulating rules.  But I took
> it out, as it meant a long hammy mail had a much higher chance of FP'ing,
> due to containing more text.
> 
> I'd be worried that accumulating hits would reintroduce the same
> problem...

Rather than give a rule a score and accumulate the score each time it
hits, have a META rule that accumulates the number of matches on the
regex, and then scoring rules for "more than N hits on the META rule".
Thus the score for that one regex doesn't grow with longer messages, but
the possibility of scoring grows.



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to