I'm helping debug a spamassassin issue. The machine is netbsd-5, i386, and is pretty normal. It had packages from last spring, and was running ok. Updating to 2014Q3 (with some binary 'pkg_add -u', and some make replace, some via pkg_rr) resulted in things almost entirely ok, but with postfix/spamass-milter receiving mail leading to: spamd[2082]: spamd: error: Bad arg length for Socket::unpack_sockaddr_in, length is 28, should be 16 at /usr/pkg/lib/perl5/5.20.0/i386-netbsd-thread-multi/Socket.pm line 830. /usr/pkg/lib/perl5/5.20.0/i386-netbsd-thread-multi/Socket.pm line 830. ALso, spamc had the same issue. I dropped the localhost v6 entry in /etc/hosts, but no change. I then added "-4" to spamd's flags, and now everything works fine. Also, I get the following when starting spamd. I wonder if the problem is that I have leftover v6 socket stuff from perl 5.18 that is now integrated in 5.20? Stopping spamd. Waiting for PIDS: 9043. Starting spamd. Constant subroutine main::EAI_FAMILY redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_FAMILY () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_SOCKTYPE redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_SOCKTYPE () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_SYSTEM redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_SYSTEM () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::NI_DGRAM redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::NI_DGRAM () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::AI_ALL () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::AI_ADDRCONFIG () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_FAIL redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_FAIL () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_BADFLAGS redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_BADFLAGS () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::AI_PASSIVE redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::AI_PASSIVE () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::NI_NUMERICHOST redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::NI_NUMERICHOST () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::AI_NUMERICHOST redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::AI_NUMERICHOST () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_PROTOCOL redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_PROTOCOL () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::AI_CANONNAME redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::AI_CANONNAME () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::NI_NUMERICSERV redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::NI_NUMERICSERV () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_BADHINTS redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_BADHINTS () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_SERVICE redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_SERVICE () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_NODATA redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_NODATA () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::NI_NOFQDN redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::NI_NOFQDN () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::NI_NAMEREQD redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::NI_NAMEREQD () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_ADDRFAMILY redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_ADDRFAMILY () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::AI_NUMERICSERV redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::AI_NUMERICSERV () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::AI_V4MAPPED () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_NONAME redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_NONAME () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Constant subroutine main::EAI_AGAIN redefined at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235 Prototype mismatch: sub main::EAI_AGAIN () vs none at /usr/pkg/bin/spamd line 68. eval {...} called at /usr/pkg/bin/spamd line 64 main::BEGIN() called at /usr/pkg/bin/spamd line 235 eval {...} called at /usr/pkg/bin/spamd line 235
Attachment:
pgpC5L6mOxF6q.pgp
Description: PGP signature