Someone in your finance team forwards you a message. A supplier they've paid for three years has changed their banking details, and the invoice is due Friday. The display name is right. So is the signature. So is the wording, because whoever wrote it had read the last six emails in the thread.

The body of that message won't tell you whether it's real. The headers are where to start.

They'll also tell you which of three problems you have, and each one needs a different phone call. Somebody's spoofing the supplier's domain from infrastructure that has nothing to do with them. Somebody's sending through infrastructure the supplier authorised and no longer controls. Or somebody's sitting inside the supplier's actual mailbox. Then every check passes, and the headers can still tell you.

Where do I find the raw headers?

The forwarded copy isn't good enough. A normal forward is a new message. Its headers describe the forward, and whatever survives of the original is text in the body. Ask for the original, or pull it yourself.

  • Gmail and Google Workspace: open the message, the three-dot menu, Show original. That page has a "Copy to clipboard" button.1
  • Classic Outlook for Windows: open the message in its own window, File → Properties , and copy the "Internet headers" box.2
  • Outlook on the web and the new Outlook: three dots, View → View message details.2
  • Exchange Online, when the mailbox has already deleted it: message trace in the Defender portal gives you the routing but not the full header set. If you need the headers, you need a copy of the message.3

You want everything from the top of the file down to the first blank line.4 The body isn't part of this.

What should I read first?

Read Authentication-Results, then Return-Path, then From:. Do that before anything else in the file.

Authentication-Results: what the receiver decided Return-Path: where bounces actually go From: what the reader sees 

From: is the author identity the reader sees. It's the only one of the three your finance team ever looks at.

Two more lines carry identity. Sender: names the mailbox that actually submitted the message.4 It shows up legitimately whenever a service sends on somebody's behalf, so a Sender: that differs from From: is ordinary, not suspicious. Message-ID: isn't evidence of origin. The sending application writes it and can put any domain after the @.4 It's useful for finding the message in message trace3 and for matching one message against another from the same sender.

What does Authentication-Results actually tell me?

It's the receiving server's verdict, written at the moment of delivery. It's usually the most useful line in the file, provided the receiver that wrote it is one you trust. Check the name at the front of it: mx.google.com below. Anybody upstream can write an Authentication-Results header. So RFC 8601 §5 requires a border MTA to delete any instance that claims to have been added inside its own trust boundary and didn't come from a server it trusts.5 Read the ones your own infrastructure wrote. Treat the rest the way you treat the Received chain below them. A healthy one looks like this:

Read the identifiers, not the words. spf=pass on its own says the sending IP was allowed to send for whatever's in smtp.mailfrom. That may be a domain the attacker owns and has configured perfectly. dkim=pass says a signature verified for whatever's in header.d, which again may be the attacker's domain. Only dmarc=pass ties either of those back to the domain in the visible From: header. That tie is identifier alignment, defined in RFC 9989 §4.4, and it's the thing you're checking.6 Alignment is relaxed by default, so bounce.northwind-traders.example aligns with northwind-traders.example on the organisational domain.6 Strict alignment (aspf=s or adkim=s in the DMARC record) demands an exact match, and the RFC says nearly all domain owners find relaxed enough.6 Relaxed is why an ESP can send with a return-path on a subdomain of yours and still pass.

Our take: a message with spf=pass dkim=pass dmarc=fail is more suspicious than one that fails everything, not less. Something authenticated properly as its own domain while the From: header carries your supplier's domain. Sometimes that's an attacker's setup. Sometimes it's a service the supplier authorised and never set up for alignment, which the RFC itself warns about.6 Find out which before you call it an attack.

How do I read the Received chain?

Each relay prepends its own Received: header to the top, so the chain reads newest first. The bottom is the earliest hop still visible. The top is your own gateway. Three rules make the rest of it useful.

  1. Read from the bottom up to find the origin. The last Received: in the file is usually the first hop that happened. It's only ever the earliest hop still visible, though. Systems strip and rewrite, so treat it as the oldest surviving record, not the beginning of the story.7 RFC 5321 §4.4 is what obliges each relay to prepend rather than append, and it's why the chain reads backwards.8
  2. Trust nothing below your own trust boundary. Anything an attacker's server wrote, an attacker chose. Received headers are plain text added by whoever handled the message. A fabricated hop claiming the message came from inside your organisation costs nothing to write. The first header added by a server you control or pay for is where evidence starts. Everything below it is a claim.
  3. Check the clocks, but only for large gaps. Clocks drift, so a few seconds of disagreement means nothing, and our analyser lets a hop run up to a minute backwards before it flags it.12 A queue that held the message for an hour means nothing either. A chain that runs further backwards than that needs explaining. It isn't proof that somebody edited it. A wrong timezone offset does this, and so does a server whose clock is wrong. Convert everything to UTC before you decide the gap is impossible. RFC 5321 asks servers to stamp an explicit offset so Received times can be compared, which makes that simple arithmetic.8

