From 254fe953941061bb09c6445f72f67d337eb1a498 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sat, 13 Jul 2024 16:26:07 +0200 Subject: [PATCH] postfix was hitting the "100 clients" smtp-submission connected limit (DC apps) and switched to stress mode which brings more randomness/relay to smtp-connections. We now allow 5K because it should be fine for the machine. --- cmdeploy/src/cmdeploy/postfix/master.cf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 index b59acd28..ae100b09 100644 --- a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 @@ -15,7 +15,7 @@ smtp inet n - y - - smtpd -v smtp inet n - y - - smtpd {%- endif %} -o smtpd_milters=unix:opendkim/opendkim.sock -submission inet n - y - - smtpd +submission inet n - y - 5000 smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes @@ -32,7 +32,7 @@ submission inet n - y - - smtpd -o smtpd_client_connection_count_limit=1000 -o smtpd_proxy_filter=127.0.0.1:{{ config.filtermail_smtp_port }} -o cleanup_service_name=authclean -smtps inet n - y - - smtpd +smtps inet n - y - 5000 smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_tls_security_level=encrypt