Free · Runs in your browser

Email Header Analyzer

Paste the headers of any email to see whether it passed SPF, DKIM and DMARC, how spam filters rated it, and where it was delayed on the way.

Result look wrong, or not sure what to change? A GoProIT technician can check it with you over a secure remote session. $59 per fix, Monday to Friday 8am to 8pm Eastern.

Book a technician(844) 734-1288

How to get the full email headers

Email appSteps
New Outlook / Outlook on the webOpen the message, select the … (More actions) menu, then View > View message details. Copy everything in the window.
Classic Outlook for WindowsDouble-click the message to open it, then File > Properties. Copy the Internet headers box.
GmailOpen the message, select the three dots next to Reply, then Show original and Copy to clipboard.
Apple MailSelect the message, then View > Message > All Headers.
Yahoo MailOpen the message, select the three dots, then View raw message.

Always copy the headers from the recipient’s copy of the message. The authentication results are added by the receiving server, so the sender’s Sent Items copy won’t have them.

What the analyzer shows

  • SPF, DKIM and DMARC: whether the message really came from the domain in the From line. A DMARC fail on a message claiming to be from your bank or your CEO is a strong phishing sign.
  • Microsoft 365 verdicts: the spam confidence level (SCL), composite authentication (compauth) and the category Microsoft assigned, such as spam, bulk or phishing. This explains why a message went to Junk or quarantine.
  • Reply-To tricks: a Reply-To address on a different domain from the sender, a favourite of invoice-fraud emails.
  • Delivery path and delays: every server the message passed through, oldest first, with the time spent at each hop.

Reading the delivery path

Each server adds a Received: line to the top of the headers, so the raw headers read newest first. The analyzer flips them so you can read the journey in order. A long delay at one hop usually means greylisting (the receiving server asked the sender to retry later), a queue on a busy server, or a security gateway scanning attachments. Small negative delays are normal when server clocks differ by a few seconds.

How to read an Authentication-Results line

The single most useful line in any set of email headers is Authentication-Results. The receiving server writes it after checking the message. A sender can slip a fake copy further down, so trust the one your own provider added, which is normally the highest one. A healthy one from a Microsoft 365 mailbox looks like this:

Authentication-Results: spf=pass (sender IP is 203.0.113.25) smtp.mailfrom=yourcompany.com; dkim=pass (signature was verified) header.d=yourcompany.com; dmarc=pass action=none header.from=yourcompany.com; compauth=pass reason=100

Read it left to right:

  • spf=pass and smtp.mailfrom: the sending IP is allowed by the SPF record of the envelope domain. That domain is hidden from the reader and may differ from the From line.
  • dkim=pass and header.d: the message carries a valid digital signature from that domain and wasn’t changed on the way.
  • dmarc=pass and header.from: the domain the reader sees in the From line matched one of the two checks above. This is the result that matters most for spoofing.
  • compauth: Microsoft’s overall verdict, which also counts cases where a domain has no DMARC record. A reason code in the 100s is a pass. reason=000 means the message failed DMARC outright, and reason=001 means it failed Microsoft’s own implicit check.

Gmail writes a similar line with slightly different wording, such as spf=pass (google.com: domain of billing@vendor.com designates 203.0.113.25 as permitted sender). The pass and fail words mean the same thing.

Microsoft 365 spam scores explained

When a message lands in Junk or quarantine in Microsoft 365, the reason is in two headers: X-Forefront-Antispam-Report and X-Microsoft-Antispam. The analyzer pulls the key values out for you. This is what they mean.

ValueMeaning
SCL:-1Spam filtering was skipped, usually because of a safe sender, an allow rule or an internal message.
SCL:0 or SCL:1Not spam. Delivered to the inbox.
SCL:5 or SCL:6Spam. Sent to Junk by default.
SCL:7 to SCL:9High confidence spam.
CAT:SPM, CAT:BULK, CAT:PHSHThe category Microsoft assigned: spam, bulk mail or phishing. HPHSH means high confidence phishing.
SFV:NSPMFiltering ran and decided the message wasn’t spam.
SFV:SFE or SFV:BLKDelivery was decided by the recipient’s safe senders list (SFE) or blocked senders list (BLK).
BCL:0 to BCL:9Bulk complaint level for newsletters and marketing mail. Higher means more people complain about that sender.

