Question
Is there a way to let spamassassin bypass my linux system's dns servers to query DNSBLs?
Background Info
When my Server receives email, it is checked by spamassassin. One of this checks looks up the involved mail servers in DNS blacklists. Unfortunately the DNS of my provider is not allowed to query those BLs anymore. This is shown by spamassassin's header info URIBL_BLOCKED in all the emails I receive. I manually tested this too:
root@net:# dig 2.0.0.127.multi.uribl.com txt +short
"127.0.0.1 -> Query Refused. See http://uribl.com/refused.shtml for more information [Your DNS IP: 123.123.123.123]"
(123.123.123.123
is configured in my /etc/resolv.conf
as dns.)
When I manually query one of their nameservers directly (see @cc.uribl.com.) without using my provider's recursor, I get an answer:
root@net:# dig 2.0.0.127.multi.uribl.com txt @cc.uribl.com. +short
permanent testpoint
(note that this is a testquery for that BL that's supposed to give this result)
Summary
So is there any way I can get spamassassin not to use the system default dns for dnsbl queries other than installing a dns recursor on this very system?
UPDATE
Okay, actually there is no problem in installing a local dns-recursor. It's lightweight and easy to setup and now I don't have the problems with the BLs anymore.