fix: ensure message content is not modified by header filter
Due to an oversight, one of the header filters has potentially modified
the message body, leading to broken cryptographic signatures.
Switch to the Message-Id instead of the Content-Type header, which is
usually only present in the global header.
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Reported-by: Cole Young <cole@young.sh>
Fixes: 009237cc
("chore: Prevent Microsoft MUAs from sending reactions (#4120)")
This commit is contained in:
parent
70d645d863
commit
1f07f39d87
|
@ -8,4 +8,5 @@
|
||||||
/^\s*X-Mailer/ IGNORE
|
/^\s*X-Mailer/ IGNORE
|
||||||
/^\s*X-Originating-IP/ IGNORE
|
/^\s*X-Originating-IP/ IGNORE
|
||||||
/^\s*Received: from.*127.0.0.1/ IGNORE
|
/^\s*Received: from.*127.0.0.1/ IGNORE
|
||||||
/^Content-Type:/i PREPEND X-MS-Reactions: disallow
|
/^X-MS-Reactions:/ IGNORE
|
||||||
|
/^Message-Id:/i PREPEND X-MS-Reactions: disallow
|
||||||
|
|
Loading…
Reference in New Issue