ShipBastion / Security guides / How to read email headers: SPF, DKIM, DMARC and the real sender IP
How to read email headers: SPF, DKIM, DMARC and the real sender IP
Headers tell you exactly why a message passed or failed authentication, which server really sent it and where it was delayed. You only need to know which lines to read.
Free scan. Sign in with Google to see the full report; paid plans start with a 7-day free trial.
Get the raw headers
Gmail: open the message, More, Show original. Outlook: File, Properties, Internet headers. Apple Mail: View, Message, All Headers.
Authentication-Results
Added by the receiving server. Check spf=, dkim= and dmarc=, and which domain each one is for (smtp.mailfrom, header.d, header.from).
Authentication-Results: mx.google.com; dkim=pass header.i=@yourdomain.com header.s=s1; spf=pass smtp.mailfrom=bounce@mail.yourdomain.com; dmarc=pass (p=REJECT) header.from=yourdomain.com
The Received chain
Each server adds a Received line on top, so read from the bottom up. The first hop that enters the receiver's network carries the real sending IP; anything below it can be forged.
Try it on your own domain
Free scan, no card. Pro is $19/mo after a 7-day free trial and covers all four scanners: VibeShield, CiteReady, InboxShield and BrandShield.
FAQ
What does dmarc=fail with spf=pass mean?
SPF passed for a different domain than the visible From (no alignment), and DKIM did not pass for the From domain either.
Related
How to read DMARC aggregate (rua) XML reports
Understand DMARC aggregate XML reports: report_metadata, policy_published, source IPs, counts, policy_evaluated vs auth_results, and how to ...
InboxShield vs Mail-Tester
InboxShield vs Mail-Tester: Mail-Tester scores one message you send; InboxShield audits your domain's SPF, DKIM, DMARC, MTA-STS, BIMI and bl...
InboxShield vs MXToolbox
InboxShield vs MXToolbox: one scan covers MX, SPF lookup count, 91 DKIM selectors, DMARC, MTA-STS, TLS-RPT, BIMI/VMC and 20 blacklists with ...