mailserver/postfix: Drop deprecated dhparam option

This commit is contained in:
Simon Bruder 2024-06-02 13:25:56 +02:00
parent 4ed5738a78
commit 68daaf3cd4
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -39,7 +39,6 @@ let
cfg.cleanHeaders);
in
lib.mkIf cfg.enable {
security.dhparams.params.postfix = { };
services.postfix = {
enable = true;
@ -108,8 +107,6 @@ lib.mkIf cfg.enable {
"DHE-RSA-AES256-GCM-SHA384"
];
tls_preempt_cipherlist = "no";
smtpd_tls_dh1024_param_file = config.security.dhparams.params.postfix.path;
};
# plain/STARTTLS (forced with smtpd_tls_security_level)