A practical example: a customer’s order confirmations keep landing in Junk. The headers show SCL:5, CAT:SPM and dmarc=fail. The spam score isn’t the root problem there. The authentication failure is, and the fix belongs on the sender’s DNS, not in your junk settings.

Three real situations and what the headers tell you

A “CEO” asking for gift cards

The From line shows your owner’s name, but the address is ceo.yourcompany@gmail.com, or the Reply-To points to an outside domain. Authentication may pass, because the message really did come from that Gmail account. The headers prove it didn’t come from your company. Report it with the Report button in Outlook or the Report phishing option in Gmail, and warn staff.

An invoice from a vendor that looks slightly off

Check the domain in header.from against the vendor’s real domain letter by letter. Lookalikes such as vendor-billing.com or vendorr.com are common in invoice fraud. If the domain is genuine and DKIM passes, the vendor’s mailbox may have been taken over. Phone them on a number you already have, not one in the email.

Email that arrives hours late

Look at the hop with the long delay. If it sits between two of the sender’s servers, the delay is on their side. If it sits at your security gateway or the first server of your provider, the message was probably greylisted or held for scanning, and your provider’s message trace will show more.

When the headers aren’t enough

Headers show what each server recorded. They can’t show what happened inside a compromised mailbox, such as a hidden forwarding rule copying your mail to an attacker. If a header points to a real account sending fraud, the next step is checking that account’s sign-in logs and inbox rules. If authentication fails on your own domain’s mail, check your records with the DMARC checker and SPF record checker. If you’d rather have someone look at a suspicious message with you, a technician can go through it over a remote session for $59.

Frequently asked questions

Is it safe to paste email headers here?

Yes. The analysis runs entirely in your browser and the headers are never sent to our server. Headers contain email addresses, server names and IP addresses, but not the message body or attachments.

Can email headers prove an email is phishing?

They are strong evidence. A message that fails DMARC for a well-known domain, has a Reply-To on an unrelated domain, or was flagged as phishing by Microsoft is very likely fake. A message can still be malicious with clean headers if it was sent from a real, compromised account.

Why does a message show SPF pass but DMARC fail?

SPF checks the hidden envelope sender, which can be any domain. DMARC also requires that domain (or the DKIM signing domain) to match the visible From address. Many phishing emails pass SPF for their own throwaway domain while faking the From line.

Why can’t the analyzer find any results?

You probably pasted only part of the headers, or a forwarded copy. Forwarding replaces the original headers with new ones. Ask for the original message as an attachment, or copy the headers directly from the mailbox that received it.

Can email headers be faked?

Partly. A sender can write anything into the From, Reply-To and early Received lines. They can’t change the lines your own receiving server adds, including Authentication-Results and the Received line at the top. Trust the newest lines most and the oldest ones least.

Can email headers show where the sender is located?

Sometimes, roughly. The first Received line usually shows the IP address of the sending server, which you can look up. With Microsoft 365 and Gmail that is the provider’s data center, not the person’s home or office, so it rarely gives a real location.

What does SCL 5 mean in an email header?

It’s Microsoft 365’s spam confidence level, and 5 means the message was judged to be spam and sent to Junk. Look at the CAT and SFV values next to it, and at the authentication results, to see why.

How do I send email headers to my IT support?

Copy the full headers using the steps above and paste them into an email or ticket as plain text. Forwarding the message itself doesn’t work, because forwarding replaces the original headers. In Outlook you can also attach the original message to a new email instead of forwarding it.

Related guides

Received a suspicious email?Our team can check it, block the sender across your company and train your staff to spot the next one.
Get help from a technician

More free tools

See all 30 free IT tools

Free tools find it. We fix it.

Want a technician to sort it out for you?

One-time remote fix for $59, or unlimited help for your whole team at $49 per user per month. No contract and no setup fee.

WhatsApp us(202) 960-2022 · messages