Topic · Authentication
DKIM body hash
The DKIM body hash is a signed value representing the canonicalized email body.
Email Security Glossary·Practical guidance
01 / How it works
How it works
Verifiers recalculate the hash and compare it with the bh= field before accepting the DKIM signature.
02 / What can go wrong
What can go wrong
Footer injection, MIME rewriting or body changes during transit can produce a body-hash mismatch.
03 / What to check or do
What to check or do
Trace message modifications and separate body-hash errors from DNS-key or header-signature failures.
Practical diagnosis
How to investigate DKIM body hash
- Signal to investigate
- A relay changes the body after signing, making bh= verification fail.
- Evidence to collect
- Inspect transformations such as footers, MIME rewriting and content re-encoding on the route.
- Common wrong conclusion
- A body hash mismatch can reflect benign modification, not necessarily attacker tampering.
NEXT STEP
Put this into practice
Run a focused check, then explore protection if your domain needs it.