Alyssa Ross <h...@alyssa.is> wrote: > "@lbutlr" <krem...@kreme.com> writes: > > >> May 21 23:20:56 mail spamd[22787]: spamd: error: Bad arg length for > >> Socket::unpack_sockaddr_in, length is 28, should be 16 at > >> /usr/local/lib/perl5/5.28/mach/Socket.pm line 848. > >> May 21 23:20:56 mail spamd[22787]: , continuing at /usr/local/bin/spamd > >> line 1419. > > > > I have completely removed SpamAssassin and spamass-milter and > > reinstalled them via ports and there has been no change. Same error, > > no additional logging. > > Did you ever figure this out? I'm having the same issue on NixOS Linux > with perl 5.30.0 and spamassassin 3.4.2.
Missing the Socket6 module? Length of 28 indicates an IPv6 address. Fwiw, Perl 5.14+ has Socket::unpack_sockaddr_in6 in the 'Socket' module; but maybe SpamAssassin prefers to keep the same codepath for all Perl 5.x it supports so it requires the non-standard Socket6 module.