Re: No DNS available

2014-06-18 Thread Kevin A. McGrail
On 6/18/2014 5:36 PM, Walter Hurry wrote: On 6/17/2014 4:28 PM, Kevin A. McGrail wrote: Walter, Mark Martinec found a change in Net::DNS 0.76 that likely is your issue. He also submitted a patch which I've tested and appears to fix your exact problem. Can you either patch your installation bas

Re: No DNS available

2014-06-18 Thread Walter Hurry
On Wed, 18 Jun 2014 12:52:19 -0400, Kevin A. McGrail wrote: > On 6/17/2014 4:28 PM, Kevin A. McGrail wrote: >> On 6/17/2014 4:17 PM, Walter Hurry wrote: >>> Jun 17 21:10:28.016 [832] dbg: dns: servers obtained from Net::DNS : >>> Jun 17 21:10:28.016 [832] dbg: dns: eval failed: >>> available_names

Re: No DNS available

2014-06-18 Thread Kevin A. McGrail
On 6/17/2014 4:28 PM, Kevin A. McGrail wrote: On 6/17/2014 4:17 PM, Walter Hurry wrote: Jun 17 21:10:28.016 [832] dbg: dns: servers obtained from Net::DNS : Jun 17 21:10:28.016 [832] dbg: dns: eval failed: available_nameservers: No DNS servers available! This is the crux. Should look something

Re: No DNS available

2014-06-17 Thread Kevin A. McGrail
On 6/17/2014 8:15 PM, Mark Martinec wrote: I can now reproduce the problem, checking ... Mark Looks like a change in Net::DNS 0.76, which no longer has a field $res->{nameserver}, but has now fields nameserver4 and nameserver6, with an official access method $res->nameservers. --- Mail/SpamA

Re: No DNS available

2014-06-17 Thread Mark Martinec
I can now reproduce the problem, checking ... Mark Looks like a change in Net::DNS 0.76, which no longer has a field $res->{nameserver}, but has now fields nameserver4 and nameserver6, with an official access method $res->nameservers. --- Mail/SpamAssassin/DnsResolver.pm.orig 2014-05-07

Re: No DNS available

2014-06-17 Thread Mark Martinec
Jun 17 21:10:28.016 [832] dbg: dns: servers obtained from Net::DNS : Jun 17 21:10:28.016 [832] dbg: dns: eval failed: available_nameservers: No DNS servers available! This is the crux. I can now reproduce the problem, checking ... Mark

Re: No DNS available

2014-06-17 Thread Kevin A. McGrail
On 6/17/2014 6:35 PM, Martin Gregorie wrote: On Tue, 2014-06-17 at 18:03 -0400, Kevin A. McGrail wrote: On 6/17/2014 5:18 PM, Walter Hurry wrote: On Tue, 17 Jun 2014 16:28:52 -0400, Kevin A. McGrail wrote: On 6/17/2014 4:17 PM, Walter Hurry wrote: Jun 17 21:10:28.016 [832] dbg: dns: servers

Re: No DNS available

2014-06-17 Thread Martin Gregorie
On Tue, 2014-06-17 at 18:03 -0400, Kevin A. McGrail wrote: > On 6/17/2014 5:18 PM, Walter Hurry wrote: > > On Tue, 17 Jun 2014 16:28:52 -0400, Kevin A. McGrail wrote: > > > >> On 6/17/2014 4:17 PM, Walter Hurry wrote: > >>> Jun 17 21:10:28.016 [832] dbg: dns: servers obtained from Net::DNS : > >>>

Re: No DNS available

2014-06-17 Thread Kevin A. McGrail
On 6/17/2014 5:18 PM, Walter Hurry wrote: On Tue, 17 Jun 2014 16:28:52 -0400, Kevin A. McGrail wrote: On 6/17/2014 4:17 PM, Walter Hurry wrote: Jun 17 21:10:28.016 [832] dbg: dns: servers obtained from Net::DNS : Jun 17 21:10:28.016 [832] dbg: dns: eval failed: available_nameservers: No DNS se

Re: No DNS available

