nixpkgs/nixos/modules/services/mail
Stefan Frijters 11fa179533
nixos/postfix: restrict inet_protocols to ipv4 when ipv6 is disabled
In the previous state, postfix would still try to use IPv6 addresses,
even when it is disabled in the global networking config.

Cf. https://www.postfix.org/postconf.5.html:

  With Postfix 2.8 and earlier the default is "ipv4". For backwards compatibility with these releases,
  the Postfix 2.9 and later upgrade procedure appends an explicit "inet_protocols = ipv4" setting to
  main.cf when no explicit setting is present.
  This compatibility workaround will be phased out as IPv6 deployment becomes more common.

  inet_protocols = ipv4
  inet_protocols = all (DEFAULT)
  inet_protocols = ipv6
  inet_protocols = ipv4, ipv6

So setting it to 'all' conditionally does not help, as we are now on version 3.x.
2023-02-03 11:29:24 +01:00
..
clamsmtp.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
davmail.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
dkimproxy-out.nix nixos/*: convert more partially-md option descriptions 2022-08-31 16:32:14 +02:00
dovecot.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
dspam.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
exim.nix nixos/exim: allow using service credentials 2022-12-14 16:43:46 +01:00
goeland.nix Apply suggestion 2023-01-20 14:39:35 +01:00
listmonk.nix modules: add mkPackageOptionMD 2023-01-05 02:33:13 +01:00
maddy.nix nixos/*: convert options with admonitions to MD 2022-08-31 16:36:16 +02:00
mail.nix nixos/*: convert internal option descriptions to MD 2022-08-31 16:32:54 +02:00
mailcatcher.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
mailhog.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
mailman.md nixos/mailman: convert manual chapter to MD 2023-01-10 10:31:56 +01:00
mailman.nix nixos/manual: move "edit the MD file" comments to generated XML 2023-01-10 12:34:37 +01:00
mailman.xml nixos/manual: move "edit the MD file" comments to generated XML 2023-01-10 12:34:37 +01:00
mlmmj.nix nixos/*: automatically convert option docs 2022-08-06 20:39:12 +02:00
nullmailer.nix nixos/nullmailer: Always adjust ownership of spool directories 2022-09-01 15:40:27 +02:00
offlineimap.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
opendkim.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
opensmtpd.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
pfix-srsd.nix nixos/*: convert straggler options to MD 2022-08-31 17:27:38 +02:00
postfix.nix nixos/postfix: restrict inet_protocols to ipv4 when ipv6 is disabled 2023-02-03 11:29:24 +01:00
postfixadmin.nix nixos/*: automatically convert option docs to MD 2022-08-03 22:46:41 +02:00
postgrey.nix nixos/*: md-convert hidden plaintext options 2022-08-31 16:32:54 +02:00
postsrsd.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
public-inbox.nix nixos/public-inbox: fix incorrectly restrictive option type 2022-12-25 16:45:58 +03:00
roundcube.nix nixos: fix typos 2022-12-17 19:31:14 -05:00
rspamd.nix nixos/*: md-convert hidden plaintext options 2022-08-31 16:32:54 +02:00
rss2email.nix nixos/rss2email: remove unnecessary cfg file indirection to fix test (#200108) 2022-11-10 20:06:32 +01:00
schleuder.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
spamassassin.nix nixos/*: convert straggler options to MD 2022-08-31 17:27:38 +02:00
sympa.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00