diff options
author | Erlend Pedersen <erlendpe@online.no> | 2019-11-30 13:58:15 +0100 |
---|---|---|
committer | Erlend Pedersen <erlendpe@online.no> | 2019-12-15 15:25:38 +0100 |
commit | 6e87213291568605604bec2eafc8ee85450b30df (patch) | |
tree | bfcecf359b10605b312b44470d51e5916cbb51eb /pkgs/servers/mail | |
parent | ad3c49da0e08a9d34e3622f6eaa843368d636ecd (diff) | |
download | nixpkgs-6e87213291568605604bec2eafc8ee85450b30df.tar nixpkgs-6e87213291568605604bec2eafc8ee85450b30df.tar.gz nixpkgs-6e87213291568605604bec2eafc8ee85450b30df.tar.bz2 nixpkgs-6e87213291568605604bec2eafc8ee85450b30df.tar.lz nixpkgs-6e87213291568605604bec2eafc8ee85450b30df.tar.xz nixpkgs-6e87213291568605604bec2eafc8ee85450b30df.tar.zst nixpkgs-6e87213291568605604bec2eafc8ee85450b30df.zip |
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.
Diffstat (limited to 'pkgs/servers/mail')
-rw-r--r-- | pkgs/servers/mail/spamassassin/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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. |