fix postfix tls level

This commit is contained in:
Rouven Seifert 2024-10-30 11:01:23 +01:00
parent 86cd05062e
commit f75a808a53

View file

@ -40,7 +40,8 @@ in
smtp_helo_name = config.networking.fqdn; smtp_helo_name = config.networking.fqdn;
smtpd_banner = "${config.networking.fqdn} ESMTP $mail_name"; smtpd_banner = "${config.networking.fqdn} ESMTP $mail_name";
smtp_tls_security_level = "may"; smtp_tls_security_level = "may";
smtpd_tls_security_level = lib.mkForce "encrypt"; # forcing encryption breaks rspamd
smtpd_tls_security_level = "may";
smtpd_tls_auth_only = true; smtpd_tls_auth_only = true;
smtpd_tls_protocols = [ smtpd_tls_protocols = [
"!SSLv2" "!SSLv2"