spamassassin-4.0.0_3 failed to start: /usr/local/etc/rc.d/sa-spamd start Starting spamd. server socket setup failed, retry 1: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host server socket setup failed, retry 2: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host server socket setup failed, retry 3: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host server socket setup failed, retry 4: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host server socket setup failed, retry 5: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host server socket setup failed, retry 6: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host server socket setup failed, retry 7: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host server socket setup failed, retry 8: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host server socket setup failed, retry 9: spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host spamd: invalid address for a listen socket: "2XXX:XXXX::4": no such host workaround: pkg install p5-IO-Socket-INET6 /usr/local/etc/rc.d/sa-spamd start Starting spamd. /usr/local/etc/rc.d/sa-spamd status spamd is running as pid 41266. It seems previously some other perl module pulled in p5-IO-Socket-INET6 as dependency.
I'm confused. Is this an extra dependency problem or an IPv6 problem?
If you listen on IPv6 spamd fails now. Example: spamd_flags="-u spamd -H /var/spool/spamd --listen 127.0.0.1 --listen '[::1]' To continue to support IPv6, the dependency is needed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf9fbfdb5c73b7495b17939458eb15f3664ece91 commit bf9fbfdb5c73b7495b17939458eb15f3664ece91 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2023-07-31 14:43:53 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2023-07-31 16:38:08 +0000 mail/spamassassin*: Fix IPv6 support spamassassin now needs net/p5-IO-Socket-INET6 to support IPv6. PR: 272830 MFH: 2023Q3 mail/spamassassin-devel/Makefile | 2 ++ mail/spamassassin/Makefile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-)