modules/services/mail/dovecot2.nix: accept plain text authentication only over secure channels when TLS is available
Connects from 'localhost' are always considered secure.
This commit is contained in:
parent
1da16a5ea1
commit
155495deb2
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ let
|
|||
ssl_cert_file = ${cfg.sslServerCert}
|
||||
ssl_key_file = ${cfg.sslServerKey}
|
||||
ssl_ca_file = ${cfg.sslCACert}
|
||||
disable_plaintext_auth = yes
|
||||
'' else ''
|
||||
ssl = no
|
||||
disable_plaintext_auth = no
|
||||
|
|
Loading…
Reference in a new issue