Choose a better default for services.postfix.submissionOptions

authored by

uwap and committed by
GitHub
ab0547b1 cc658b69

+4 -3
+4 -3
nixos/modules/services/mail/postfix.nix
··· 210 210 211 211 submissionOptions = mkOption { 212 212 type = types.attrs; 213 - default = { "smtpd_tls_security_level" = "encrypt"; 213 + default = {}; 214 + description = "Options for the submission config in master.cf"; 215 + example = { "smtpd_tls_security_level" = "encrypt"; 214 216 "smtpd_sasl_auth_enable" = "yes"; 215 217 "smtpd_client_restrictions" = "permit_sasl_authenticated,reject"; 218 + "milter_macro_daemon_name" = "ORIGINATING"; 216 219 }; 217 - description = "Options for the submission config in master.cf"; 218 - example = { "milter_macro_daemon_name" = "ORIGINATING"; }; 219 220 }; 220 221 221 222 setSendmail = mkOption {