Guide
DKIM results in Authentication-Results: what each means
The dkim= result in an Authentication-Results header is the receiving system’s verdict on a message’s DKIM signatures, one of seven values defined in RFC 8601 §2.7.1. The verdict belongs to the receiver, not to your DNS. The text in brackets after it is a comment the receiver writes, so it differs between receivers. A pass can still fail DMARC.
Where to find the dkim= result
It is in the full message headers, on the line that starts with Authentication-Results. In Gmail, open the message, click More next to Reply and choose Show original, as Gmail Help describes. Google’s DKIM setup page says the results "should say something like DKIM=pass or DKIM=OK".
Microsoft’s headers page gives the syntax dkim=<pass|fail (reason)|none> header.d=<domain>, which has three values. No Microsoft or Google page cited here shows neutral, policy, temperror or permerror as a dkim= result.
The seven values
| Value | RFC 8601 says | Usual cause | Open next |
|---|---|---|---|
| none | "The message was not signed." | Signing is off for the sending system, or the message was not signed. | DKIM test with a real email, How to set up DKIM. |
| pass | "The message was signed, the signature or signatures were acceptable to the ADMD, and the signature(s) passed verification tests." | None. DMARC asks for more. | What is DKIM. |
| fail | "The message was signed and the signature or signatures were acceptable to the ADMD, but they failed the verification test(s)." | The body changed after signing, or the key does not match. | Body hash, signature. |
| policy | "The message was signed, but some aspect of the signature or signatures was not acceptable to the ADMD." | A rule of the receiver. RFC 8601’s examples are a Subject header left unsigned and a signature from another domain. | DKIM header analyzer. |
| neutral | "The message was signed, but the signature or signatures contained syntax errors or were not otherwise able to be processed. This result is also used for other failures not covered elsewhere in this list." | A catch-all. Receivers use it differently. | DKIM header analyzer. |
| temperror | "The message could not be verified due to some error that is likely transient in nature, such as a temporary inability to retrieve a public key. A later attempt may produce a final result." | The lookup of the key failed or timed out. | No key for the selector, DKIM checker. |
| permerror | "The message could not be verified due to some error that is unrecoverable, such as a required header field being absent. A later attempt is unlikely to produce a final result." | No key at the selector, or a malformed signature or key. | No key, selector not found, revoked key. |
dkim=pass is not a DMARC pass
dkim=pass means the signature verified against the published key. Microsoft’s example is dkim=pass (signature was verified) header.d=contoso.com, where header.d= is the signing domain. DMARC then compares that domain with the From domain. RFC 9989 §5.3.5: "If one or more of the Authenticated Identifiers align with the Author Domain, the message is considered to pass the DMARC mechanism check." A signature from another domain can pass DKIM and leave DMARC failing (DKIM vs SPF vs DMARC).
dkim=fail: a signature was there and did not verify
The text in brackets says why. These strings come from the Microsoft and Google pages named. RFC 8601 does not fix the bracket text, so another receiver may word it differently.
| Printed as | Likely cause | Open next |
|---|---|---|
dkim=fail (body hash did not verify) (Microsoft headers page), dkim=fail (body hash didn't verify) (Microsoft troubleshooting page), "body hash did not verify" (Google). | Microsoft: "The message body was modified after signing (for example, by a mailing list, transport rule, or intermediary service)." | Body hash did not verify |
dkim=fail (signature verification failed) (Microsoft troubleshooting page). | Microsoft: "The DKIM public key in DNS doesn't match the private key used to sign the message, or the selector record is missing." | Signature did not verify, no key. |
Two more causes have no receiver string in the sources, and RFC 8301 does not say which dkim= value a receiver prints for them. For a key under 1024 bits, RFC 8301 §3.2 says "Verifiers MUST NOT consider signatures using RSA keys of less than 1024 bits as valid signatures." See RSA key under 1024 bits. For rsa-sha1, RFC 8301 §3.1 says "rsa-sha1 MUST NOT be used for signing or verifying." and that such signatures "have permanently failed evaluation as discussed in Section 3.9 of [RFC6376]". The DKIM header analyzer shows a=, and no diagnostic page covers it.
A key record with t=y tells verifiers not to treat a failed signature differently from unsigned mail (RFC 6376 §3.6.1). See testing mode.
dkim=none: no signature was found
The receiver saw no DKIM-Signature header. Microsoft’s troubleshooting page lists the symptom dkim=none (no signature found) with this cause: "DKIM signing isn't configured for the sending domain, or the message wasn't signed." A key in DNS does not make a system sign.
Find which system sent the message and whether signing is on there (How to set up DKIM), then send a test message from it to the DKIM test with a real email, or paste a received message’s headers into the DKIM header analyzer, which says "No DKIM-Signature found" when there is none.
dkim=neutral and dkim=policy
dkim=neutral is the catch-all in the table. No Microsoft or Google string for it was found. DMARC Report, a third-party site, writes "A dkim=neutral result generally indicates that the signature contains syntax errors or could not be properly processed." To find the cause, paste the message into the header analyzer, where a repeated tag, a missing required tag or an unsupported a= come back as permerror.
dkim=policy means the receiver applied a rule of its own. RFC 8601 gives two examples of a signature a receiver may find unacceptable. One does not cover the Subject header (§2.4), and the receiver may then replace pass with dkim=policy policy.dkim-rules=unsigned-subject. The other is a third-party signature when local policy wants the From domain (§2.7.1). No source checked here says which receivers print it.
dkim=temperror and dkim=permerror
dkim=temperror means a later check may give another answer. Microsoft’s troubleshooting table lists the symptom "DKIM key lookup times out" with this cause: "The DKIM TXT record is too large or the authoritative DNS server is slow to respond, causing lookup timeouts." It does not say which dkim= value that symptom prints. RFC 8601 gives "a temporary inability to retrieve a public key" as its example for temperror. Check the selector with the DKIM checker, then try again later.
dkim=permerror means a later attempt is unlikely to give a different result. Suped shows dkim=permerror (no key for signature) header.d=example.com header.s=selector1 and says "It means the receiving server found a DKIM signature but its DNS lookup did not find the matching public key." Check the selector and domain, then the record (DKIM record reference).
Receivers do not agree on one value per fault, so compare causes, not labels. A missing key is fail on DMARC Report’s invalid-signature page and IPFYI, permerror at Suped and IPFYI, and neutral in the mailauth library and on DMARC Report’s neutral page.
Compare with dkim.fyi
dkim.fyi’s own verification gives pass, fail, permerror, temperror or not_attempted, shown as Pass, Fail, Permanent error, Temporary error and Not attempted. It never gives neutral or policy. The email test can also show a dkim= chip taken from Cloudflare’s Authentication-Results header (or its ARC copy). If the header holds several dkim= results, the chip shows pass when any of them passed, otherwise the first one.
The header analyzer checks the signatures itself and never reads Authentication-Results, so it can disagree with the receiver. It judges expiry (x=) when you run it, verifies rsa-sha1 with a warning although RFC 8301 forbids it, and sees DNS as it is now, with answers up to five minutes old.
- Paste the complete raw message, body included, into the header analyzer. Headers alone give Not attempted, because the body hash is not checked.
- Compare each signature’s status with the receiver’s value. If they differ, check expiry, key changes and rsa-sha1.
Quick answers
- Is dkim=none a failure?
Not under RFC 8601.
nonemeans the message was not signed, andfailneeds a signature that did not verify. Microsoft’s headers page, though, lists "if the message wasn't signed or the signature wasn't verified" underfail (reason).- Can one message show several dkim= results?
Yes. RFC 8601 §2.1: "The header field can appear more than once in a single message, more than one result can be represented in a single header field, or a combination of these can be applied."
Try it
Sources
- RFC 8601: Message Header Field for Indicating Message Authentication Status
- RFC 6376: DomainKeys Identified Mail (DKIM) Signatures
- RFC 8301: Cryptographic Algorithm and Key Usage Update to DomainKeys Identified Mail (DKIM)
- RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance (DMARC)
- Anti-spam message headers - Microsoft Defender for Office 365
- Troubleshoot email authentication in Microsoft 365 - Microsoft Defender for Office 365
- Set up DKIM | Security & data protection | Google Workspace Help
- Troubleshoot DKIM issues | Security & data protection | Google Workspace Help
- Trace an email with its full header - Gmail Help
- Third-party example: What does an ‘invalid DKIM signature’ result mean when shown by a checker? (DMARC Report)
- Third-party example: What Configuration Mistakes Commonly Lead To DKIM Neutral Results For Outbound Email? (DMARC Report)
- Third-party example: DKIM Signature Verification Failures (IPFYI)
- Third-party example: How to understand and resolve a DKIM permerror (no key for signature) in email headers? (Suped)
- Third-party example: DKIM Verification Result Reference (mailauth)