You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by John Hardin <jo...@aproposretail.com> on 2004/02/18 20:27:02 UTC

Additive scoring on a single rule for multiple matches

All:

I've been poking around in the wiki and the list archives but couldn't
find a good answer for this question:

Is it possible to score a single rule additively? That is, the rule's
final score is the sum of the number of times it matched, rather than
simply whether or not it matched?

There are several good applications for this, particularly in relation
to HTML mail. 

For example, it would be fairly simple to write a rule that hits on
invalid HTML tags. However, one or two invalid HTML tags don't indicate
much (a lot of geeks use them in their messages for things like:
<grumble>f'ing Msoft!</grumble>) so the simple presence of an invalid
tag shouldn't affect the spamminess score much (say, 0.05) - however,
having twenty or thirty would be a really *good* indicator of
spamminess.

Is there some way to do this currently?

Is there support for this in CVS?

--
John Hardin  KA7OHZ                           
Internal Systems Administrator/Guru               voice: (425) 672-1304
Apropos Retail Management Systems, Inc.             fax: (425) 672-0192
-----------------------------------------------------------------------
  Failure to plan ahead on someone else's part does not constitute an
  emergency on my part.
                                  - David W. Barts in a.s.r