mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
postfix: used recommended configuration key to enable tls
> With Postfix 2.3 and later use smtp_tls_security_level instead. http://www.postfix.org/postconf.5.html#smtp_use_tls
This commit is contained in:
parent
e0f07f9b8d
commit
9d697837f0
1 changed files with 3 additions and 3 deletions
|
@ -454,7 +454,7 @@ in
|
|||
'';
|
||||
example = {
|
||||
mail_owner = "postfix";
|
||||
smtp_use_tls = true;
|
||||
smtp_tls_security_level = "may";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -776,13 +776,13 @@ in
|
|||
smtp_tls_cert_file = cfg.sslCert;
|
||||
smtp_tls_key_file = cfg.sslKey;
|
||||
|
||||
smtp_use_tls = true;
|
||||
smtp_tls_security_level = "may";
|
||||
|
||||
smtpd_tls_CAfile = cfg.sslCACert;
|
||||
smtpd_tls_cert_file = cfg.sslCert;
|
||||
smtpd_tls_key_file = cfg.sslKey;
|
||||
|
||||
smtpd_use_tls = true;
|
||||
smtpd_tls_security_level = "may";
|
||||
};
|
||||
|
||||
services.postfix.masterConfig = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue