From b5b25bb457ab03aacb47b38d7f8fa959cf903c4c Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 26 Jun 2024 23:38:42 +0200 Subject: [PATCH] Enable dual use of rsa and ecdsa certificates --- templates/postfix/main.cf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/postfix/main.cf.j2 b/templates/postfix/main.cf.j2 index 96f11b0..5814751 100644 --- a/templates/postfix/main.cf.j2 +++ b/templates/postfix/main.cf.j2 @@ -38,6 +38,12 @@ smtpd_tls_security_level = may smtpd_tls_auth_only = yes smtpd_tls_cert_file = {{ postfix_smtpd_tls_cert_file }} smtpd_tls_key_file = {{ postfix_smtpd_tls_key_file }} +{% if postfix_smtpd_tls_eccert_file is defined %} +smtpd_tls_eccert_file = {{ postfix_smtpd_tls_eccert_file }} +{% endif %} +{% if postfix_smtpd_tls_eckey_file is defined %} +smtpd_tls_eckey_file = {{ postfix_smtpd_tls_eckey_file }} +{% endif %} smtpd_tls_ciphers = medium smtpd_tls_mandatory_ciphers = medium smtpd_tls_exclude_ciphers = aNULL, eNULL, MD5, DES, 3DES, DES-CBC3-SHA, RC4-SHA, AES256-SHA, AES128-SHA, DHE-RSA-AES256-SHA