DKIM troubleshooting
Each page explains one finding the dkim.fyi tools report and how to fix it. Find yours by what you see below. To get a finding for your own mail, paste a message into the Headers tool or send a test message to the email check.
Started from the result your mail provider printed? DKIM results in Authentication-Results: what each means
Signature did not verify
The b= signature does not match the signed headers with the published key. What the sig.signature.invalid finding means and what to check first.
The hash of the message body does not match the bh= tag in the DKIM-Signature. What changes a body after signing and how to check a clean copy.
No key, or the key cannot be used
No DKIM key for the signature’s selector
A message names a selector in s= but no DKIM key is published at that name. What the sig.key.unavailable finding means and how to fix it.
No DNS record exists at selector._domainkey.domain. What the dns.nxdomain finding rules out, what it does not, and how to find the right selector.
What it means when a DKIM record has an empty p= tag, why every signature with that selector fails, and when to publish a new key.
Wildcard record under _domainkey
A made-up selector resolves on this domain, so any selector will appear to exist. How dkim.fyi detects a _domainkey wildcard and what to do.
DKIM record in testing mode (t=y)
The DKIM record sets t=y, so receivers treat failed signatures like unsigned mail. What the flag means and when to remove it.
Key too short
The DKIM record holds an RSA key shorter than 1024 bits, which RFC 8301 says verifiers must not accept. What that means and how to replace it.
DKIM RSA key between 1024 and 2047 bits
The DKIM key is RSA of at least 1024 but under 2048 bits: it verifies, but RFC 8301 says signers should use 2048. How to rotate to a longer key.