From bc66325d711168b12a2ec6930ac5f02799ce01b7 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 23 Jan 2024 21:27:23 +0000 Subject: [PATCH] Cleanup Received headers after filtermail as well --- cmdeploy/src/cmdeploy/postfix/master.cf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 index a6eaad3a..921522f9 100644 --- a/cmdeploy/src/cmdeploy/postfix/master.cf.j2 +++ b/cmdeploy/src/cmdeploy/postfix/master.cf.j2 @@ -82,6 +82,7 @@ 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 + -o cleanup_service_name=authclean # Cleanup `Received` headers for authenticated mail # to avoid leaking client IP.