From 6e87213291568605604bec2eafc8ee85450b30df Mon Sep 17 00:00:00 2001 From: Erlend Pedersen Date: Sat, 30 Nov 2019 13:58:15 +0100 Subject: spamassassin: enable IPv6 support with Socket6 Communication between spamc and spamd would fail with messages about addresses being too long: error: Bad arg length for Socket::unpack_sockaddr_in, length is 28, should be 16 By adding Socket6 as a buildInput, spamd is now able to process emails without choking on IPv6 addresses. --- pkgs/servers/mail/spamassassin/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/servers/mail') diff --git a/pkgs/servers/mail/spamassassin/default.nix b/pkgs/servers/mail/spamassassin/default.nix index 186f4670153..87249187128 100644 --- a/pkgs/servers/mail/spamassassin/default.nix +++ b/pkgs/servers/mail/spamassassin/default.nix @@ -13,7 +13,8 @@ perlPackages.buildPerlPackage rec { patches = [ ./sa-update_add--siteconfigpath.patch ]; buildInputs = [ makeWrapper ] ++ (with perlPackages; [ HTMLParser NetDNS NetAddrIP DBFile HTTPDate MailDKIM - LWP IOSocketSSL DBI EncodeDetect IPCountry NetIdent Razor2ClientAgent MailSPF NetDNSResolverProgrammable ]); + LWP IOSocketSSL DBI EncodeDetect IPCountry NetIdent Razor2ClientAgent MailSPF NetDNSResolverProgrammable + Socket6 ]); # Enabling 'taint' mode is desirable, but that flag disables support # for the PERL5LIB environment variable. Needs further investigation. -- cgit 1.4.1