nixpkgs/nixos
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
..
doc Merge pull request #212541 from equirosa/tut-2.0.0 2023-01-26 13:58:42 +08:00
lib nixos/optionsToDocbook.py: Add docbook ns for when the appendix tag is omitted 2023-01-26 00:32:56 +01:00
maintainers nixos/lxc-container: undo some of the minimal profile stuff 2022-12-09 23:18:37 +03:00
modules nixos/postfix: restrict inet_protocols to ipv4 when ipv6 is disabled 2023-02-03 11:29:24 +01:00
tests Merge pull request #212512 from NickCao/stratis 2023-01-26 13:49:08 +08:00
COPYING
default.nix
README
release-combined.nix nixos/tests/printing: split into service/socket 2022-12-07 15:57:45 +01:00
release-small.nix nixos/release: add acme to tested set 2022-10-25 07:22:27 +10:00
release.nix nixos: Add sd_image_minimal_new_kernel_no_zfs 2022-12-22 23:07:19 -05:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.