- There are two ways to check your email authentication: validate the published records with dedicated checkers, and read the real verdict a receiver gave in the Authentication-Results header of a delivered message.
- SPF results include pass, fail, softfail, neutral, none, permerror, and temperror; only pass is fully healthy, and permerror usually means a broken or over-complex record.
- DKIM results are pass, fail, or none; a fail usually means the message was altered in transit or the signing is misconfigured, and none means no signature was found.
- DMARC passes when at least one of SPF or DKIM both passes and aligns with the visible From domain; alignment, not just a raw pass, is what DMARC actually checks.
- A healthy message shows spf=pass, dkim=pass, and dmarc=pass together in the header; any fail, softfail, neutral, or none means something is not fully passing and needs fixing.
Your email authentication is only as good as its real-world behavior, and intentions do not count. You can believe your SPF, DKIM, and DMARC are configured correctly and still be failing at the receiver because of a subtle misalignment, a broken record, or a third-party sender you forgot about. The only way to know is to check, and checking properly means two complementary things: validating the records you published, and reading the verdict an actual mailbox provider returned when it received your mail.
This is the complete, hands-on guide to doing both. We will cover the tools that validate each record, how to find and read the Authentication-Results header where the real verdicts live, every possible result value for SPF, DKIM, and DMARC and what each one means, how alignment works (the part most people miss), and how to fix each failure. If you want to actually confirm your email authentication works rather than hope it does, this is the process.
The Two Ways to Check
Authentication checking happens at two levels, and you need both.
The first is validating the published records. Dedicated checkers query your DNS, parse your SPF, DKIM, and DMARC records, and tell you whether they are syntactically valid, complete, and free of common errors. Use an SPF checker, a DKIM checker, and a DMARC checker for this. This confirms the records exist and are well-formed, which is necessary but not sufficient.
The second is reading the real verdict. The ultimate test is what an actual receiving server decided when it got your mail, and that is recorded in the Authentication-Results header of any message you send to an account you control. Validating records tells you the configuration looks right; reading the header tells you it actually worked for a real send. Do both, because records can be valid yet still fail alignment in practice.
How to Find the Authentication-Results Header
The real verdicts live in the raw headers of a message you received. Send an email from your domain to an account you can open, then view the full headers:
- Gmail: open the message, click the three-dot menu, and choose Show original.
- Outlook: open the message, then File, Properties, and read the Internet headers box.
- Apple Mail: open the message, then View, Message, Show Raw Source (or Show All Headers).
In the raw text, search for the line beginning Authentication-Results. This is where the receiving server records what it concluded about your SPF, DKIM, and DMARC. All three results typically appear in the same header block, and their order does not matter. A simplified healthy example looks like this:
Authentication-Results: mx.google.com;
spf=pass smtp.mailfrom=brand.example;
dkim=pass header.d=brand.example;
dmarc=pass header.from=brand.example
Reading this one header is the single most informative authentication check you can perform, because it is the actual decision a real provider made, not a prediction. You can also paste the full header into a header analyzer to have the results parsed and explained for you.
Reading SPF Results
SPF can return several result values, and only one is fully healthy. The value appears as spf=RESULT in the header, usually alongside smtp.mailfrom showing the domain that was checked.
| Result | Meaning | Action |
|---|---|---|
| pass | The sending IP is authorized by your SPF record | Healthy, no action |
| fail | The sending IP is not authorized (a hard fail, -all) | Add the legitimate source to your record, or investigate spoofing |
| softfail | The IP is not authorized but only soft-failed (~all); delivery allowed but flagged as suspicious | Confirm all legitimate sources are included, then consider hardening |
| neutral | The record explicitly takes no position (?all), often during testing | Move toward a definitive policy once sources are confirmed |
| none | No SPF record was found, so the check was not run | Publish an SPF record |
| permerror | A permanent error, usually a broken record or exceeding the 10 DNS lookup limit | Fix the record; flatten includes to stay under the lookup limit |
| temperror | A temporary DNS error during evaluation | Usually transient; recheck, and fix DNS reliability if it persists |
The two that catch people out are softfail and permerror. A softfail means your record ends in ~all and the IP was not listed, so mail is delivered but treated with suspicion; the fix is to make sure every legitimate sending source is included. A permerror is often caused by too many DNS lookups: SPF allows a maximum of 10 nested lookups, and exceeding it breaks the record entirely. For the full fix, see our guide on the SPF ten-lookup limit.
Reading DKIM Results
DKIM is simpler, with three main results, shown as dkim=RESULT usually alongside header.d, the domain that signed the message.
- pass: the signature matched your published public key, proving the message genuinely came from the signing domain and was not altered. This is what you want.
- fail: the signature did not match, most often because the message was modified in transit (a mailing list or forwarder altering content), or because DKIM signing is misconfigured. Investigate what is changing the message or fix the signing setup.
- none: no DKIM signature was found on the message at all, so there was nothing to verify. The fix is to enable DKIM signing on your sending domain.
The most important DKIM detail is header.d, the signing domain. For DMARC to pass via DKIM, this signing domain has to align with your visible From domain, which brings us to the concept that ties everything together.
The Part Everyone Misses: Alignment
Here is what trips up the most senders: SPF and DKIM can each return pass while DMARC still fails, because DMARC does not just check that SPF or DKIM passed, it checks that they passed and aligned with the domain in your visible From address.
- SPF alignment compares the domain in smtp.mailfrom (the Return-Path, the envelope sender SPF actually checks) against the domain in your From header. If they match (within the alignment mode), SPF is aligned.
- DKIM alignment compares header.d (the DKIM signing domain) against your From domain. If they match, DKIM is aligned.
DMARC passes when at least one of SPF or DKIM both passes and is aligned. This is why a message can show spf=pass and dkim=pass yet dmarc=fail: if the passing authentication was for a different domain than your From address (common with third-party senders that sign with their own domain or use their own Return-Path), nothing aligned, and DMARC fails. When you see dmarc=fail despite passing SPF or DKIM, alignment is almost always the culprit.
A passing SPF or DKIM is not the same as a passing DMARC. This is the most expensive misunderstanding in email authentication. Senders see spf=pass in the header, assume they are protected, and are baffled when mail still fails DMARC or gets spoofed. DMARC only cares about authentication that aligns with your visible From domain. A third-party tool that sends with its own Return-Path (breaking SPF alignment) and signs with its own domain (breaking DKIM alignment) can show both SPF and DKIM passing while DMARC fails completely, because neither aligned to your From. Always check alignment, not just the raw pass or fail.
Reading DMARC Results and Fixing Failures
DMARC shows as dmarc=pass or dmarc=fail, usually with header.from naming the domain evaluated. A pass means at least one of SPF or DKIM passed and aligned, so the message is authenticated as genuinely from your domain. A fail means neither aligned, which under an enforcement policy (p=quarantine or p=reject) sends the message to spam or rejects it.
When DMARC fails, work through the causes in order:
- Check SPF alignment. Does smtp.mailfrom use your domain, or a third party's Return-Path? If a sending tool uses its own Return-Path, configure a custom Return-Path on your domain so SPF aligns.
- Check DKIM alignment. Does header.d match your From domain? If a tool signs with its own domain, set up DKIM signing on your domain so the signature aligns.
- Confirm the underlying checks pass at all. If SPF is permerror or DKIM is fail, fix those first, because alignment is irrelevant if the check itself does not pass.
- Use your DMARC reports. The aggregate reports you receive at a DMARC rua address show every source sending as your domain and whether each aligns, which is how you find the legitimate sources that need fixing before you enforce.
Validate the published record with a DMARC checker, and for the full deployment path from monitoring to enforcement, see our email authentication guide.
Test every sending source separately, not just your main mail server. The authentication gap that burns senders is almost never their primary platform; it is the forgotten third-party source, the invoicing tool, the help desk, the marketing platform, the notification service, each of which sends as your domain and each of which has to align independently. Send a real test message through each one to an account you control, read the Authentication-Results header for that specific send, and confirm spf, dkim, and dmarc all pass and align for it. A source that passes in isolation but fails alignment is exactly what a DMARC reject policy will silently block, so you want to find it in a test, not in a customer complaint. Check each faucet, not just the main pipe.
The Bottom Line
Checking your email authentication is not optional guesswork; it is a concrete, two-part process. Validate your published SPF, DKIM, and DMARC records with dedicated checkers, then read the real verdict in the Authentication-Results header of a message you actually sent, parsing it yourself or through a header analyzer. Learn what every result means: for SPF, only pass is fully healthy and permerror usually means a broken or over-complex record; for DKIM, pass is good and fail usually means alteration or misconfiguration; and for DMARC, remember that it checks alignment, not just a raw pass, so SPF and DKIM passing is not the same as DMARC passing. Test every sending source, fix the alignment failures you find, and confirm with a fresh header. Do that, fold it into an ongoing deliverability practice, and you move from hoping your authentication works to knowing it does.
Frequently Asked Questions
Send an email from your domain to an account you control, then open the raw headers (Gmail: Show original; Outlook: File, Properties, Internet headers; Apple Mail: Show Raw Source) and find the Authentication-Results line. It records the receiving server's verdict as spf=, dkim=, and dmarc= results. A healthy message shows spf=pass, dkim=pass, and dmarc=pass together. You can also paste the header into a header analyzer, and separately validate your published records with dedicated SPF, DKIM, and DMARC checkers to catch syntax errors.
A softfail (from a record ending in ~all) means the sending IP is not listed in your SPF record, but the policy says to allow delivery while flagging the message as suspicious rather than rejecting it outright. Delivery is permitted, but some filters treat softfailed mail as less trustworthy. The usual cause is a legitimate sending source that was never added to your SPF record, so the fix is to confirm every legitimate source is included. Once you are confident all sources are listed, you can consider hardening the record toward a hard fail.
Because DMARC checks alignment, not just a raw pass. It requires that at least one of SPF or DKIM both passes and aligns with the domain in your visible From address. SPF alignment compares the Return-Path (smtp.mailfrom) domain to your From domain; DKIM alignment compares the signing domain (header.d) to your From domain. A third-party sender that uses its own Return-Path and signs with its own domain can show spf=pass and dkim=pass while dmarc=fail, because neither aligned to your From. When this happens, fix alignment by setting a custom Return-Path and DKIM signing on your domain.
A permerror is a permanent SPF error, most often caused by exceeding the limit of 10 DNS lookups that SPF evaluation allows, though it can also come from a malformed record. When SPF hits a permerror, the check effectively fails and your authentication suffers. The fix is to reduce the number of nested lookups by flattening or consolidating your include mechanisms so you stay under the 10-lookup limit, and to correct any syntax errors. Validate the result with an SPF checker after each change to confirm the permerror is resolved.
A DKIM fail means the signature on the message did not match your published public key, so the receiver could not verify the message was genuinely from the signing domain and unaltered. The most common cause is that the message was modified in transit, for example by a mailing list or forwarder that changed the content or headers, which breaks the signature. It can also mean DKIM signing is misconfigured. Investigate what might be altering your messages, and confirm your DKIM signing is set up correctly on the sending domain, then retest with a fresh message.