mailserver/postfix: Drop deprecated dhparam option
This commit is contained in:
parent
4ed5738a78
commit
68daaf3cd4
|
@ -39,7 +39,6 @@ let
|
||||||
cfg.cleanHeaders);
|
cfg.cleanHeaders);
|
||||||
in
|
in
|
||||||
lib.mkIf cfg.enable {
|
lib.mkIf cfg.enable {
|
||||||
security.dhparams.params.postfix = { };
|
|
||||||
services.postfix = {
|
services.postfix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -108,8 +107,6 @@ lib.mkIf cfg.enable {
|
||||||
"DHE-RSA-AES256-GCM-SHA384"
|
"DHE-RSA-AES256-GCM-SHA384"
|
||||||
];
|
];
|
||||||
tls_preempt_cipherlist = "no";
|
tls_preempt_cipherlist = "no";
|
||||||
|
|
||||||
smtpd_tls_dh1024_param_file = config.security.dhparams.params.postfix.path;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# plain/STARTTLS (forced with smtpd_tls_security_level)
|
# plain/STARTTLS (forced with smtpd_tls_security_level)
|
||||||
|
|
Loading…
Reference in a new issue