On Wed, 2009-02-04 at 11:06 -0500, Bowie Bailey wrote:
> Gary Forrest - Netnorth wrote:

> > meta           _GMF_CNET01 ( __GMF_CNET01_FROM && __GMF_CNET01_TO )
> > score          _GMF_CNET01 200

> 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.  [...]

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

The meta rule has a single underscore prefix, probably to denote local
rules. Though there are better prefixes for that, IMHO. ;)

Anyway, a single underscore isn't a meta-match sub-rule and works as
expected just like any other rule. Yup, I tested this...


-- 
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to