On Thu, 2009-02-19 at 14:50 +0000, Nigel Frankcom wrote: > Using --lint the rule come back clean but on testing it appears to be > ignored. It's in the spamassassin directory. > > Am I missing something stupid? (Wouldn't be the 1st time)
You're missing a lot of details. How do you test your rules? Try using the -D debugging, to see if the sub-rules actually hit. No sample, so we can't tell if your rules are correct. > header __NFheader ALL =~ /live\.com/i > score __NFheader 0.1 Meta-match sub-rules don't score. > uri __NFuri /www\.google\.com\/groups\// > score __NFuri 0.1 > meta NFheader_Details (__NFheader && __NFuri) > describe NFheader_Details live dot com spam > score NFheader_Details 5.0 -- 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; }}}