Skip to main content
Enter TitanOS

Email authentication error

Email header analysis: reading SPF, DKIM and DMARC pass and fail

Every email carries a block of technical lines called headers, and one of them records whether the receiving server accepted the message as genuine. That line is Authentication-Results. Reading it takes a few minutes and tells you whether SPF, DKIM and DMARC passed, and for which domain.

By Kyle Deligny, Titanos, Brisbane. Last reviewed 1 December 2026. General information, not legal advice.

Headers are the first thing to check when mail goes missing, lands in spam or looks suspicious. This page shows how to open them, which lines matter and what the common results mean. The header format itself comes from RFC 5322, and the results line from RFC 8601.

How to see the full headers

In Gmail, open the message, choose the three dots and select Show original. In Outlook on the web, open the message, choose the three dots, then View, then View message source. In desktop Outlook, open the message in its own window and look under File, then Properties. Apple Mail has View, then Message, then All Headers.

Copy the text into a plain document so you can search it. Headers are written from the bottom up for the Received lines, so the earliest server that handled the message is at the bottom of the list and your own receiving server is at the top.

The lines worth reading

From is the address people see. Return-Path is the hidden envelope sender that SPF checks. Message-ID, Date and Subject help you match the message to a log entry. The Received lines show each server that handled it, with a time stamp.

Authentication-Results is added by the receiving server, so you can trust it more than lines added by the sender. Treat any such line that appears below your own receiving server's entry with caution, since a sender can add a false one before it enters the chain.

Reading Authentication-Results

A typical line contains three results in the form spf=pass, dkim=pass and dmarc=pass, each followed by detail in brackets or after a keyword. For SPF, look at smtp.mailfrom, which is the domain that was checked. For DKIM, look at header.d, the domain that signed the message. For DMARC, look at header.from, the visible domain.

The words used are defined in the standards. Pass means the check succeeded. Fail means it was checked and did not match. Softfail on SPF means the domain says the sender is probably not allowed, a milder verdict. Neutral and none mean the domain gave no clear answer or no record. Temperror and permerror mean a DNS problem, which can be temporary, or a broken record, such as the 10 lookup limit in RFC 7208.

Common Authentication-Results values and what they suggest
ResultMeaningWhat to check
spf=passSending server is listed for the envelope domainIs that domain also your From domain?
spf=softfailServer is probably not allowedMissing sender in your SPF record
dkim=passSignature verified for header.dDoes header.d match your From domain?
dkim=failSignature did not verifyMessage altered, or wrong key published
dmarc=passSPF or DKIM passed and alignedNone needed
dmarc=failNeither passed in alignmentSet up DKIM signing for your domain

Pass does not always mean aligned

A message can show spf=pass and dkim=pass and still fail DMARC. This happens when both checks passed for the service's own domain, such as a mail platform's bounce domain, and neither domain matches your From address. DMARC requires alignment, as set out in RFC 7489. Compare the domains in smtp.mailfrom and header.d against header.from. Our page on alignment goes further.

Forwarded mail adds another wrinkle. The forwarding server may break SPF, and a changed body can break DKIM. If the headers include ARC lines, they carry the earlier results forward, as described in our page on ARC.

Spotting a spoofed message

In a spoofed message, the From domain is yours, but the lowest Received lines show a server you do not recognise, and Authentication-Results shows spf=fail or none with no aligned DKIM. If your domain has a reject policy, such a message should not have been delivered at all, which is worth checking against your DMARC record. For what to do next, see our page on spoofing of your domain.

Reading a message header in order

  1. Open the message source or full headers and copy them into a text document.
  2. Find the Authentication-Results line added by your own receiving server.
  3. Note the spf, dkim and dmarc results.
  4. For SPF, note the domain in smtp.mailfrom.
  5. For DKIM, note header.d and the selector in header.s.
  6. For DMARC, note header.from and the policy shown.
  7. Check that the SPF and DKIM domains match the From domain.
  8. Read the Received lines from the bottom to find the first server that handled the message.
  9. Compare that server's address with your sending services.
  10. Fix any fail by correcting the DNS record for the service involved.

Questions people ask

Can I trust the Authentication-Results line?

Trust the line added by your own receiving server. A sender can insert a false line earlier in the chain, so ignore results from servers you do not run or recognise.

What is the difference between spf=fail and spf=softfail?

Fail means the domain's record excludes the sending server outright. Softfail means the record marks it as probably not allowed, usually from a ~all ending.

Why does DMARC fail when SPF and DKIM both pass?

Neither passing domain matched the From domain. DMARC requires at least one pass in alignment with the visible From address.

Do I need special tools to read headers?

No. A text editor is enough, although online header analysers lay the same data out in a table.

Where to from here

The free privacy policy audit reads your published privacy policy against the Australian Privacy Principles and tells you what is missing. Privacy Care keeps your policy and your shopper data practices current for AU$149 a month, with a 3-month minimum. Would it be okay if we showed you what the audit finds? A no is welcome.

Get the free auditSee Privacy CareBook a call

Sources

  1. RFC 5322, Internet Message Format
  2. RFC 8601, Message Header Field for Indicating Message Authentication Status
  3. RFC 7489, DMARC
  4. Australian Cyber Security Centre, guidance for business
Book a free call