nixos/postfix: Use better types for submissionOptions and submissionsOptions (#138205)

This commit is contained in:
Travis Athougies 2021-11-12 08:28:39 -08:00 committed by GitHub
parent 9011167284
commit 82037871bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ in
};
submissionOptions = mkOption {
type = types.attrs;
type = with types; attrsOf str;
default = {
smtpd_tls_security_level = "encrypt";
smtpd_sasl_auth_enable = "yes";
@ -312,7 +312,7 @@ in
};
submissionsOptions = mkOption {
type = types.attrs;
type = with types; attrsOf str;
default = {
smtpd_sasl_auth_enable = "yes";
smtpd_client_restrictions = "permit_sasl_authenticated,reject";