mirror of
https://github.com/chatmail/relay.git
synced 2026-05-13 09:24:43 +00:00
Aggressive LMTP header cleanup
This will remove all headers possible during LMTP delivery. From: required or clients do not process the message correctly 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: required due to test assertions
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/^DKIM-Signature:/ IGNORE
|
||||
/^Authentication-Results:/ IGNORE
|
||||
/^Received:/ IGNORE
|
||||
/^From:/ DUNNO
|
||||
/^Message-Id:/ DUNNO
|
||||
/^Chat-Is-Post-Message:/ DUNNO
|
||||
/^Content-Type:/ DUNNO
|
||||
/^Subject:/ DUNNO
|
||||
/.*/ IGNORE
|
||||
|
||||
Reference in New Issue
Block a user