On 1/29/11 5:15 PM, "Mark Martinec" <mark.martinec...@ijs.si> wrote:
>On Saturday January 29 2011 15:51:25 James Lay wrote: >> Just did a new install and I'm seeing the below when spamassassin is >> checking an email: >> >> Jan 29 07:47:42 gateway spamd[15540]: dns: sendto() failed: Connection >> refused at >> /usr/lib64/perl5/site_perl/5.10.1/Mail/SpamAssassin/DnsResolver.pm line >> 411, <GEN408> line 158. > >> DNS is working fine on the machine, resolve.conf is set with the right >> information as well. Any hints on to why this is happening? Thanks >>all. > >The Net::DNS is looking only at the first 'nameserver' entry in your >/etc/resolv.conf. Perhaps you have more than one DNS server listed >and the first one is not alive. Test it with 'host' or 'dig' by >explicitly specifying its IP address to the command. > > Mark Thanks Mark...checked settings and sure enough that was the issue...dig did work though which was weird. Working great now after a restart. Thanks again.