From 27ba011f68adb5eff31822fdc3ec6f8bb6b8aa22 Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Mon, 2 Nov 2026 16:42:37 +0100 Subject: [PATCH] set compatibility and order for tls chain --- roles/mailserver/tasks/configure_postfix.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/roles/mailserver/tasks/configure_postfix.yml b/roles/mailserver/tasks/configure_postfix.yml index 1939a73..b809b10 100755 --- a/roles/mailserver/tasks/configure_postfix.yml +++ b/roles/mailserver/tasks/configure_postfix.yml @@ -10,7 +10,7 @@ - {key: "alias_maps", value: "lmdb:/etc/mail/aliases"} - {key: "biff", value: "no"} - {key: "broken_sasl_auth_clients", value: "yes"} - - {key: "compatibility_level", value: "2"} + - {key: "compatibility_level", value: "3.11"} - {key: "debugger_command", value: "'PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5'"} - {key: "default_cache_db_type", value: "lmdb"} - {key: "default_destination_concurrency_limit", value: "2"} @@ -54,10 +54,8 @@ - {key: "smtpd_sasl_type", value: "dovecot"} - {key: "smtpd_sender_restrictions", value: "'lmdb:/etc/postfix/access, permit_mynetworks, reject_non_fqdn_sender, check_sender_access lmdb:/etc/postfix/sender_access'"} - {key: "smtpd_tls_auth_only", value: "yes"} - - {key: "smtpd_tls_chain_files", value: "/etc/letsencrypt/live/{{ npm_cert }}/fullchain.pem, /etc/letsencrypt/live/{{ npm_cert }}/privkey.pem"} - - {key: "smtpd_tls_dh1024_param_file", value: "'${config_directory}/dh2048.pem'"} + - {key: "smtpd_tls_chain_files", value: "'/etc/letsencrypt/live/{{ npm_cert }}/privkey.pem, /etc/letsencrypt/live/{{ npm_cert }}/fullchain.pem'"} - {key: "smtpd_tls_dh512_param_file", value: "'${config_directory}/dh512.pem'"} - - {key: "smtpd_tls_eecdh_grade", value: "strong"} - {key: "smtpd_tls_exclude_ciphers", value: "'aNULL,MD5,RC4,DES,IDEA,SEED,3DES'"} - {key: "smtpd_tls_loglevel", value: "1"} - {key: "smtpd_tls_mandatory_ciphers", value: "high"}