Compare commits

...

4 Commits

Author SHA1 Message Date
Mark Felder
4078acbd22 Permit the entire Secure-Join* namespace 2026-05-15 17:18:30 -07:00
Mark Felder
605f5060da More headers preserved
For cleartext: To, CC, In-Reply-To, References

For Chatmail future expansion, allow Chat-*
2026-05-14 15:30:01 -07:00
feld
056be51560 Update cmdeploy/src/cmdeploy/postfix/lmtp_header_cleanup
Co-authored-by: holger krekel  <holger@merlinux.eu>
2026-05-13 17:07:08 -07:00
Mark Felder
a4bc665f59 Aggressive LMTP header cleanup
This will remove all headers possible during LMTP delivery.

From: required or core does not process the message correctly.
Also required for cleartext compatibility.

Message-Id: required for clients to know which messages have been
downloaded

Chat-Is-Post-Message: is required for our attachment previews

Content-Type: required

Subject and Date: retained for cleartext compatibility for now
2026-05-13 15:24:25 -07:00

View File

@@ -1,3 +1,23 @@
/^DKIM-Signature:/ IGNORE # List of headers for incoming messages
/^Authentication-Results:/ IGNORE # that must be retained for functionality and compatibility reasons
/^Received:/ IGNORE /^From:/ DUNNO
/^Message-Id:/ DUNNO
/^Chat-/ DUNNO
/^Content-Type:/ DUNNO
# For receiving clear-text messages (still supported in May 2026)
/^Subject:/ DUNNO
/^Date:/ DUNNO
/^To:/ DUNNO
/^CC:/ DUNNO
/^References:/ DUNNO
/^In-Reply-To:/ DUNNO
# Senders might support Autocrypt 1 but not RFC9788 (Header Protection)
/^Autocrypt:/ DUNNO
# SecureJoin V2 protocol headers (for backward compatibility)
/^Secure-Join/ DUNNO
# Ignore all other headers
/.*/ IGNORE