Guys, I'm stumped. SpamAssassin is failing RBL lookups on our new
mailserver (Debian testing, Postfix, ClamAV, Amavis-new,
SpamAssassin), and without it, we're getting hammered.

I found 1 guy with the same problem on spamassassin.apache.org but no
resolution.

The facts:

I can resolve dnsbl.sorbs.net as user root or amavis using dig.

I can resolve it using Perl and Net::DNS.

SpamAssassin apparently can't. I also tried installing 3.03 via cpan
and it failed the dnsbl tests.

Below are a few lines from the debug output.

Any suggestions?

Thanks in advance,

Steve
-------------

May 15 19:11:38 behnke.nwaalpa.org amavisd-new[7955]: Module
Mail::SpamAssassin  3.000002
May 15 19:11:38 behnke.nwaalpa.org amavisd-new[7955]: Module Net::Cmd 
          2.26
May 15 19:11:38 behnke.nwaalpa.org amavisd-new[7955]: Module Net::DNS 
          0.48
May 15 19:11:38 behnke.nwaalpa.org amavisd-new[7955]: Module Net::SMTP
          2.29
May 15 19:11:38 behnke.nwaalpa.org amavisd-new[7955]: Module
Net::Server         0.87

 blah blah
 
 
debug: RBL: success for 0 of 17 queries
debug: DNS: timeout for sorbs-notfirsthop,sorbs after 15 seconds
debug: DNS: timeout for sblxbl-notfirsthop,sblxbl after 15 seconds
debug: DNS: timeout for ahbl after 15 seconds
debug: DNS: timeout for njabl-notfirsthop,njabl after 15 seconds
debug: DNS: timeout for sorbs after 15 seconds
debug: DNS: timeout for NO_DNS_FOR_FROM after 15 seconds
debug: DNS: timeout for rfci_envfrom after 15 seconds
debug: DNS: timeout for njabl after 15 seconds
debug: DNS: timeout for sblxbl after 15 seconds
debug: DNS: timeout for NO_DNS_FOR_FROM after 15 seconds
debug: DNS: timeout for rsl after 15 seconds
debug: DNS: timeout for rsl after 15 seconds
debug: DNS: timeout for spamcop after 15 seconds
debug: DNS: timeout for bsp-untrusted after 15 seconds
debug: DNS: timeout for bsp-firsttrusted after 15 seconds
debug: DNS: timeout for dsbl-notfirsthop after 15 seconds
debug: DNS: timeout for spamcop after 15 seconds
debug: URIDNSBL: queries completed: 0 started: 0
debug: URIDNSBL: queries active: DNSBL=1 NS=1 at Sun May 15 19:14:03 2005
debug: waiting 2 seconds for URIDNSBL lookups to complete
debug: URIDNSBL: queries completed: 0 started: 0
debug: URIDNSBL: queries active: DNSBL=1 NS=1 at Sun May 15 19:14:03 2005
debug: URIDNSBL: queries completed: 0 started: 0
debug: URIDNSBL: queries active: DNSBL=1 NS=1 at Sun May 15 19:14:04 2005
debug: SPF: lookup timed out after 5 secs.