spamassassin-users December 2011 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: DNSWL was re-enabled

Re: DNSWL was re-enabled

From: Karsten Bräckelmann <guenther_at_nospam>
Date: Mon Dec 26 2011 - 11:39:45 GMT

> score __RCVD_IN_DNSWL 0

It is a non-scoring "double underscore" sub-rule. It does not have a
score. It cannot have a score. Setting its score to zero does nothing,
and certainly not prevent the DNS query.

Instead, you need to meta out the rule, overwriting the rule definition.

And frankly, disabling a rule by logically making it never hit is the
better approach anyway. Just re-define rules to disable them:

  meta FOO 0

> That last one is really important, because without it, you'll still stop
> getting hits on the dnswl rules, but you'll still be sending queries to
> dnswl. I'm hoping that'll get fixed.

There is nothing to be fixed. There is no problem.

-- char *t="\10pse\0r\0dtu\0.@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; }}}