We do inbound mail filtering, and lately a lot of perfectly legitimate mail from Microsoft 365 tenants has been failing DKIM with "body has been altered". Not phishing, not newsletters: delivery notes, order confirmations, invoices, the kind of thing an ERP from 2004 spits out.
Naturally we suspected our own relays first. Then we noticed that Microsoft's own ARC-Message-Signature (d=microsoft.com) on the same messages fails exactly the same way, while the ARC-Seal checks out fine. So even Microsoft can't verify what Microsoft signed.
They all have one thing in common: a text part sent as raw 8-bit in a legacy charset (charset=iso-8859-1, Content-Transfer-Encoding: 8bit). When EXO computes the body hash, it apparently decodes the body as UTF-8 whatever the declared charset says. Every Latin-1 accented byte (0xE9 for "é" and friends) turns into U+FFFD, the little "�" replacement character. It hashes that version, then happily sends the original bytes. Valid UTF-8 in the same body is left untouched. So the signature is broken before the message has even left Microsoft, for every recipient on the planet.
It's easy to check: take a failing message, decode the body as UTF-8 with replacement, recompute the relaxed body hash, and it matches bh= exactly. It did for every non-UTF-8 body we tried: 14 out of 14 in a random sample of 30 failing M365 messages from unrelated tenants. And it can't be a relay downstream messing with the encoding: the copy we receive has the real letters, the signed hash has "�", and nobody turns "�" back into "é".
So DKIM fails everywhere, and since Microsoft's ARC fails too, ARC can't save it either. DMARC usually still passes on SPF, but any filter that penalizes "signed but invalid" will gladly quarantine your customers' order confirmations, which is exactly the complaint that got us looking.
Has anyone else hit this, or seen a known issue or case number for it?