2014-06-17 Thread Walter Hurry
On Tue, 17 Jun 2014 16:28:52 -0400, Kevin A. McGrail wrote: > On 6/17/2014 4:17 PM, Walter Hurry wrote: >> Jun 17 21:10:28.016 [832] dbg: dns: servers obtained from Net::DNS : >> Jun 17 21:10:28.016 [832] dbg: dns: eval failed: available_nameservers: >> No DNS servers available! > This is the crux

Re: No DNS available

2014-06-17 Thread Kevin A. McGrail
On 6/17/2014 4:17 PM, Walter Hurry wrote: Jun 17 21:10:28.016 [832] dbg: dns: servers obtained from Net::DNS : Jun 17 21:10:28.016 [832] dbg: dns: eval failed: available_nameservers: No DNS servers available! This is the crux. Should look something like: Jun 17 16:27:40.311 [30240] dbg: dns: s

Re: No DNS available

2014-06-17 Thread Walter Hurry
On Tue, 17 Jun 2014 16:08:52 +0200, Mark Martinec wrote: > Walter, > >> Thanks for the response. I'm actually not using spamc/spamd; just >> running spamassassin from procmail. But anyway, /etc/resolv.conf is >> world readable and contains valid nameserver entries. >> >> No, I'm not running it i

Re: No DNS available

2014-06-17 Thread Mark Martinec
Walter, Thanks for the response. I'm actually not using spamc/spamd; just running spamassassin from procmail. But anyway, /etc/resolv.conf is world readable and contains valid nameserver entries. No, I'm not running it in a chrooted environment of any kind. There are no dns directive in my lo

Re: No DNS available

2014-06-17 Thread Walter Hurry
On Tue, 17 Jun 2014 13:16:07 +0200, Mark Martinec wrote: > Walter, > >> I'm getting this: >> eval failed: available_nameservers: No DNS servers available! >> I do have nameservers available, and Net::DNS is installed, >> so I'm a bit stuck. > > Is the file /etc/resolv.conf readable by user run

Re: No DNS available

2014-06-17 Thread Mark Martinec
Walter, I'm getting this: eval failed: available_nameservers: No DNS servers available! I do have nameservers available, and Net::DNS is installed, so I'm a bit stuck. Is the file /etc/resolv.conf readable by user running spamd? Does it contain valid 'nameserver' entries? Running spamd (or a

No DNS available

2014-06-17 Thread Walter Hurry
I'm getting this: eval failed: available_nameservers: No DNS servers available! I do have nameservers available, and Net::DNS is installed, so I'm a bit stuck. Any advice? Thanks

Re: DNS available

2006-10-18 Thread Theo Van Dinter
On Wed, Oct 18, 2006 at 02:06:41AM -0400, Matt Kettler wrote: > Erm, Theo.. Isn't it true that DNS available will always by 0 in --lint > mode for SA 3.1.7. Remember, network checks are now disabled in --lint > mode, so --lint implies -L. Oh right, that changed in 3.1.6. Still no

Re: DNS available

2006-10-17 Thread Matt Kettler
Theo Van Dinter wrote: > On Tue, Oct 17, 2006 at 02:38:11PM -0700, Yoloits wrote: > >> When I run spamassassin --lint -D I get the following in my debug. >> Should DNS available be 1? If so where is the setting? >> > > If you want to use DNS, yes. > E

Re: DNS available

2006-10-17 Thread Theo Van Dinter
On Tue, Oct 17, 2006 at 02:38:11PM -0700, Yoloits wrote: > When I run spamassassin --lint -D I get the following in my debug. > Should DNS available be 1? If so where is the setting? If you want to use DNS, yes. > I have dns_available yes in my local.cf file > [10939] dbg:

DNS available

2006-10-17 Thread Yoloits
When I run spamassassin --lint -D I get the following in my debug. Should DNS available be 1?  If so where is the setting?    I have dns_available yes in my local.cf file   [10939] dbg: dns: is Net::DNS::Resolver available? yes[10939] dbg: dns: Net::DNS version: 0.57[10939] dbg: diag