On Thu, 5 Feb 2004, Theo Van Dinter wrote:

> On Thu, Feb 05, 2004 at 10:41:10PM -0600, Harry Putnam wrote:
> > hitting.  (first one) Or does the double underscore tell spama to
> > ignore the rule unless its referenced in a meta rule?
>
> Not ignored, but the score is 0 for those rules.  'perldoc
> Mail::SpamAssassin::Conf' may help here. :)

Well, not to be nitpicky, but to be pedandic ;)
If the score were truely 0, the rule would not be run at all.
The score is undefined for double underscore rules, it just
results in the 'defining' of a variable that can be tested in
meta rules. Thus there is no score to list in the reports, only
if a score assigned due to meta-rules that evaluate those
variables.

For testing purposes, prefix those rule names with a 'T' then
they will be assigned a small score (0.01) and show up in reports.
EG:

body T__MY_RULE1  /\bword1/
body T__MY_RULE2  /\bword2/
meta MY_RULE      T__MY_RULE1 && T__MY_RULE2
describe MY_RULE  found match on word1 && word2
score MY_RULE     1.5

Once you're happy with the way that they work, remove the 'T's

-- 
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