On Mon, 22 Feb 2010, RW wrote:

> On Mon, 22 Feb 2010 08:05:10 -0800 (PST)
> John Hardin <jhar...@impsec.org> wrote:
>
> > On Mon, 22 Feb 2010, RW wrote:
> >
> > > Why does T_FROM_MISSPACED score 0.0, when it's score isn't defined?
> >
> > Rounding. The actual defined score is 0.01, so it rounds down when
> > reported.
>
> but where is it defined? greping under /var/db/spamassassin for
> T_FROM_MISSPACED doesn't find a score line.

SA has some special rule naming conventions.

Rules that begin with the letters "T_" (EG T_FROM_MISSPACED) are so called
testing rules and automagically assigned a score of 0.01 (enough to show
up in the report but not enough to cause false positives in case they're
not right). The idea is that once the author is happy with the way the
rule works it's name will be changed (remove the 'T_') and a proper score
assigned.

The other special rule name is the hidden rule, one that starts with "__".
Those rules are assigned a score of 0 but do run regardless and aren't
reported in the scoring report. The intention there is that they're used
to form meta-rules when you need to combine a number of factors and only
want the final result to score/report.
When developing hidden rules it's easy to make them visable for debugging
purposes, mearly prepend a 'T' to the name which turns them into visible
testing rules.

-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to