From 056be5156096f55fb8c5901d4f8d9c78c6e42d45 Mon Sep 17 00:00:00 2001 From: feld <40271278+feld@users.noreply.github.com> Date: Wed, 13 May 2026 17:07:08 -0700 Subject: [PATCH] Update cmdeploy/src/cmdeploy/postfix/lmtp_header_cleanup Co-authored-by: holger krekel --- .../src/cmdeploy/postfix/lmtp_header_cleanup | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/cmdeploy/src/cmdeploy/postfix/lmtp_header_cleanup b/cmdeploy/src/cmdeploy/postfix/lmtp_header_cleanup index 807b860c..75c68c04 100644 --- a/cmdeploy/src/cmdeploy/postfix/lmtp_header_cleanup +++ b/cmdeploy/src/cmdeploy/postfix/lmtp_header_cleanup @@ -1,7 +1,23 @@ +# List of headers for incoming messages +# that must be retained for functionality and compatibility reasons /^From:/ DUNNO /^Message-Id:/ DUNNO /^Chat-Is-Post-Message:/ DUNNO /^Content-Type:/ DUNNO + +# For receiving clear-text messages (still supported in May 2026) /^Subject:/ DUNNO /^Date:/ DUNNO + +# Senders might support Autocrypt 1 but not RFC9788 (Header Protection) +/^Autocrypt:/ DUNNO + +# SecureJoin V2 protocol headers (for backward compatibility) +/^Secure-Join:/ DUNNO +/^Secure-Join-Invitenumber:/ DUNNO +/^Secure-Join-Auth:/ DUNNO +/^Secure-Join-Fingerprint:/ DUNNO +/^Secure-Join-Group:/ DUNNO + +# Ignore all other headers /.*/ IGNORE