What does a spoofed invoice actually look like in the headers?

Together, six things expose it, and none of them is in the body. Here's a worked example of those headers, cut to the lines that carry the finding.

Return-Path sits at the top because the delivering server puts it there, at final delivery, ahead of its own Received line (RFC 5321 §4.4).8 Six things stand out. The reader saw none of them.

  1. From: and Return-Path: are different domains. The reader sees northwind-traders.example. Bounces go to vps-host-77.example.net, the envelope sender the sending server gave in MAIL FROM.8 On its own that split is ordinary, and RFC 5321 calls a separate bounce address "common and useful" with mailing lists. Next to the DMARC failure below, it's the fastest tell in the set.
  2. dmarc=fail with p=NONE. The supplier's domain publishes a DMARC record with no enforcement. So Google recorded the failure and delivered the message anyway.6 A p=reject policy on that domain would have told Google to refuse it, though the receiver still makes the final call.6 That's what the none-to-reject ladder is for.
  3. dkim=none. Not a failure, an absence. Google found no signature.5 On its own that's weak evidence, because a forwarder or filter can strip a signature that was there when the message was sent.9 Here it isn't on its own. Google's own line shows it took the message straight from the VPS, so any signature would have had to vanish at the VPS or before it. What came before the VPS is the VPS's own record, a claim, not a proven path.
  4. Reply-To: on a free-mail domain. Reply to that invoice query and your answer goes to the attacker, in a thread that looks like your own.4 Legitimate senders do this too (ticketing systems, shared inboxes). So read it next to the authentication result, not on its own.
  5. A private IP relayed by a public host. from localhost (unknown [10.0.0.9])10 handed to a public VPS. On its own that's ordinary, and our analyser rates it info: an app server handing mail to its own outbound server looks the same.12 Read with ESMTPA next to it. The trailing A says the VPS recorded an authenticated SMTP submission.7 That line sits below Google's, so it's the VPS's own claim, and RFC 3848 says the keyword gives no real security assurance.7 Taken at its word, something logged in with credentials to send this. That's the fingerprint of an application using stored credentials, or of a submission account somebody else now has. The VPS's mail logs are where you'd confirm it.
  6. X-PHP-Originating-Script. The sending server volunteered that a PHP script called sendmail.php produced this message.11 Any PHP application sending through PHP's own mail function with that setting on leaves the same fingerprint, legitimate or not, so on its own it corroborates rather than proves. Paired with the five above, it's consistent with a web application generating the message rather than a corporate mail system. That makes the VPS the thing to go and look at.

Run those headers through the email header analyser and it returns a likely_phishing verdict with DMARC_FAILED, SPF_HARD_FAIL, REPLY_TO_DIFFERENT_DOMAIN, PRIVATE_IP_IN_PUBLIC_PATH and SERVER_LEAK_HEADERS.12 Four of those are numbers 2, 4, 5 and 6 above. SPF_HARD_FAIL is the spf=fail in Google's verdict. The From and Return-Path split and the missing signature get no flag of their own. They're why DMARC_FAILED fired: nothing passed in alignment with the From domain. Paste it today and you'll also get DATE_TOO_OLD, because the sample's date is now more than 30 days back.

What does the source IP tell me on its own?

More than the rest of the chain, because the sender didn't write it. They chose the VPS. They didn't get to choose what Google wrote down about the connection.

client-ip=203.0.113.42 came off the TCP session, not out of the message.13 That makes it observed, not asserted, and that's a different class of evidence from every hostname above it. It identifies the machine that connected to Google. That isn't necessarily the machine, or the person, the message started at. Take it to a reverse DNS lookup and check whether the PTR name resolves back to that same IP. That's forward-confirmed reverse DNS, a consistency check many receivers weigh when they decide how much to trust a sending host.5 It says something about infrastructure, not about honesty. Gmail requires it of everyone who sends to it, so real mail systems usually have it.14 An attacker who bothered can have it too.

Then check the address against the handful of blocklists we'd actually watch. Most of what a blacklist checker lights up is noise, and the blocklist post works through which lists matter. An IP already on Spamhaus CSS or XBL, sending mail that fails DMARC for the domain in the From:, has stopped being a mystery. The listing is about the host's history, not about this message, so it corroborates the finding rather than making it.15

The order matters: the IP, then its PTR, then whether that PTR resolves back, then who owns the range.

Try it: paste the raw headers into the email header analyser for the spoofing verdict and the hop-by-hop chain, take the originating IP to the reverse DNS checker to see whether its PTR confirms, and upload a DMARC XML file to the DMARC report viewer to find out who else has been sending as your domain this fortnight.

