diff options
author | uwap <me@uwap.name> | 2016-06-10 14:51:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-10 14:51:43 +0200 |
commit | ab0547b16fc9a80cb801041a78cb21bd05470139 (patch) | |
tree | d5d0bb08f614d5b4ac850a0d7d569e985a093fe2 /nixos/modules | |
parent | cc658b695a2d6a49f9c94f0ac9d124de1f62b644 (diff) |
Choose a better default for services.postfix.submissionOptions
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/mail/postfix.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix index 616018fc30790..c97aad7741963 100644 --- a/nixos/modules/services/mail/postfix.nix +++ b/nixos/modules/services/mail/postfix.nix @@ -210,12 +210,13 @@ in submissionOptions = mkOption { type = types.attrs; - default = { "smtpd_tls_security_level" = "encrypt"; + default = {}; + description = "Options for the submission config in master.cf"; + example = { "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 = { "milter_macro_daemon_name" = "ORIGINATING"; }; }; setSendmail = mkOption { |