Gary Forrest - Netnorth wrote:
> 
> So we have the following custom rule
> 
> describe       _GMF_CNET01 blacklist 
> sili...@newsletters.silicon.cneteu.net to caro...@netnorth.co.uk
> header          __GMF_CNET01_FROM From =~
> /silic...@newsletters\.silicon\.cneteu\.net/i
> header          __GMF_CNET01_TO To =~ /carol...@netnorth\.co\.uk/i
> meta           _GMF_CNET01 ( __GMF_CNET01_FROM && __GMF_CNET01_TO )
> score          _GMF_CNET01 200
> 
> Running, spamassassin -D --lint, shows no errors / warnings
> 
> Doing a hand telnet to one of our AVS scanners, the above rule
> appears not to be referenced.
> The email always get a very low score ( -100 )
> Within the email headers there is a reference to  ' USER_IN_WHITELIST
> ' , but no reference to ' _GMF_CNET01 '
> 
> As far as we can see the rule is correct.

The problem is the way you named the rule.

>From the Mail::SpamAssassin::Conf man page:

     Note that test names which begin with '__' are reserved for
     meta-match sub-rules, and are not scored or listed in the 'tests
     hit' reports.  Test names which begin with 'T_' are reserved for
     tests which are undergoing QA, and these are given a very low
     score.

So drop the '__' at the beginning of the meta rule name and it should
act as expected.

-- 
Bowie

Reply via email to