diff options
author | uwap <me@uwap.name> | 2016-06-10 15:10:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-10 15:10:28 +0200 |
commit | 1e72706d667f33d5282d4a8f519d32837b3aa8bd (patch) | |
tree | 32f63130c6adfcf75ec9b4fff4c0ff1852d33da7 /nixos/modules | |
parent | ab0547b16fc9a80cb801041a78cb21bd05470139 (diff) |
Change default to postfix default.
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/mail/postfix.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix index c97aad7741963..cdde414462248 100644 --- a/nixos/modules/services/mail/postfix.nix +++ b/nixos/modules/services/mail/postfix.nix @@ -210,10 +210,15 @@ in submissionOptions = mkOption { type = types.attrs; - default = {}; + default = { "smtpd_tls_security_level" = "encrypt"; + "smtpd_sasl_auth_enable" = "yes"; + "smtpd_client_restrictions" = "permit_sasl_authenticated,reject"; + "milter_macro_daemon_name" = "ORIGINATING"; + }; description = "Options for the submission config in master.cf"; example = { "smtpd_tls_security_level" = "encrypt"; "smtpd_sasl_auth_enable" = "yes"; + "smtpd_sasl_type" = "dovecot"; "smtpd_client_restrictions" = "permit_sasl_authenticated,reject"; "milter_macro_daemon_name" = "ORIGINATING"; }; |