Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

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:

No Format
  [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 http://bugzilla.spamassassin.org/show_bug.cgi?id=4412 for more info on this.