IPV6 Resolver Issue

I get warnings in the syslog from spamd about 'Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4', like so:

  [50765] dbg: dns: is Net::DNS::Resolver available? yes   
  [50765] dbg: dns: Net::DNS version: 0.51   
  [50765] warn: Use of uninitialized value in subroutine entry   
    at /usr/local/lib/perl5/5.8.6/mach/Socket.pm line 373.   
    Bad arg length for Socket::pack_sockaddr_in, length is 0,  
    should be 4   
    at /usr/local/lib/perl5/5.8.6/mach/Socket.pm line 373. 

This is caused by a bug in using IPv6 addresses in /etc/resolv.conf. See https://issues.apache.org/SpamAssassin/show_bug.cgi?id=4412 for more info on this. Fixed in trunk in 2005.

Ipv6Resolver (last edited 2012-03-04 18:43:45 by Darxus)