What if a forwarder broke the authentication?

Then spf=fail or a broken DKIM signature may be telling you about the forwarder, not the sender. A forwarder that keeps the original envelope sender usually fails SPF, because the connecting IP is now its own. One that swaps in its own domain can pass SPF, just not in alignment with the From:. Mailing lists also tend to edit the subject or body, and that breaks DKIM.16

ARC, the Authenticated Received Chain (RFC 8617), exists for this. Each intermediary that takes part records what it saw and signs the record.17 A receiver can then read authentication results from before the forward:

Read i= for the instance number, and cv= on the highest ARC-Seal for whether the chain still validates.17 cv=fail on the highest seal means the intermediary that added it found the chain already broken, and RFC 8617 says to treat the message as though it carried no chain at all.17 If the chain is intact, the sealer is one you trust, and the results in it are clean, a failure at your own gateway points at the forward, not the sender.

Whether that saves the message is a decision your receiver makes. Microsoft only honours a chain from a sealer you've explicitly trusted.18 It stamps compauth reason 130 when a trusted seal overrides a DMARC failure.19 Plenty of forwarders don't seal at all.17 So an absent chain tells you nobody recorded the forward, not that no forward happened.

ARC may also be retired. The IETF's DMARC working group has adopted a draft, Reclassifying ARC as Historic. It tells implementers not to rely on ARC going forward and to stop deploying it across the internet. It tells anyone still processing the headers not to make delivery decisions on chain validity alone.20 And it asks existing deployers to plan to decommission ARC or keep it inside their own domains.20 The draft isn't approved yet, so RFC 8617 stands, and Microsoft's header documentation still describes the ARC fields and reason 130 (page last updated 27 July 2026).19 The successor work is DKIM2, still at draft stage.21 Until deployers act on it, you'll still meet these headers, and the draft itself allows verifying them for forensic purposes.20 A chain tells you what an intermediary says it saw. Weigh who sealed it, not the fact that a seal validated.17

What about Microsoft's compauth verdict?

Exchange Online writes its own composite verdict next to the standard one. It's the line to read when a message lands in a Microsoft 365 mailbox:

compauth=fail is an authentication result, not a delivery outcome. Microsoft's own documentation says the message may still be allowed if nothing else about it looks suspicious.19 So read the code as a verdict on the sender's posture, and go to message trace for what actually happened to the mail. dmarc= here can also read bestguesspass, a result RFC 9989 doesn't define.6 It means the domain publishes no DMARC record, and the message would have passed if it did.19

The three-digit reason code is the payload. Microsoft publishes the whole table, around thirty codes in families,19 and we list every one of them in Microsoft's wording, with a page of our own for ten.22 These are the ones worth recognising on sight:

  • 000, failed explicit authentication. The message failed DMARC and the domain's policy is p=quarantine or p=reject. The domain owner asked receivers to treat this as a failure, and Microsoft recorded that it was one.19
  • 001, failed implicit authentication. The sending domain published no authentication records, or published weak ones: SPF ending ~all or ?all, or DMARC at p=none. That's the code our example earns, because the spoofed domain sits at p=none.19
  • 010, someone spoofing your own domain. DMARC failed, the policy is reject or quarantine, and the From domain is one of your organisation's accepted domains. Staff being impersonated to staff.19
  • 601, the same shape without the enforcing policy. The From domain is one of your accepted domains and the message failed the weaker implicit check. It sits in 6xx, a second failure family that catches people out because it's nowhere near 000.19
  • 1xx, passed. Five are worth recognising, and three of them pass a message that still looks broken. 100 is SPF or DKIM passing in alignment. 109 is a domain with no DMARC record whose message would have passed anyway. 115 is mail from a tenant where the From domain is an accepted domain. 108 is DKIM failing because an earlier hop Microsoft treats as legitimate modified the body, for example your own on-premises mail environment, which makes it a plumbing job rather than an attack. 130 is a trusted ARC sealer's result overriding a DMARC failure, and only sealers you've explicitly configured count.19

Our take: the code to worry about is 001, not 000. A 000 means the domain owner published an enforcing policy and Microsoft evaluated the message against it. That's the system working. A 001 on mail claiming to be from a domain you own says your published records are too weak for Microsoft to defend you with. Inside your own tenant the same failure reads 601.22 The fix is a DMARC record with teeth, not anything in the message. Check the legitimate senders using that domain before you tighten it.

Microsoft's inbound handling has its own set of rules and its own vocabulary of rejections. The M365 blocking post unpacks the ones you meet on the sending side.

What if everything passes and the message is still fraudulent?

Then it probably isn't a spoof, and the headers have just told you something more serious.

