Mailing List Archive

[Spamassassin Wiki] Update of "Ipv6Resolver" by JustinMason
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by JustinMason:
http://wiki.apache.org/spamassassin/Ipv6Resolver

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