Why are all the RBL checks failing?
Something is wrong with the local machine's DNS resolution capability

Well I can do this:

[EMAIL PROTECTED] /root]# host -t txt 178.3.155.200.bl.spamcop.net
178.3.155.200.bl.spamcop.net. text "Blocked - see http://www.spamcop.net/bl.shtml?200.155.3.178";


So it appears to be working at the OS level. I have no problems with DNS on the machine as far as I know.

One thing I'd do is carefuly check your /etc/resolv.conf. Is the first listed DNS server working? try:

        dig @1.1.1.1 www.spamassassin.org
        where 1.1.1.1 is the first DNS server listed in resolv.conf.

Aha! Thank you!
My /etc/resolv.conf was very wrong! It had 127.0.0.1 as the first nameserver (my machine doesn't seem to be running a DNS server anymore?!) and the second entry was outdated. The third entry worked, but obviously Net::DNS doesn't try all of them before giving up.


I presume that the host command works a different way to whatever it is that spamassassin uses (Net::DNS?).

I shouldn't have assumed it was correct just because host and dig were working.

Thanks for your help!

Nick...




Reply via email to