Three different things arrive looking like the same email. The authentication result is what separates them.

  • A spoof. The attacker writes your supplier's name in From: and sends from their own infrastructure. Nothing aligns, DMARC fails, and everything above applies. This is our example.
  • Compromised sending infrastructure. The attacker controls a service or an SMTP credential the supplier authorised: a web application, a mail plugin, a submission account. SPF passes, because that host really is allowed to send for the domain, and DKIM may sign correctly too. The authentication is honest. The thing it's vouching for isn't.
  • A compromised mailbox. The attacker is logged into the supplier's actual account and sending from it. SPF passes, DKIM signs with the supplier's real key, DMARC aligns, and the analyser is right to return a clean verdict. This is business email compromise, and at the transport layer nothing's wrong at all.

Headers separate the first from the other two cleanly. Separating the second from the third is where the origin evidence earns its keep. Compare the source IP, the Received path and the sending client fingerprint against a message from the same person last month. Say a supplier's mail has come from the same M365 tenant for two years, and now it arrives via a residential IP in another country. That earns a phone call, on a number you already have, not the one in the signature.

A DMARC pass says the From domain was authenticated. It says nothing about whether the message or the domain owner can be trusted.6 It's the same gap that makes mail land in spam despite passing every check, read from the other direction.

What to do:

  • Keep the raw headers of anything suspicious before the mailbox owner deletes the message. Exchange Online message trace won't reconstruct them for you.3
  • Read Authentication-Results, Return-Path and From: together, not one at a time.
  • Treat every Received: header below your own gateway as a claim, not a record. Take the originating IP to a PTR check instead of trusting the hostnames in the chain.
  • On a Microsoft 365 mailbox, read the compauth reason code as well as the DMARC verdict. 001 on a domain you own, or 601 inside your own tenant, is your own posture failing, not the sender's.
  • Check who wrote the Authentication-Results you're reading. Your own gateway's verdict is evidence. One that arrived with the message is a claim.
  • If a DKIM signature exists, read d= and s= off the DKIM-Signature header rather than trusting the summary. A message can carry several signatures, and DMARC passes if any one of them verifies in alignment, so don't stop at the first.6
  • Where a forwarder or mailing list is involved, look for ARC-Seal and read cv= on the highest instance before you blame the sender for a broken signature.
  • Never verify new banking details using anything in the suspicious message. Use the number in your vendor master or a contact you've spoken to before. Get somebody other than the person who received the email to approve the change. Headers can tell you a message is suspicious. They can't tell you an account number is real.
  • When the answer is "the supplier's domain is at p=none, so nobody stopped this", check your own DMARC policy before you finish the email saying so. Publish a record, read the aggregate reports, and get to enforcement before somebody writes your name on an invoice.

Analyse a set of email headers.

Sources checked

Each claim above was checked against the source named here on 24 October 2026. Vendor pages and drafts change, so re-read them and re-run the commands rather than trusting the date on this page.

  1. “Next to Reply, click More”, then “Show original”. “In a new window, the full header shows. Click Copy to clipboard.” Source: Gmail Help: Trace an email with its full header
  2. Classic Outlook: “Double-click an email message to open it outside of the Reading Pane in classic Outlook for Windows. Click File > Properties. Header information appears in the Internet headers box.” New Outlook and Outlook on the web: “Select More actions at the top of the message window. Select View > View message details.” Source: Microsoft Support: View internet message headers in Outlook
  3. The Defender portal’s message trace “is a really pass through to Message trace page in the new Exchange admin center”. The richest report type, the Extended report, “Includes the same information as the extended summary report plus comprehensive routing and message event details”; no report type on the page includes the message headers (searched the raw copy). Message ID is a search field: “The internet message ID … in the Message-ID header field in the message header. Users can give you this value to investigate specific messages.” (EAC page last updated 2026-09-16, Defender page 2026-08-24.) Source: Microsoft Learn: Message trace in the new EAC in Exchange Online and Message trace in the Microsoft Defender portal
  4. The body “is separated from the header section by an empty line” (§2.1). “The "Sender:" field specifies the mailbox of the agent responsible for the actual transmission of the message. For example, if a secretary were to send a message for another person, the mailbox of the secretary would appear in the "Sender:" field”; Reply-To “indicates the address(es) to which the author of the message suggests that replies be sent” (§3.6.2). “The uniqueness of the message identifier is guaranteed by the host that generates it”, and for the part after the @ a domain is only “RECOMMENDED” (§3.6.4). Verified erratum 6920 on §2.1 changes a character-set name only; none of the others touches these sentences. Source: RFC 5322 §2.1, §3.6.2 and §3.6.4
  5. “any MTA conforming to this specification MUST delete any discovered instance of this header field that claims, by virtue of its authentication service identifier, to have been added within its trust bounda...