What is the difference between dkim=none, dkim=neutral and dkim=fail?
dkim=none means the message carried no DKIM signature at all. dkim=neutral means a signature was present but could not be processed, often because of a syntax problem. dkim=fail means the signature was processed and the cryptographic check failed. For DMARC, all three count the same: none of them is an aligned DKIM pass.
The result codes come from RFC 8601 Section 2.7.1, the standard that defines the Authentication-Results header. It lists seven values for the dkim method: none, pass, fail, policy, neutral, temperror and permerror. This guide explains each one, what usually causes it and what an MSP (managed service provider) engineer should check next.
If you need to find the right header first, start with how to read email headers. For DKIM basics, see the DKIM guide.
Key takeaways
nonemeans unsigned,failmeans the signature broke, andneutralmeans the receiver could not process the signature or hit an error that fits no other code.temperroris a transient problem such as a DNS timeout.permerroris a permanent one, such as a missing key or a required header field that is absent.- The bracketed comment after the result, for example
(body hash did not verify), is free text from the receiver and is usually more useful than the code itself. - DMARC under RFC 9989 only counts a DKIM pass whose
d=domain aligns with the From domain. Every other result, and any unaligned pass, contributes nothing. - Aggregate reports under RFC 9990 use the same seven values, so header triage and report triage share one vocabulary.
What do all seven DKIM result values mean?
Each value describes what happened when the receiver tried to verify the signature. The definitions below follow RFC 8601 Section 2.7.1, where "acceptable to the ADMD" means acceptable under the receiving organisation's (the Administrative Management Domain's) local policy.
| Result | What RFC 8601 says it means | Common causes | What to do |
|---|---|---|---|
pass |
Signed, the signature was acceptable to the receiver, and it passed verification | Working DKIM | Check that header.d aligns with the From domain |
none |
"The message was not signed" | DKIM never enabled for the domain or platform; a sending service that does not sign; a relay stripped the signature | Enable signing with the client's own domain for that source |
fail |
Signature acceptable to the receiver but "failed the verification test(s)" | Body changed in transit; signed headers changed; public key in DNS does not match the private key | Read the comment, then compare the key, the selector and the path |
neutral |
Signature had syntax errors or could not be processed, plus "other failures not covered elsewhere" | Malformed DKIM-Signature header, unsupported tag values, receiver-specific failures |
Inspect the signature header and the receiver's comment |
policy |
Signed, but some aspect of the signature was "not acceptable to the ADMD" | Receiver rejects the algorithm, key length or another property under local rules | Upgrade the key or algorithm, see RFC 8301 below |
temperror |
A likely transient error, such as a temporary inability to retrieve the public key | DNS timeout or SERVFAIL at the client's DNS host | Retest; check DNS hosting health if it repeats |
permerror |
An unrecoverable error, such as a required header field being absent | No key published at the selector, broken TXT record, missing signed header | Fix the DNS record or the signer configuration |
Two points are easy to miss. First, receivers choose which code to use for borderline cases, so the same fault can appear as fail at one receiver and neutral or permerror at another. Second, a message can carry several signatures, and a receiver can report a separate dkim= result for each one.
What does dkim=none mean?
dkim=none means the receiver found no DKIM signature to verify. It is not a verdict on the domain's DNS. A domain can publish a perfectly good public key and still produce dkim=none if the sending platform never signs with it.
A typical header for unsigned mail:
Authentication-Results: mx.example.net;
dkim=none (message not signed) header.d=none;
spf=pass (sender IP is 192.0.2.25) smtp.mailfrom=example.com;
dmarc=pass action=none header.from=example.com
The most common cause in Microsoft 365 tenants is a custom domain that was added but never had DKIM switched on. Microsoft's DKIM configuration guide states that "no DKIM signing occurs for outbound mail from custom domains" until you configure it, while mail from the initial onmicrosoft.com domain is signed automatically. The fix is in the Defender portal under Email & collaboration > Policies & rules > Threat policies > Email authentication settings, on the DKIM tab, followed by publishing the two selector1._domainkey and selector2._domainkey CNAME records. Our DKIM setup guide walks through Microsoft 365, Google Workspace and common ESPs (email service providers).
Microsoft's anti-spam message headers page adds a nuance: none "might or might not indicate that the domain has a DKIM record". In other words, do not read dkim=none as "the DKIM record is missing". Check the sending platform first.
What does dkim=neutral mean?
dkim=neutral means the receiver saw a signature but could not complete a normal verification. RFC 8601 uses it for signatures with syntax errors or that "otherwise could not be processed", and as a catch-all for failures that fit no other code. It is neither a pass nor an explicit cryptographic failure.
Authentication-Results: mx.example.net;
dkim=neutral (bad format) header.d=example.com header.s=sel1;
spf=pass smtp.mailfrom=bounce.example.com;
dmarc=pass header.from=example.com
Because neutral is a catch-all, the bracketed comment matters more than the code. Possible triggers include:
- A malformed signature header. A missing required tag or an invalid tag value. RFC 6376 calls these "signature syntax error" and "signature missing required tag".
- A signature the receiver cannot process. For example, an algorithm or canonicalisation value it does not support.
- Receiver-specific choices. Some receivers record conditions such as "body hash did not verify" as
neutralrather thanfail. Treat the comment as the real diagnosis.
If the comment mentions the body hash, use the body hash troubleshooting guide. If it points at the signature format, the fault is with the signer, so raise it with whoever operates that sending platform.
What does dkim=fail mean?
dkim=fail means the receiver processed the signature, fetched a key and the verification failed. Something about the message or the key no longer matches what the signer produced. It is the most actionable of the non-pass results, because the comment usually names the step that failed.
Authentication-Results: mx.example.net;
dkim=fail (signature did not verify) header.d=example.com header.s=sel1;
spf=fail smtp.mailfrom=example.com;
dmarc=fail action=quarantine header.from=example.com
The two most common comments come from RFC 6376 Section 6.1.3:
- "body hash did not verify": the body changed after signing. Footers, banners, link rewriting and MIME re-encoding are the usual causes. The full workflow is in dkim=fail (body hash did not verify).
- "signature did not verify": the body matched, but the signed headers changed or the public key does not match the private key. Look at headers listed in
h=, a subject tag added by a list, or a key rotated in the platform but not yet published in DNS. How to rotate DKIM keys safely covers the timing.
Microsoft documents fail (reason) with the example dkim=fail (body hash did not verify), and its description notes that the reason can include a message that "wasn't signed". So in Microsoft 365 headers, always read the reason rather than assuming fail means a broken signature.
What do dkim=policy, temperror and permerror mean?
These three are less common but point at different owners. policy is a receiver rule, temperror is usually DNS hosting, and permerror is usually the client's DNS record or the signer's configuration.
When does a receiver return dkim=policy?
A receiver returns policy when the signature was technically processed but breaks its local rules. Key strength and algorithm are the clearest examples. RFC 8301 says "rsa-sha1 MUST NOT be used for signing or verifying" and that verifiers "MUST NOT consider signatures using RSA keys of less than 1024 bits as valid signatures." A receiver may report such a signature as policy, fail or permerror. Either way, the fix is a 2048-bit RSA key with rsa-sha256; see DKIM key length: 1024 vs 2048.
What causes dkim=temperror?
temperror means the receiver hit a probably transient problem, typically a DNS lookup for the public key that timed out. RFC 6376 Section 6.1.2 calls this TEMPFAIL (key unavailable). One occurrence is noise. A pattern across receivers points at the client's DNS host or a misconfigured delegation for _domainkey.
What causes dkim=permerror?
permerror means the receiver hit an error that retrying will not fix. In RFC 6376 terms this covers reasons such as "no key for signature" (nothing published at <selector>._domainkey.<domain>), "key syntax error", "key revoked" (an empty p= value) and "inappropriate key algorithm". RFC 8601's own example is a required header field being absent. Check the selector in the s= tag against DNS, as described in how to check if DKIM is working, and confirm a long 2048-bit key was not truncated when it was split into TXT strings.
Which RFC 6376 failure reasons map to which result?
RFC 6376 does not use the RFC 8601 codes. It describes verifier outcomes as SUCCESS, PERMFAIL or TEMPFAIL, each with an explanation in brackets. Receivers translate those into Authentication-Results codes, and many copy the explanation into the comment. The mapping below is typical, not mandated.
| RFC 6376 reason (Section) | Likely result code | Where to look |
|---|---|---|
| signature syntax error, signature missing required tag, incompatible version (6.1.1) | neutral or permerror |
The DKIM-Signature header from the signer |
| domain mismatch, From field not signed (6.1.1) | permerror or fail |
Signer settings: i= must sit within d=, and h= must include From |
| signature expired (6.1.1) | fail or permerror |
The x= tag; verifiers MAY treat expired signatures as invalid |
| key unavailable, TEMPFAIL (6.1.2) | temperror |
DNS hosting health |
| no key for signature, key syntax error, key revoked, inappropriate key algorithm, inappropriate hash algorithm (6.1.2) | permerror |
The TXT record at the selector |
| body hash did not verify (6.1.3) | fail, sometimes neutral |
Hops that modify the body |
| signature did not verify (6.1.3) | fail |
Signed headers and the public key |
RFC 6376 also tells verifiers how to treat a broken signature. Section 6.1 says a verifier "SHOULD NOT treat a message that has one or more bad signatures and no good signatures differently" from an unsigned message. That is why fail, neutral and none behave the same in DMARC evaluation.
How does DMARC use DKIM results?
DMARC uses only one DKIM outcome: a pass from a signature whose d= domain aligns with the From domain. RFC 9989 Section 4.4.1 says a message produces a DMARC pass "if any DKIM-Authenticated Identifier aligns with the Author Domain", and only a validated signature produces such an identifier.
That has three practical consequences:
- A pass can still be useless.
dkim=pass header.d=sendingplatform.exampledoes nothing for mail fromexample.com. Alignment is relaxed by default (adkim=r), somail.example.comaligns withexample.com, but a vendor's domain never does. See DMARC alignment explained, and the gappssmtp.com article for a Google Workspace example. - One aligned pass is enough. If a message carries two signatures and one fails, the aligned pass still satisfies DMARC.
- Without an aligned DKIM pass, DMARC depends on SPF. SPF breaks on forwarding, so a source that only passes DMARC through SPF is fragile. The forwarding guide explains why.
Before moving a client from p=none to p=quarantine and then p=reject, make sure every legitimate source produces an aligned DKIM pass, not just an SPF pass.
How do DKIM results appear in DMARC aggregate reports?
Aggregate reports record DKIM results with the same seven values. The schema in RFC 9990 Appendix A defines DKIMResultType as none, pass, fail, policy, neutral, temperror and permerror, with a comment pointing to RFC 8601 Section 2.7.1.
Each <dkim> entry under <auth_results> carries the signing domain, the selector, the result and an optional human_result for extra text. A simplified row:
<auth_results>
<dkim>
<domain>example.com</domain>
<selector>sel1</selector>
<result>fail</result>
<human_result>body hash did not verify</human_result>
</dkim>
<spf>
<domain>example.com</domain>
<result>pass</result>
</spf>
</auth_results>
Two details help with triage:
- The
<dkim>element is optional and repeatable. The schema allows zero or more, and RFC 9990 Section 3.1.1.11 requires results for any signature where validation was attempted. Unsigned mail typically shows no<dkim>entry rather than anoneresult. policy_evaluatedholds onlypassorfail. That field records the DMARC-aligned outcome. A row can show<result>pass</result>underauth_resultsand stillfailunderpolicy_evaluated, which means the signature passed but did not align.
The RFC 9990 explainer and aggregate reports explained cover the rest of the format.
What do Microsoft 365 and Gmail show?
Both use RFC 8601 style results, but each documents its own details.
- Microsoft 365 (Exchange Online Protection). Microsoft documents
pass,fail (reason)andnonefor thedkim=field, with the syntaxdkim=<pass|fail (reason)|none> header.d=<domain>. Itscompauthreason code108means "DKIM failed due to a message body modification attributed to previous legitimate hops." - Gmail. Google's Troubleshoot DKIM issues article says to open the message, choose More then Show original, and read the
Authentication-Resultsheader. It also says Gmail checks only the first five signatures in order, so the authenticating one must be among them. Google does not document which code it uses for each failure, so rely on the comment.
You can paste any header into our email header analyser to pull out each dkim= result with its header.d and header.s.
How should an MSP triage DKIM results across clients?
Start from the result code, then work out who owns the fix. In a multi-client portfolio, the owner is often a third-party platform rather than the client's own mail system.
- Find the right
Authentication-Resultsline. Use the one added by the final receiving system, not a copy further down. - List every
dkim=entry. Noteheader.d,header.sand the comment for each signature. - Check alignment before anything else. If any entry is
passwith an alignedheader.d, DKIM is fine for DMARC and the other entries are informational. - Route by code.
nonegoes to whoever runs the sending platform.failgoes to the mail path (body) or the key (signature).neutralandpolicygo to the signer.temperrorandpermerrorgo to DNS. - Confirm at scale. Filter aggregate reports by source and selector to see whether the result affects one message, one receiver or every receiver.
- Record the fix. Keep a selector register per client so new platforms, key rotations and offboarding do not leave orphaned or missing keys. DKIM management for MSPs has a template approach.
For UK clients, the NCSC's DMARC recommendations include collecting aggregate reports, which is where a dkim=none source usually first shows up. DMARC AI monitors aggregate reports for all client domains in one multi-tenant view and uses AI to classify sending sources, so a source that never signs is easier to spot.
Frequently asked questions
Is dkim=neutral a pass or a fail?
Neither. RFC 8601 uses neutral when a signature could not be processed, for example because of a syntax error, and for failures not covered by other codes. For DMARC it counts the same as a failure: it is not an aligned DKIM pass, so DMARC must rely on another signature or on aligned SPF.
Does dkim=none mean my DKIM record is missing?
Not necessarily. dkim=none means the message was unsigned. The domain may publish a valid key that the sending platform never uses. In Microsoft 365, custom domains are not signed until DKIM is enabled in the Defender portal. Check the platform's signing settings before editing DNS.
Can DMARC pass when DKIM shows fail?
Yes. DMARC passes if any DKIM signature passes with an aligned d= domain, or if SPF passes with an aligned envelope domain. A failed signature alongside an aligned SPF pass still gives dmarc=pass. That situation is fragile, because forwarding breaks SPF and would then leave no aligned pass.
What is the difference between dkim=permerror and dkim=temperror?
temperror is transient, usually a DNS timeout when fetching the public key, and a retry may succeed. permerror is permanent: no key at the selector, a malformed key record, a revoked key or a missing required header. Repeated temperror points at DNS hosting; permerror points at the record or signer.
Why does the same message show different DKIM results at different receivers?
Each receiver verifies independently and chooses its own codes for borderline cases. One may report a body change as fail, another as neutral. Intermediaries can also modify mail on one path but not another. Compare the bracketed comments and the Received chain rather than the codes alone.
Final thoughts
The DKIM result code tells you which stage of verification stopped: no signature, an unreadable signature, a failed check, a receiver rule or a DNS problem. The comment tells you why. DMARC cares about only one outcome, an aligned pass, so triage always ends with the same question: does every legitimate source sign with the client's own domain?
For a broader list of what goes wrong after DKIM is fixed, see common DMARC errors and how to fix them.