DKIM guide
DKIM fail means a signature on your email didn’t check out. Here is why it happens, what “body hash did not verify” means, and how to fix each cause.
The email carried a DKIM signature, but the inbox couldn’t verify it. Either it couldn’t find the public key in your DNS, or the email changed after it was signed. You’ll see dkim=fail in the email’s headers, often with a reason in brackets.
This reason means the body of the email changed between being signed and being checked. Common culprits:
Fix it by making the change happen before the email is signed, or by turning the change off. If a mailing list does it, that list’s own DKIM signature should cover the forwarded copy.
selector._domainkey is missing, mistyped or was removed during a key change.Check the key is published with the DKIM checker. Use the selector from the email’s DKIM-Signature line (the s= value).
Send a test to a Gmail address, open Show original and read the DKIM result and reason.
Find what changes the email on the way out: gateways, signature tools, footers.
Republish the key from your email provider if it’s missing or out of date: see the guides for Google Workspace and Microsoft 365.
Tools for this job
Sponsored
EasyDMARC
EasyDMARC watches your SPF, DKIM and DMARC for you and turns DMARC reports into plain English.
Sponsored
Premium Inboxes
Setting up new sending domains? Premium Inboxes adds SPF, DKIM and DMARC for you and loads the inboxes into your sending tool.