Charles Sprickman wrote:
> I'm a bit stumped on this one.
>
> We recently got notice that we have too much volume to continue using
> spamhaus queries, and the quote for our rather small userbase was near
> what we'd pay for outsourcing all of our spam filtering anyhow...
>
> That said, setting the scores to "0" is supposed to disable them, right?
>
> # remove spamhaus tests
> score RCVD_IN_ZEN 0
> score RCVD_IN_XBL 0
> score RCVD_IN_PBL 0
> score RCVD_IN_SBL 0
> score URIBL_SBL 0
For "set of lists in one lookup" type RBLs you need to disable the
unscored base rule if you want to disable the DNS query.

Those scored rules are just tests against a result from the base rule,
so while you've disabled them, they don't cause the DNS lookup.

All the spamhaus based RCVD_IN_*  rules will have their query  disabled by:

score    __RCVD_IN_ZEN 0

This makes sense if you look at how the rule is set up in 20_dnsbl_tests.cf:

http://svn.apache.org/repos/asf/spamassassin/branches/3.2/rules/20_dnsbl_tests.cf

The URIBL_SBL one is adequate as-is.

>
> Running spamassassin in debug mode however:
>
> r...@spamd1[/usr/local/etc/mail/spamassassin]# spamassassin -D 2>&1 <
> dialup-nospam.txt | grep -i spamhaus
> [3816] dbg: dns: checking RBL zen.spamhaus.org., set zen
> [3816] dbg: dns: launching DNS A query for
> 2.59.48.64.zen.spamhaus.org. in background
> [3816] dbg: async: starting: DNSBL-A,
> dns:A:2.59.48.64.zen.spamhaus.org. (timeout 3.0s, min 0.6s)
> [3816] dbg: dns: hit <dns:2.59.48.64.zen.spamhaus.org> 127.0.0.10
> [3816] dbg: async: completed in 0.012 s: DNSBL-A,
> dns:A:2.59.48.64.zen.spamhaus.org.
> [3816] dbg: async: timing: 0.012 . dns:A:2.59.48.64.zen.spamhaus.org.
>
> Any ideas on what I've missed here?
>
> Thanks,
>
> Charles
>
> ___
> Charles Sprickman
> NetEng/SysAdmin
> Bway.net - New York's Best Internet - www.bway.net
> sp...@bway.net - 212.655.9344
>
>

Reply via email to