From de5d53f6e7f67d7e4acfdff85663cc5433534afd Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 17 Oct 2025 17:14:46 +0200 Subject: [PATCH] postfix: accept whole mail before passing it to filtermail --- CHANGELOG.md | 3 +++ cmdeploy/src/cmdeploy/postfix/master.cf.j2 | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8f3a1c0..587e00cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ - Update iroh-relay to 0.35.0 ([#650](https://github.com/chatmail/relay/pull/650)) +- postfix: accept whole mail before passing it to filtermail + ([#673](https://github.com/chatmail/relay/pull/673)) + - filtermail: accept mails from Protonmail ([#616](https://github.com/chatmail/relay/pull/655)) diff --git a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 index 5e460d19..4a35a07c 100644 --- a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 @@ -31,6 +31,7 @@ submission inet n - y - 5000 smtpd -o smtpd_relay_restrictions=permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING -o smtpd_client_connection_count_limit=1000 + -o smtpd_proxy_options=speed_adjust -o smtpd_proxy_filter=127.0.0.1:{{ config.filtermail_smtp_port }} smtps inet n - y - 5000 smtpd -o syslog_name=postfix/smtps @@ -48,6 +49,7 @@ smtps inet n - y - 5000 smtpd -o smtpd_relay_restrictions=permit_sasl_authenticated,reject -o smtpd_client_connection_count_limit=1000 -o milter_macro_daemon_name=ORIGINATING + -o smtpd_proxy_options=speed_adjust -o smtpd_proxy_filter=127.0.0.1:{{ config.filtermail_smtp_port }} #628 inet n - y - - qmqpd pickup unix n - y 60 1 pickup