From 8605ceba5e03763aa601c6a9131c690c4c9b88c4 Mon Sep 17 00:00:00 2001 From: nudeldudel <45603527+nudeldudel@users.noreply.github.com> Date: Wed, 27 Dec 2023 10:54:33 +0100 Subject: [PATCH] Update master.cf.j2 Add submission-header-cleanup to reduce the meta-data --- cmdeploy/src/cmdeploy/postfix/master.cf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 index dd0cc0eb..8620bd68 100644 --- a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 @@ -34,6 +34,7 @@ submission inet n - y - - smtpd -o milter_macro_daemon_name=ORIGINATING -o smtpd_client_connection_count_limit=1000 -o smtpd_proxy_filter=127.0.0.1:{{ config.filtermail_smtp_port }} + -o cleanup_service_name=submission-header-cleanup smtps inet n - y - - smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes @@ -80,3 +81,8 @@ filter unix - n n - - lmtp # Local SMTP server for reinjecting filered mail. localhost:{{ config.postfix_reinject_port }} inet n - n - 10 smtpd -o syslog_name=postfix/reinject +### +### Cleanup-Service um MUA header zu entfernen +### +submission-header-cleanup unix n - n - 0 cleanup + -o header_checks=regexp:/etc/postfix/submission_header_cleanup