+2
-2
nixos/doc/manual/release-notes/rl-2511.section.md
+2
-2
nixos/doc/manual/release-notes/rl-2511.section.md
···- The `services.postfix.sslCert` and `sslKey` options were removed and you now need to configure-- [services.postfix.config.smtpd_tls_chain_files](#opt-services.postfix.config.smtpd_tls_chain_files) for server certificates,-- [services.postfix.config.smtp_tls_chain_files](#opt-services.postfix.config) for client certificates.+- [services.postfix.settings.main.smtpd_tls_chain_files](#opt-services.postfix.settings.main.smtpd_tls_chain_files) for server certificates,+- [services.postfix.settings.main.smtp_tls_chain_files](#opt-services.postfix.settings.main) for client certificates.- `vmalert` now supports multiple instances with the option `services.vmalert.instances."".enable`
+6
-4
nixos/modules/services/mail/mailman.md
+6
-4
nixos/modules/services/mail/mailman.md
···
+2
-2
nixos/modules/services/mail/mailman.nix
+2
-2
nixos/modules/services/mail/mailman.nix
···
+5
-4
nixos/modules/services/mail/mlmmj.nix
+5
-4
nixos/modules/services/mail/mlmmj.nix
······
+1
-1
nixos/modules/services/mail/pfix-srsd.nix
+1
-1
nixos/modules/services/mail/pfix-srsd.nix
···
+1
-1
nixos/modules/services/mail/postfix-tlspol.nix
+1
-1
nixos/modules/services/mail/postfix-tlspol.nix
···
+337
-221
nixos/modules/services/mail/postfix.nix
+337
-221
nixos/modules/services/mail/postfix.nix
······+lib.mapAttrsToList mkEntry (lib.filterAttrsRecursive (_: value: value != null) cfg.settings.main)···············description = "The format the alias map should have. Use regexp if you want to use regular expressions.";+Leave unset to let Postfix populate this list based on the {option}`mynetworks_style` setting.+The method used for generating the default value for {option}`mynetworks`, if that option is unset.-The order of items matters and a private key must always be followed by the corresponding certificate.-default = if config.services.postfix.config.smtpd_tls_chain_files != [ ] then "may" else "none";+Putting the hostname in angled brackets, e.g. `[relay.example.com]`, turns off MX and SRV lookups for the hostname.+File containing CA certificates of root CAs trusted to sign either remote SMTP server certificates or intermediate CA certificates.+The order of items matters and a private key must always be followed by the corresponding certificate.-File containing trusted certification authorities (CA) to verify certificates of mailservers contacted for mail delivery. This sets [smtp_tls_CAfile](https://www.postfix.org/postconf.5.html#smtp_tls_CAfile). Defaults to system trusted certificates (see `security.pki.*` options).·········-// lib.optionalAttrs (!config.networking.enableIPv6) { inet_protocols = lib.mkDefault "ipv4"; }// lib.optionalAttrs haveAliases { alias_maps = [ "${cfg.aliasMapType}:/etc/postfix/aliases" ]; }···// lib.optionalAttrs (cfg.dnsBlacklists != [ ]) { smtpd_client_restrictions = clientRestrictions; }···-"services.postfix.sslCACert was replaced by services.postfix.tlsTrustedAuthorities. In case you intend that your server should validate requested client certificates use services.postfix.extraConfig."+"services.postfix.sslCACert was replaced by services.postfix.tlsTrustedAuthorities. In case you intend that your server should validate requested client certificates use services.postfix.settings.main.smtp_tls_CAfile."-"services.postfix.sslCert was removed. Use services.postfix.config.smtpd_tls_chain_files for the server certificate, or services.postfix.config.smtp_tls_chain_files for the client certificate."+"services.postfix.sslCert was removed. Use services.postfix.settings.main.smtpd_tls_chain_files for the server certificate, or services.postfix.settings.main.smtp_tls_chain_files for the client certificate."-"services.postfix.sslKey was removed. Use services.postfix.config.smtpd_tls_chain_files for server private key, or services.postfix.config.smtp_tls_chain_files for the client private key."+"services.postfix.sslKey was removed. Use services.postfix.settings.main.smtpd_tls_chain_files for server private key, or services.postfix.settings.main.smtp_tls_chain_files for the client private key."+"services.postfix.lookupMX was removed. Use services.postfix.settings.main.relayhost and put the hostname in angled brackets, if you need to turn off MX and SRV lookups."+"services.postfix.relayHost was removed in favor of services.postfix.settings.main.relayhost, which now takes a list of host/port."+"services.postfix.relayHost was removed in favor of services.postfix.settings.main.relayhost, which now takes a list of host/port."+"services.postfix.extraConfig was replaced by the structured freeform service.postfix.settings.main option."
+1
-1
nixos/modules/services/mail/postsrsd.nix
+1
-1
nixos/modules/services/mail/postsrsd.nix
···
+2
-2
nixos/modules/services/mail/public-inbox.nix
+2
-2
nixos/modules/services/mail/public-inbox.nix
······
+1
-1
nixos/modules/services/mail/rspamd.nix
+1
-1
nixos/modules/services/mail/rspamd.nix
···
+1
-3
nixos/modules/services/mail/schleuder.nix
+1
-3
nixos/modules/services/mail/schleuder.nix
···transport = lib.mkIf (cfg.lists != [ ]) (postfixMap (lib.genAttrs cfg.lists (_: "schleuder:")));
+38
-36
nixos/modules/services/mail/sympa.nix
+38
-36
nixos/modules/services/mail/sympa.nix
···
+1
-1
nixos/modules/services/mail/zeyple.nix
+1
-1
nixos/modules/services/mail/zeyple.nix
+2
-2
nixos/modules/services/monitoring/parsedmarc.nix
+2
-2
nixos/modules/services/monitoring/parsedmarc.nix
···
+10
-6
nixos/modules/services/web-apps/discourse.nix
+10
-6
nixos/modules/services/web-apps/discourse.nix
···
+1
-1
nixos/modules/services/web-apps/mastodon.nix
+1
-1
nixos/modules/services/web-apps/mastodon.nix
···
+1
-1
nixos/modules/services/web-apps/peertube.nix
+1
-1
nixos/modules/services/web-apps/peertube.nix
+8
-5
nixos/tests/alps.nix
+8
-5
nixos/tests/alps.nix
···
+5
-5
nixos/tests/discourse.nix
+5
-5
nixos/tests/discourse.nix
···
+12
-10
nixos/tests/mailman.nix
+12
-10
nixos/tests/mailman.nix
···
+4
-5
nixos/tests/matrix/synapse.nix
+4
-5
nixos/tests/matrix/synapse.nix
···
+1
-1
nixos/tests/parsedmarc/default.nix
+1
-1
nixos/tests/parsedmarc/default.nix
+7
-5
nixos/tests/postfix.nix
+7
-5
nixos/tests/postfix.nix
···
+1
-1
nixos/tests/public-inbox.nix
+1
-1
nixos/tests/public-inbox.nix
+1
-1
nixos/tests/rspamd.nix
+1
-1
nixos/tests/rspamd.nix
+9
-7
nixos/tests/schleuder.nix
+9
-7
nixos/tests/schleuder.nix
···
+1
-1
pkgs/by-name/po/postfix/update.sh
+1
-1
pkgs/by-name/po/postfix/update.sh
···