From 0155f32df62e2c7e07e771688a5846cb7e7dc880 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 20 Oct 2025 22:33:00 +0000 Subject: [PATCH] Require TLS 1.2 for outgoing SMTP connections --- CHANGELOG.md | 3 +++ cmdeploy/src/cmdeploy/postfix/main.cf.j2 | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57ecea8b..ee8ea6e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## untagged +- Require TLS 1.2 for outgoing SMTP connections + ([#685](https://github.com/chatmail/relay/pull/685)) + - filtermail: run CPU-intensive handle_DATA in a thread pool executor ([#676](https://github.com/chatmail/relay/pull/676)) diff --git a/cmdeploy/src/cmdeploy/postfix/main.cf.j2 b/cmdeploy/src/cmdeploy/postfix/main.cf.j2 index 19ca1437..11af9d3d 100644 --- a/cmdeploy/src/cmdeploy/postfix/main.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/main.cf.j2 @@ -26,6 +26,7 @@ smtp_tls_security_level=verify smtp_tls_servername = hostname smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_tls_policy_maps = inline:{nauta.cu=may} +smtp_tls_protocols = >=TLSv1.2 smtpd_tls_protocols = >=TLSv1.2 # Disable anonymous cipher suites