From c56805211f884f121a2a6399520b22203b50c256 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 24 Sep 2025 14:30:41 +0000 Subject: [PATCH] Increase maxproc for reinjecting ports from 10 to 100 Otherwise under high load filtermail starts printing "Connection refused" errors to the log. --- CHANGELOG.md | 3 +++ cmdeploy/src/cmdeploy/postfix/master.cf.j2 | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58d4ce71..f1cf6800 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## untagged +- Increase maxproc for reinjecting ports from 10 to 100 + ([#646](https://github.com/chatmail/relay/pull/646)) + - Allow ports 143 and 993 to be used by `dovecot` process ([#639](https://github.com/chatmail/relay/pull/639)) diff --git a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 index 49c745dc..5e460d19 100644 --- a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 @@ -77,13 +77,13 @@ scache unix - - y - 1 scache postlog unix-dgram n - n - 1 postlogd filter unix - n n - - lmtp # Local SMTP server for reinjecting outgoing filtered mail. -127.0.0.1:{{ config.postfix_reinject_port }} inet n - n - 10 smtpd +127.0.0.1:{{ config.postfix_reinject_port }} inet n - n - 100 smtpd -o syslog_name=postfix/reinject -o smtpd_milters=unix:opendkim/opendkim.sock -o cleanup_service_name=authclean # Local SMTP server for reinjecting incoming filtered mail -127.0.0.1:{{ config.postfix_reinject_port_incoming }} inet n - n - 10 smtpd +127.0.0.1:{{ config.postfix_reinject_port_incoming }} inet n - n - 100 smtpd -o syslog_name=postfix/reinject_incoming -o smtpd_milters=unix:opendkim/opendkim.sock