Change default to postfix default.

authored by

uwap and committed by
GitHub
1e72706d ab0547b1

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