Forum Discussion
Jesse Thompson
Jan 11, 2018Copper Contributor
Exchange Online Protection modifying MIME parts of inbound messages
Is it normal for Exchange Online Protection to modify the body of messages in transit? It seems like this would break DKIM, S/MIME, and PGP signatures, among other concerns.
Body of message in...
VasilMichev
Jan 11, 2018MVP
Those seem like just additional headers that are added by EOP, or am I missing something here?
Jesse Thompson
Jan 11, 2018Copper Contributor
They are not being added as headers of the message, as defined by https://tools.ietf.org/html/rfc5322 (which would not affect the DKIM signature). They're being added as MIME body part headers within a multipart construct, as defined by https://tools.ietf.org/html/rfc2045 (DKIM does not have a mechanism for signatures to survive this type of modification.)
This makes it impossible for clients to validate DKIM signatures, which seems to not honor the spirit of the DKIM internet standard https://tools.ietf.org/html/rfc6376
2.2. Verifiers Elements in the mail system that verify signatures are referred to as Verifiers. These may be MTAs, Mail Delivery Agents (MDAs), or MUAs. In most cases, it is expected that Verifiers will be close to an end user (reader) of the message or some consuming agent such as a mailing list exploder.
I'm wondering if that's intentional.
- monperrusMay 25, 2024Copper ContributorI confirm that it is impossible to do DKIM verification on Exchange/outlook.
For the record, see
* https://github.com/lieser/dkim_verifier/issues/300
* https://techcommunity.microsoft.com/t5/microsoft-365/dkim-verification-broken-on-outlook-365-exchange-because-of/m-p/4064180#M51766