Diagnostic
DKIM body hash did not verify
Error · sig.body_hash.mismatch
Computed body hash <computed hash> does not match bh=<bh value>.
What it means
When the signer signed the message, it hashed the body and put the result in the bh= tag. dkim.fyi repeats that step on the body you pasted: it canonicalises the body with the method in c= (simple or relaxed), cuts it to l= bytes if that tag is set, and hashes it with the signature’s algorithm. The two hashes differ, so the signature’s result is “fail”.
The body was altered in transit, copied with changed whitespace or encoding, or is incomplete. Simple body canonicalisation ignores only empty lines at the end; relaxed also ignores whitespace at line ends and the length of runs of spaces or tabs. Any other change to the text breaks the hash.
The header signature is checked separately. If it verifies while the body hash fails, the signed headers arrived intact and the difference is in the body.
Only the Headers page checks body hashes, and only when you paste the body as well. With headers alone, the result is “not attempted”. The email check never reads the body. If l= is larger than the body, you get a different finding, sig.body_length.exceeds.
How to fix it
- Copy the message again from the receiving mailbox’s raw view (“Show original” or “View source”), including the blank line after the headers and the whole body, and paste that.
- If the copy is complete and the body hash still fails, look at what handles the message after it is signed: a system that rewrites or adds to the body breaks the hash.
- If the only changes on the way are whitespace at line ends or the length of runs of spaces, signing with relaxed body canonicalisation (
c=relaxed/relaxed) tolerates them. - Send a fresh message and analyse it to confirm the fix.