<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Paul Ogier</title>
    <description>The latest articles on DEV Community by Paul Ogier (@paulogier).</description>
    <link>https://dev.to/paulogier</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4257060%2F0ff679b9-b5a7-4e72-993a-27f73dfb8913.png</url>
      <title>DEV Community: Paul Ogier</title>
      <link>https://dev.to/paulogier</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/paulogier"/>
    <language>en</language>
    <item>
      <title>Email header forensics: how to read a spoof</title>
      <dc:creator>Paul Ogier</dc:creator>
      <pubDate>Tue, 24 Nov 2026 13:32:56 +0000</pubDate>
      <link>https://dev.to/paulogier/email-header-forensics-how-to-read-a-spoof-3i2b</link>
      <guid>https://dev.to/paulogier/email-header-forensics-how-to-read-a-spoof-3i2b</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;The body of that message won't tell you whether it's real. The headers are where to start.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where do I find the raw headers?
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gmail and Google Workspace:&lt;/strong&gt; open the message, the three-dot menu, &lt;strong&gt;Show original&lt;/strong&gt;. That page has a "Copy to clipboard" button.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src1" rel="noopener noreferrer"&gt;1&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classic Outlook for Windows:&lt;/strong&gt; open the message in its own window, &lt;strong&gt;File → Properties&lt;/strong&gt; , and copy the "Internet headers" box.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src2" rel="noopener noreferrer"&gt;2&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outlook on the web and the new Outlook:&lt;/strong&gt; three dots, &lt;strong&gt;View → View message details&lt;/strong&gt;.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src2" rel="noopener noreferrer"&gt;2&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exchange Online, when the mailbox has already deleted it:&lt;/strong&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src3" rel="noopener noreferrer"&gt;3&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You want everything from the top of the file down to the first blank line.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src4" rel="noopener noreferrer"&gt;4&lt;/a&gt; The body isn't part of this.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should I read first?
&lt;/h2&gt;

&lt;p&gt;Read &lt;code&gt;Authentication-Results&lt;/code&gt;, then &lt;code&gt;Return-Path&lt;/code&gt;, then &lt;code&gt;From:&lt;/code&gt;. Do that before anything else in the file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Authentication-Results: what the receiver decided
Return-Path: where bounces actually go
From: what the reader sees
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;From:&lt;/code&gt; is the author identity the reader sees. It's the only one of the three your finance team ever looks at.&lt;/p&gt;

&lt;p&gt;Two more lines carry identity. &lt;code&gt;Sender:&lt;/code&gt; names the mailbox that actually submitted the message.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src4" rel="noopener noreferrer"&gt;4&lt;/a&gt; It shows up legitimately whenever a service sends on somebody's behalf, so a &lt;code&gt;Sender:&lt;/code&gt; that differs from &lt;code&gt;From:&lt;/code&gt; is ordinary, not suspicious. &lt;code&gt;Message-ID:&lt;/code&gt; isn't evidence of origin. The sending application writes it and can put any domain after the &lt;code&gt;@&lt;/code&gt;.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src4" rel="noopener noreferrer"&gt;4&lt;/a&gt; It's useful for finding the message in message trace&lt;a href="https://tamingdns.com/articles/email-header-forensics#src3" rel="noopener noreferrer"&gt;3&lt;/a&gt; and for matching one message against another from the same sender.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does Authentication-Results actually tell me?
&lt;/h2&gt;

&lt;p&gt;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: &lt;code&gt;mx.google.com&lt;/code&gt; below. Anybody upstream can write an &lt;code&gt;Authentication-Results&lt;/code&gt; header. So &lt;a href="https://www.rfc-editor.org/rfc/rfc8601.html#section-5" rel="noopener noreferrer"&gt;RFC 8601 §5&lt;/a&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src5" rel="noopener noreferrer"&gt;5&lt;/a&gt; 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:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight email"&gt;&lt;code&gt;&lt;span class="nc"&gt;Authentication&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Results&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;mx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;google&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;spf&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;pass&lt;/span&gt; &lt;span class="n"&gt;smtp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mailfrom&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;bounce&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;dkim&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;pass&lt;/span&gt; &lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt; &lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;s1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;dmarc&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;pass&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;REJECT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;from&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;&lt;strong&gt;Our take:&lt;/strong&gt; a message with &lt;code&gt;spf=pass dkim=pass dmarc=fail&lt;/code&gt; is more suspicious than one that fails everything, not less. Something authenticated properly as its own domain while the &lt;code&gt;From:&lt;/code&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src6" rel="noopener noreferrer"&gt;6&lt;/a&gt; Find out which before you call it an attack.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I read the Received chain?
&lt;/h2&gt;

&lt;p&gt;Each relay prepends its own &lt;code&gt;Received:&lt;/code&gt; 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.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Read from the bottom up to find the origin.&lt;/strong&gt; The last &lt;code&gt;Received:&lt;/code&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src7" rel="noopener noreferrer"&gt;7&lt;/a&gt; &lt;a href="https://www.rfc-editor.org/rfc/rfc5321.html#section-4.4" rel="noopener noreferrer"&gt;RFC 5321 §4.4&lt;/a&gt; is what obliges each relay to prepend rather than append, and it's why the chain reads backwards.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src8" rel="noopener noreferrer"&gt;8&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trust nothing below your own trust boundary.&lt;/strong&gt; 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.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the clocks, but only for large gaps.&lt;/strong&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src12" rel="noopener noreferrer"&gt;12&lt;/a&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src8" rel="noopener noreferrer"&gt;8&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What does a spoofed invoice actually look like in the headers?
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight email"&gt;&lt;code&gt;&lt;span class="nc"&gt;Return&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;billing&lt;/span&gt;@&lt;span class="n"&gt;vps&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;77&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nc"&gt;Received&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt; &lt;span class="n"&gt;mail&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;vps&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;77&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mail&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;vps&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;77&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mf"&gt;203.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;113.42&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;by&lt;/span&gt; &lt;span class="n"&gt;mx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;google&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt; &lt;span class="n"&gt;with&lt;/span&gt; &lt;span class="no"&gt;ESMTPS&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="n"&gt;x14si2938471wrn&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;402&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;finance&lt;/span&gt;@&lt;span class="n"&gt;clientco&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="na"&gt;(version&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;TLS1_2&lt;/span&gt; &lt;span class="n"&gt;cipher&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;ECDHE&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;ECDSA&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;AES128&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;GCM&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;SHA256&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nc"&gt;Wed&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt; &lt;span class="nc"&gt;Aug&lt;/span&gt; &lt;span class="mi"&gt;2026&lt;/span&gt; &lt;span class="mi"&gt;04&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;0700&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;PDT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nc"&gt;Received&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;SPF&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;fail&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;google&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;domain&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;billing&lt;/span&gt;@&lt;span class="n"&gt;vps&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;77&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt;
        &lt;span class="n"&gt;does&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;designate&lt;/span&gt; &lt;span class="mf"&gt;203.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;113.42&lt;/span&gt; &lt;span class="n"&gt;as&lt;/span&gt; &lt;span class="n"&gt;permitted&lt;/span&gt; &lt;span class="n"&gt;sender&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="na"&gt;client-ip&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;203.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;113.42&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nc"&gt;Authentication&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Results&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;mx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;google&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
       &lt;span class="na"&gt;dkim&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
       &lt;span class="na"&gt;spf&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fail&lt;/span&gt; &lt;span class="n"&gt;smtp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mailfrom&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;billing&lt;/span&gt;@&lt;span class="n"&gt;vps&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;77&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
       &lt;span class="na"&gt;dmarc&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fail&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;NONE&lt;/span&gt; &lt;span class="n"&gt;sp&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;NONE&lt;/span&gt; &lt;span class="n"&gt;dis&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;NONE&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;from&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;
&lt;span class="nc"&gt;Received&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt; &lt;span class="n"&gt;localhost&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;unknown&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mf"&gt;10.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;0.9&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;by&lt;/span&gt; &lt;span class="n"&gt;mail&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;vps&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;77&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Postfix&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;with&lt;/span&gt; &lt;span class="no"&gt;ESMTPA&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="mi"&gt;4Wq8Yz2Ck1z3xVn&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nc"&gt;Wed&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt; &lt;span class="nc"&gt;Aug&lt;/span&gt; &lt;span class="mi"&gt;2026&lt;/span&gt; &lt;span class="mi"&gt;13&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;02&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;44&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;0200&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;SAST&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nc"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Wed&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;12&lt;/span&gt; &lt;span class="nc"&gt;Aug&lt;/span&gt; &lt;span class="mi"&gt;2026&lt;/span&gt; &lt;span class="mi"&gt;13&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;02&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;44&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;0200&lt;/span&gt;
&lt;span class="nc"&gt;To&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;finance&lt;/span&gt;@&lt;span class="n"&gt;clientco&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nc"&gt;Subject&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Updated&lt;/span&gt; &lt;span class="n"&gt;banking&lt;/span&gt; &lt;span class="n"&gt;details&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="nc"&gt;August&lt;/span&gt; &lt;span class="n"&gt;invoice&lt;/span&gt;
&lt;span class="nc"&gt;From&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Accounts | Northwind Traders"&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;accounts&lt;/span&gt;@&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nc"&gt;Reply&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;To&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;accounts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;recovery&lt;/span&gt;@&lt;span class="n"&gt;freemail&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nc"&gt;Message&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;ID&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;a4f1c9d0&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2b77&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;4e51&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;9c&lt;/span&gt;&lt;span class="mf"&gt;6e-7a&lt;/span&gt;&lt;span class="mi"&gt;1f&lt;/span&gt;&lt;span class="mf"&gt;0e33bb&lt;/span&gt;&lt;span class="mi"&gt;18&lt;/span&gt;@&lt;span class="n"&gt;mailer&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;org&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="no"&gt;X&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;PHP&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Originating&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Script&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1001&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;sendmail&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;Return-Path&lt;/code&gt; sits at the top because the delivering server puts it there, at final delivery, ahead of its own &lt;code&gt;Received&lt;/code&gt; line (&lt;a href="https://www.rfc-editor.org/rfc/rfc5321.html#section-4.4" rel="noopener noreferrer"&gt;RFC 5321 §4.4&lt;/a&gt;).&lt;a href="https://tamingdns.com/articles/email-header-forensics#src8" rel="noopener noreferrer"&gt;8&lt;/a&gt; Six things stand out. The reader saw none of them.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;From:&lt;/code&gt; and &lt;code&gt;Return-Path:&lt;/code&gt; are different domains.&lt;/strong&gt; The reader sees &lt;code&gt;northwind-traders.example&lt;/code&gt;. Bounces go to &lt;code&gt;vps-host-77.example.net&lt;/code&gt;, the envelope sender the sending server gave in &lt;code&gt;MAIL FROM&lt;/code&gt;.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src8" rel="noopener noreferrer"&gt;8&lt;/a&gt; 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.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;dmarc=fail&lt;/code&gt; with &lt;code&gt;p=NONE&lt;/code&gt;.&lt;/strong&gt; The supplier's domain publishes a DMARC record with no enforcement. So Google recorded the failure and delivered the message anyway.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src6" rel="noopener noreferrer"&gt;6&lt;/a&gt; A &lt;code&gt;p=reject&lt;/code&gt; policy on that domain would have told Google to refuse it, though the receiver still makes the final call.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src6" rel="noopener noreferrer"&gt;6&lt;/a&gt; That's what the &lt;a href="https://tamingdns.com/articles/dmarc-none-to-reject" rel="noopener noreferrer"&gt;none-to-reject ladder&lt;/a&gt; is for.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;dkim=none&lt;/code&gt;.&lt;/strong&gt; Not a failure, an absence. Google found no signature.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src5" rel="noopener noreferrer"&gt;5&lt;/a&gt; On its own that's weak evidence, because a forwarder or filter can strip a signature that was there when the message was sent.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src9" rel="noopener noreferrer"&gt;9&lt;/a&gt; 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.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;Reply-To:&lt;/code&gt; on a free-mail domain.&lt;/strong&gt; Reply to that invoice query and your answer goes to the attacker, in a thread that looks like your own.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src4" rel="noopener noreferrer"&gt;4&lt;/a&gt; Legitimate senders do this too (ticketing systems, shared inboxes). So read it next to the authentication result, not on its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A private IP relayed by a public host.&lt;/strong&gt; &lt;code&gt;from localhost (unknown [10.0.0.9])&lt;/code&gt;&lt;a href="https://tamingdns.com/articles/email-header-forensics#src10" rel="noopener noreferrer"&gt;10&lt;/a&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src12" rel="noopener noreferrer"&gt;12&lt;/a&gt; Read &lt;code&gt;with ESMTPA&lt;/code&gt; next to it. The trailing &lt;code&gt;A&lt;/code&gt; says the VPS recorded an authenticated SMTP submission.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src7" rel="noopener noreferrer"&gt;7&lt;/a&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src7" rel="noopener noreferrer"&gt;7&lt;/a&gt; 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.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;X-PHP-Originating-Script&lt;/code&gt;.&lt;/strong&gt; The sending server volunteered that a PHP script called &lt;code&gt;sendmail.php&lt;/code&gt; produced this message.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src11" rel="noopener noreferrer"&gt;11&lt;/a&gt; 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.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;h2&gt;
  
  
  What does the source IP tell me on its own?
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;client-ip=203.0.113.42&lt;/code&gt; came off the TCP session, not out of the message.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src13" rel="noopener noreferrer"&gt;13&lt;/a&gt; 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 &lt;a href="https://tamingdns.com/reverse-dns" rel="noopener noreferrer"&gt;reverse DNS lookup&lt;/a&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src5" rel="noopener noreferrer"&gt;5&lt;/a&gt; It says something about infrastructure, not about honesty. Gmail requires it of everyone who sends to it, so real mail systems usually have it.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src14" rel="noopener noreferrer"&gt;14&lt;/a&gt; An attacker who bothered can have it too.&lt;/p&gt;

&lt;p&gt;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 &lt;a href="https://tamingdns.com/articles/blocklist-which-matter" rel="noopener noreferrer"&gt;blocklist post&lt;/a&gt; works through which lists matter. An IP already on Spamhaus CSS or XBL, sending mail that fails DMARC for the domain in the &lt;code&gt;From:&lt;/code&gt;, 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src15" rel="noopener noreferrer"&gt;15&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The order matters: the IP, then its PTR, then whether that PTR resolves back, then who owns the range.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it:&lt;/strong&gt; paste the raw headers into the &lt;a href="https://tamingdns.com/email-headers" rel="noopener noreferrer"&gt;email header analyser&lt;/a&gt; for the spoofing verdict and the hop-by-hop chain, take the originating IP to the &lt;a href="https://tamingdns.com/reverse-dns" rel="noopener noreferrer"&gt;reverse DNS checker&lt;/a&gt; to see whether its PTR confirms, and upload a DMARC XML file to the &lt;a href="https://tamingdns.com/dmarc-report" rel="noopener noreferrer"&gt;DMARC report viewer&lt;/a&gt; to find out who else has been sending as your domain this fortnight.&lt;/p&gt;

&lt;h2&gt;
  
  
  What if a forwarder broke the authentication?
&lt;/h2&gt;

&lt;p&gt;Then &lt;code&gt;spf=fail&lt;/code&gt; 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 &lt;code&gt;From:&lt;/code&gt;. Mailing lists also tend to edit the subject or body, and that breaks DKIM.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src16" rel="noopener noreferrer"&gt;16&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ARC, the Authenticated Received Chain (&lt;a href="https://www.rfc-editor.org/rfc/rfc8617.html" rel="noopener noreferrer"&gt;RFC 8617&lt;/a&gt;), exists for this. Each intermediary that takes part records what it saw and signs the record.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src17" rel="noopener noreferrer"&gt;17&lt;/a&gt; A receiver can then read authentication results from before the forward:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight email"&gt;&lt;code&gt;&lt;span class="na"&gt;ARC-Authentication-Results: i&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;mx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;listserver&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;spf&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;pass&lt;/span&gt; &lt;span class="n"&gt;smtp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mailfrom&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;dkim&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;pass&lt;/span&gt; &lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;dmarc&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;pass&lt;/span&gt; &lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;from&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;
&lt;span class="na"&gt;ARC-Message-Signature: i&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;rsa&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;sha256&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;listserver&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;arc&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="na"&gt;ARC-Seal: i&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;rsa&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;sha256&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;listserver&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;arc&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;cv&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read &lt;code&gt;i=&lt;/code&gt; for the instance number, and &lt;code&gt;cv=&lt;/code&gt; on the highest &lt;code&gt;ARC-Seal&lt;/code&gt; for whether the chain still validates.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src17" rel="noopener noreferrer"&gt;17&lt;/a&gt; &lt;code&gt;cv=fail&lt;/code&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src17" rel="noopener noreferrer"&gt;17&lt;/a&gt; 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.&lt;/p&gt;

&lt;p&gt;Whether that saves the message is a decision your receiver makes. Microsoft only honours a chain from a sealer you've explicitly trusted.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src18" rel="noopener noreferrer"&gt;18&lt;/a&gt; It stamps &lt;code&gt;compauth&lt;/code&gt; reason &lt;code&gt;130&lt;/code&gt; when a trusted seal overrides a DMARC failure.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt; Plenty of forwarders don't seal at all.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src17" rel="noopener noreferrer"&gt;17&lt;/a&gt; So an absent chain tells you nobody recorded the forward, not that no forward happened.&lt;/p&gt;

&lt;p&gt;ARC may also be retired. The IETF's DMARC working group has adopted a draft, &lt;a href="https://datatracker.ietf.org/doc/draft-ietf-dmarc-arc-to-historic/" rel="noopener noreferrer"&gt;Reclassifying ARC as Historic&lt;/a&gt;. 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src20" rel="noopener noreferrer"&gt;20&lt;/a&gt; And it asks existing deployers to plan to decommission ARC or keep it inside their own domains.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src20" rel="noopener noreferrer"&gt;20&lt;/a&gt; The draft isn't approved yet, so &lt;a href="https://www.rfc-editor.org/rfc/rfc8617.html" rel="noopener noreferrer"&gt;RFC 8617&lt;/a&gt; stands, and Microsoft's &lt;a href="https://learn.microsoft.com/en-us/defender-office-365/message-headers-eop-mdo" rel="noopener noreferrer"&gt;header documentation&lt;/a&gt; still describes the ARC fields and reason &lt;code&gt;130&lt;/code&gt; (page last updated 27 July 2026).&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt; The successor work is DKIM2, still at draft stage.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src21" rel="noopener noreferrer"&gt;21&lt;/a&gt; Until deployers act on it, you'll still meet these headers, and the draft itself allows verifying them for forensic purposes.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src20" rel="noopener noreferrer"&gt;20&lt;/a&gt; A chain tells you what an intermediary says it saw. Weigh who sealed it, not the fact that a seal validated.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src17" rel="noopener noreferrer"&gt;17&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What about Microsoft's compauth verdict?
&lt;/h2&gt;

&lt;p&gt;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:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight email"&gt;&lt;code&gt;&lt;span class="na"&gt;Authentication-Results: spf&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fail&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sender&lt;/span&gt; &lt;span class="no"&gt;IP&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="mf"&gt;203.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;113.42&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="na"&gt;smtp.mailfrom&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;vps&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;77&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;dkim&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;dmarc&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fail&lt;/span&gt; &lt;span class="n"&gt;action&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;none&lt;/span&gt; &lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;from&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;northwind&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;traders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="na"&gt;compauth&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fail&lt;/span&gt; &lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;001&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;compauth=fail&lt;/code&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt; So read the code as a verdict on the sender's posture, and go to message trace for what actually happened to the mail. &lt;code&gt;dmarc=&lt;/code&gt; here can also read &lt;code&gt;bestguesspass&lt;/code&gt;, a result RFC 9989 doesn't define.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src6" rel="noopener noreferrer"&gt;6&lt;/a&gt; It means the domain publishes no DMARC record, and the message would have passed if it did.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The three-digit &lt;code&gt;reason&lt;/code&gt; code is the payload. Microsoft &lt;a href="https://learn.microsoft.com/en-us/defender-office-365/message-headers-eop-mdo#composite-authentication-reason-codes" rel="noopener noreferrer"&gt;publishes the whole table&lt;/a&gt;, around thirty codes in families,&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt; and we list &lt;a href="https://tamingdns.com/compauth" rel="noopener noreferrer"&gt;every one of them&lt;/a&gt; in Microsoft's wording, with a page of our own for ten.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src22" rel="noopener noreferrer"&gt;22&lt;/a&gt; These are the ones worth recognising on sight:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://tamingdns.com/compauth/000" rel="noopener noreferrer"&gt;&lt;code&gt;000&lt;/code&gt;&lt;/a&gt;, failed explicit authentication.&lt;/strong&gt; The message failed DMARC and the domain's policy is &lt;code&gt;p=quarantine&lt;/code&gt; or &lt;code&gt;p=reject&lt;/code&gt;. The domain owner asked receivers to treat this as a failure, and Microsoft recorded that it was one.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://tamingdns.com/compauth/001" rel="noopener noreferrer"&gt;&lt;code&gt;001&lt;/code&gt;&lt;/a&gt;, failed implicit authentication.&lt;/strong&gt; The sending domain published no authentication records, or published weak ones: SPF ending &lt;code&gt;~all&lt;/code&gt; or &lt;code&gt;?all&lt;/code&gt;, or DMARC at &lt;code&gt;p=none&lt;/code&gt;. That's the code our example earns, because the spoofed domain sits at &lt;code&gt;p=none&lt;/code&gt;.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://tamingdns.com/compauth/010" rel="noopener noreferrer"&gt;&lt;code&gt;010&lt;/code&gt;&lt;/a&gt;, someone spoofing your own domain.&lt;/strong&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://tamingdns.com/compauth/601" rel="noopener noreferrer"&gt;&lt;code&gt;601&lt;/code&gt;&lt;/a&gt;, the same shape without the enforcing policy.&lt;/strong&gt; The From domain is one of your accepted domains and the message failed the weaker implicit check. It sits in &lt;code&gt;6xx&lt;/code&gt;, a second failure family that catches people out because it's nowhere near &lt;code&gt;000&lt;/code&gt;.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://tamingdns.com/compauth#families" rel="noopener noreferrer"&gt;&lt;code&gt;1xx&lt;/code&gt;&lt;/a&gt;, passed.&lt;/strong&gt; Five are worth recognising, and three of them pass a message that still looks broken. &lt;a href="https://tamingdns.com/compauth/100" rel="noopener noreferrer"&gt;&lt;code&gt;100&lt;/code&gt;&lt;/a&gt; is SPF or DKIM passing in alignment. &lt;a href="https://tamingdns.com/compauth/109" rel="noopener noreferrer"&gt;&lt;code&gt;109&lt;/code&gt;&lt;/a&gt; is a domain with no DMARC record whose message would have passed anyway. &lt;a href="https://tamingdns.com/compauth/115" rel="noopener noreferrer"&gt;&lt;code&gt;115&lt;/code&gt;&lt;/a&gt; is mail from a tenant where the From domain is an accepted domain. &lt;a href="https://tamingdns.com/compauth/108" rel="noopener noreferrer"&gt;&lt;code&gt;108&lt;/code&gt;&lt;/a&gt; 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. &lt;a href="https://tamingdns.com/compauth/130" rel="noopener noreferrer"&gt;&lt;code&gt;130&lt;/code&gt;&lt;/a&gt; is a trusted ARC sealer's result overriding a DMARC failure, and only sealers you've explicitly configured count.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src19" rel="noopener noreferrer"&gt;19&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Our take:&lt;/strong&gt; the code to worry about is &lt;a href="https://tamingdns.com/compauth/001" rel="noopener noreferrer"&gt;&lt;code&gt;001&lt;/code&gt;&lt;/a&gt;, not &lt;a href="https://tamingdns.com/compauth/000" rel="noopener noreferrer"&gt;&lt;code&gt;000&lt;/code&gt;&lt;/a&gt;. A &lt;code&gt;000&lt;/code&gt; means the domain owner published an enforcing policy and Microsoft evaluated the message against it. That's the system working. A &lt;code&gt;001&lt;/code&gt; 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 &lt;code&gt;601&lt;/code&gt;.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src22" rel="noopener noreferrer"&gt;22&lt;/a&gt; The fix is a DMARC record with teeth, not anything in the message. Check the legitimate senders using that domain before you tighten it.&lt;/p&gt;

&lt;p&gt;Microsoft's inbound handling has its own set of rules and its own vocabulary of rejections. The &lt;a href="https://tamingdns.com/articles/microsoft-365-blocking-mail" rel="noopener noreferrer"&gt;M365 blocking post&lt;/a&gt; unpacks the ones you meet on the sending side.&lt;/p&gt;

&lt;h2&gt;
  
  
  What if everything passes and the message is still fraudulent?
&lt;/h2&gt;

&lt;p&gt;Then it probably isn't a spoof, and the headers have just told you something more serious.&lt;/p&gt;

&lt;p&gt;Three different things arrive looking like the same email. The authentication result is what separates them.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A spoof.&lt;/strong&gt; The attacker writes your supplier's name in &lt;code&gt;From:&lt;/code&gt; and sends from their own infrastructure. Nothing aligns, DMARC fails, and everything above applies. This is our example.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compromised sending infrastructure.&lt;/strong&gt; 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.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A compromised mailbox.&lt;/strong&gt; 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.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;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 &lt;code&gt;Received&lt;/code&gt; 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.&lt;/p&gt;

&lt;p&gt;A DMARC pass says the From domain was authenticated. It says nothing about whether the message or the domain owner can be trusted.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src6" rel="noopener noreferrer"&gt;6&lt;/a&gt; It's the same gap that makes mail &lt;a href="https://tamingdns.com/articles/spam-despite-passing" rel="noopener noreferrer"&gt;land in spam despite passing every check&lt;/a&gt;, read from the other direction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to do:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keep the raw headers of anything suspicious before the mailbox owner deletes the message. Exchange Online message trace won't reconstruct them for you.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src3" rel="noopener noreferrer"&gt;3&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Read &lt;code&gt;Authentication-Results&lt;/code&gt;, &lt;code&gt;Return-Path&lt;/code&gt; and &lt;code&gt;From:&lt;/code&gt; together, not one at a time.&lt;/li&gt;
&lt;li&gt;Treat every &lt;code&gt;Received:&lt;/code&gt; 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.&lt;/li&gt;
&lt;li&gt;On a Microsoft 365 mailbox, read the &lt;a href="https://tamingdns.com/compauth" rel="noopener noreferrer"&gt;&lt;code&gt;compauth&lt;/code&gt; reason code&lt;/a&gt; as well as the DMARC verdict. &lt;code&gt;001&lt;/code&gt; on a domain you own, or &lt;code&gt;601&lt;/code&gt; inside your own tenant, is your own posture failing, not the sender's.&lt;/li&gt;
&lt;li&gt;Check who wrote the &lt;code&gt;Authentication-Results&lt;/code&gt; you're reading. Your own gateway's verdict is evidence. One that arrived with the message is a claim.&lt;/li&gt;
&lt;li&gt;If a DKIM signature exists, read &lt;code&gt;d=&lt;/code&gt; and &lt;code&gt;s=&lt;/code&gt; off the &lt;code&gt;DKIM-Signature&lt;/code&gt; 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.&lt;a href="https://tamingdns.com/articles/email-header-forensics#src6" rel="noopener noreferrer"&gt;6&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Where a forwarder or mailing list is involved, look for &lt;code&gt;ARC-Seal&lt;/code&gt; and read &lt;code&gt;cv=&lt;/code&gt; on the highest instance before you blame the sender for a broken signature.&lt;/li&gt;
&lt;li&gt;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.&lt;/li&gt;
&lt;li&gt;When the answer is "the supplier's domain is at &lt;code&gt;p=none&lt;/code&gt;, 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.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://tamingdns.com/email-headers" rel="noopener noreferrer"&gt;Analyse a set of email headers.&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources checked
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;“Next to Reply, click More”, then “Show original”. “In a new window, the full header shows. Click Copy to clipboard.” Source: &lt;a href="https://support.google.com/mail/answer/29436" rel="noopener noreferrer"&gt;Gmail Help: Trace an email with its full header&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Classic Outlook: “Double-click an email message to open it outside of the Reading Pane in classic Outlook for Windows. Click File &amp;gt; 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 &amp;gt; View message details.” Source: &lt;a href="https://support.microsoft.com/en-us/office/view-internet-message-headers-in-outlook-cd039382-dc6e-4264-ac74-c048563d212c" rel="noopener noreferrer"&gt;Microsoft Support: View internet message headers in Outlook&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;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: &lt;a href="https://learn.microsoft.com/en-us/exchange/monitoring/trace-an-email-message/message-trace-modern-eac" rel="noopener noreferrer"&gt;Microsoft Learn: Message trace in the new EAC in Exchange Online&lt;/a&gt; and &lt;a href="https://learn.microsoft.com/en-us/defender-office-365/message-trace-defender-portal" rel="noopener noreferrer"&gt;Message trace in the Microsoft Defender portal&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;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 &lt;code&gt;@&lt;/code&gt; 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: &lt;a href="https://www.rfc-editor.org/rfc/rfc5322.html#section-3.6.2" rel="noopener noreferrer"&gt;RFC 5322 §2.1, §3.6.2 and §3.6.4&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;“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 boundary but that did not come directly from another trusted MTA” (§5). DKIM &lt;code&gt;none&lt;/code&gt;: “The message was not signed.” (§2.7.1). iprev looks up the client IP’s PTR names and then each name’s addresses, and “Often an MTA receiving a connection that fails this test will simply reject the connection” (§3). Reported errata 6026, 6027 and 6790 touch §2.2, Appendix B and §8 only. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc8601.html#section-5" rel="noopener noreferrer"&gt;RFC 8601 §2.7.1, §3 and §5&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;RFC 9989 “obsoletes RFCs 7489 and 9091”. Alignment is relaxed when the two domains share an Organizational Domain and strict when they are identical, and “In practice, nearly all Domain Owners have found relaxed alignment sufficient to meet their needs” (§4.4). Any domain can earn an SPF pass: “any Domain Owner, even a bad actor, can publish an SPF record for its domain and send an email that will obtain an SPF "pass" result” (§4.4.2). “A single email can contain multiple DKIM signatures, and it is considered to produce a DMARC "pass" result if any DKIM-Authenticated Identifier aligns with the Author Domain” (§4.4.1). &lt;code&gt;adkim&lt;/code&gt; and &lt;code&gt;aspf&lt;/code&gt;: “default is "r"” (§4.7). “discovered policies of "p=none" MUST NOT modify existing mail handling processes”, “Mail Receivers MAY choose to accept email that fails the DMARC validation check even if the published Domain Owner Assessment Policy is "reject"”, and a DMARC pass “does not carry an explicit or implicit value assertion about that message or the Domain Owner” (§5.4). “Mail that is sent by authorized, independent third parties might not be sent with Identifier Alignment, also preventing a "pass" result” (§7.3). The DMARC result names it registers are fail, none, pass, permerror and temperror (§9.2); &lt;code&gt;bestguesspass&lt;/code&gt; appears nowhere in it. Errata 8995, 9025 and 9150 touch the appendices and §11.6 only. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc9989.html#section-4.4" rel="noopener noreferrer"&gt;RFC 9989 §4.4, §4.4.1, §4.4.2, §4.7, §5.4, §7.3 and §9.2&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;“The new keyword "ESMTPA" indicates the use of ESMTP when the SMTP AUTH [3] extension is also used and authentication is successfully achieved” (§1). On stripping: “some people in a misguided attempt to hide information about their internal servers will strip Received headers of useful information” (§3). On trusting the keyword: “These keywords are not normally protected in transport which means they can be modified by an active attacker. They also do not indicate the specifics of the mechanism used, and therefore do not provide any real-world security assurance.” and “Information with a higher degree of reliability can be obtained by correlating the Received headers with the logs of the various Mail Transfer Agents through which the message passed.” (§3). No errata. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc3848.html" rel="noopener noreferrer"&gt;RFC 3848 §1 and §3&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;“SMTP servers MUST prepend Received lines to messages; they MUST NOT change the order of existing lines or insert Received lines in any other location.” “When the delivery SMTP server makes the "final delivery" of a message, it inserts a return-path line at the beginning of the mail data.” “The return-path line preserves the information in the  from the MAIL command.” On a different bounce address: “When mailing lists are involved, this arrangement is common and useful”. The FROM clause carries “an address literal containing the IP address of the source, determined from the TCP connection.” On timestamps: “comparability of Received header fields is important for detecting problems, especially slow relays. SMTP servers that create Received header fields SHOULD use explicit offsets in the dates (e.g., -0800), rather than time zone names of any type.” “If UT is needed, the receiver need merely do some simple arithmetic to convert the values.” Verified erratum 1683 on §4.4 corrects an ABNF rule only; held erratum 3447 would make the return-path insertion a MUST. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc5321.html#section-4.4" rel="noopener noreferrer"&gt;RFC 5321 §4.4&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;“If the signature line is missing, is that because it was never there, or was it removed by an overzealous filter?” Rejected erratum 5551, on §6.3’s reply codes, does not touch this sentence. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc6376.html#section-6.3" rel="noopener noreferrer"&gt;RFC 6376 §6.3&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;IANA “has reserved the following three blocks of the IP address space for private internets: 10.0.0.0 - 10.255.255.255 (10/8 prefix)” and two others. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc1918.html#section-3" rel="noopener noreferrer"&gt;RFC 1918 §3&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The page covers PHP’s mail functions: “The behaviour of these functions is affected by settings in php.ini.” &lt;code&gt;mail.add_x_header&lt;/code&gt;: “Add X-PHP-Originating-Script that will include UID of the script followed by the filename.” Its default is “0”, off. Source: &lt;a href="https://www.php.net/manual/en/mail.configuration.php" rel="noopener noreferrer"&gt;PHP Manual: Mail runtime configuration&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The sample above, run through our own parser and engine on 24 October 2026, returned verdict &lt;code&gt;likely_phishing&lt;/code&gt; with &lt;code&gt;DMARC_FAILED&lt;/code&gt;, &lt;code&gt;SPF_HARD_FAIL&lt;/code&gt;, &lt;code&gt;REPLY_TO_DIFFERENT_DOMAIN&lt;/code&gt;, &lt;code&gt;SERVER_LEAK_HEADERS&lt;/code&gt;, &lt;code&gt;DATE_TOO_OLD&lt;/code&gt; and &lt;code&gt;PRIVATE_IP_IN_PUBLIC_PATH&lt;/code&gt;. &lt;code&gt;PRIVATE_IP_IN_PUBLIC_PATH&lt;/code&gt; is info-level and reads “Senders do this all the time: an app server or mail client passes the message to its own outbound server first.” Backward hop timestamps are tolerated up to &lt;code&gt;HOP_SKEW_TOLERANCE = 60&lt;/code&gt; seconds before &lt;code&gt;RECEIVED_TIMESTAMPS_BACKWARD&lt;/code&gt; fires. &lt;code&gt;DMARC_FAILED&lt;/code&gt; reads “The message either failed both SPF and DKIM, or passed neither in alignment with the From-header domain.” The engine has no finding for a Return-Path that differs from From; its source notes that the split is legitimate “for every ESP / VERP bounce setup; DMARC handles it via alignment”. Source: &lt;code&gt;app/lib/EmailHeaderAnalyzer.php&lt;/code&gt; and &lt;code&gt;assets/js/email-headers-core.js&lt;/code&gt; (&lt;code&gt;buildEmailHeadersCanonical&lt;/code&gt;), the same engine the &lt;a href="https://tamingdns.com/email-headers" rel="noopener noreferrer"&gt;email header analyser&lt;/a&gt; runs&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;Received-SPF&lt;/code&gt;, &lt;code&gt;client-ip&lt;/code&gt; is “the IP address of the SMTP client”. Reported erratum 5843 on §9.1 quotes a mechanism value in an example only; verified erratum 5436 loosens the header’s ABNF only. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc7208.html#section-9.1" rel="noopener noreferrer"&gt;RFC 7208 §9.1&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;“Starting February 1, 2024, all email senders who send email to Gmail accounts must meet the requirements in this section”, including “Ensure that sending domains or IPs have valid forward and reverse DNS records, also referred to as PTR records.” Source: &lt;a href="https://support.google.com/mail/answer/81126" rel="noopener noreferrer"&gt;Gmail Help: Email sender guidelines&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;CSS: “an automatically produced dataset of IP addresses that are involved in sending low-reputation email. CSS mostly targets static spam emitters but may also include other senders that display a risk to our users, such as compromised hosts.” XBL: “individual IPv4 and IPv6 addresses exhibiting signs of compromise i.e. IPs that are legitimate but have been hijacked to use by third-party exploits.” Source: &lt;a href="https://www.spamhaus.org/faqs/combined-spam-sources-css/" rel="noopener noreferrer"&gt;Spamhaus CSS FAQ&lt;/a&gt; and &lt;a href="https://www.spamhaus.org/blocklists/exploits-blocklist/" rel="noopener noreferrer"&gt;Spamhaus Exploits Blocklist&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;“If the RFC5321.MailFrom is present and the forwarder maintains the original RFC5321.MailFrom, SPF validation will fail unless the forwarder is an authorized part of the originator’s email sending infrastructure. If the forwarder replaces the RFC5321.MailFrom with its own domain, SPF might pass, but Identifier Alignment with the RFC5322.From header field will fail” (§2.2). Mailing lists “very commonly modify headers or message content in ways that will cause DKIM to fail”, including a subject tag and a body footer (§3.2.3). No errata. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc7960.html#section-2.2" rel="noopener noreferrer"&gt;RFC 7960 §2.2 and §3.2.3&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;“Instance tag values are integers that begin at 1 and are incremented by each addition of an ARC Set” (§4.2.1); the Chain Validation Status is carried “as the AS header field in the "cv" tag” (§4.4); the validator stops with "fail" if “the Chain Validation Status of the highest instance value ARC Set is "fail"”, and a sealer marks the chain it found broken with &lt;code&gt;cv=fail&lt;/code&gt; (§5.1.2, §5.2). “a message with an Authenticated Received Chain with a Chain Validation Status of "fail" MUST be treated the same as a message with no Authenticated Received Chain”, and “many intermediaries will continue to modify messages without adding ARC seals” (§5.2). “Recipients are cautioned to treat every Sealer of the ARC Chain with suspicion” (§9.4). RFC 8617 is an Experimental RFC. Reported errata 7910 and 8357 touch ABNF in §4.1.2 and a missing citation in §5.2.2 only. Source: &lt;a href="https://www.rfc-editor.org/rfc/rfc8617.html" rel="noopener noreferrer"&gt;RFC 8617 §4.2.1, §4.4, §5.1.2, §5.2 and §9.4&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;“After an admin adds a trusted ARC sealer in the Defender portal, Microsoft 365 uses the original email authentication information that the ARC sealer provides”. Its troubleshooting table: “oda=0 despite arc=pass”, likely cause “ARC sealer domain isn’t in the trusted sealers list.” (Last updated 2026-08-07.) The same page carries a shorter compauth table that disagrees with source 19 on &lt;code&gt;002&lt;/code&gt;, &lt;code&gt;010&lt;/code&gt; and &lt;code&gt;1xx&lt;/code&gt;; this article follows source 19, Microsoft’s header reference. Source: &lt;a href="https://learn.microsoft.com/en-us/defender-office-365/email-authentication-arc-configure" rel="noopener noreferrer"&gt;Microsoft Learn: Configure trusted ARC sealers&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Page last updated 2026-07-27. ARC row: “AAR: Records the content of the Authentication-results header from DMARC. AMS: Includes cryptographic signatures of the message. AS: Includes cryptographic signatures of the message headers. This field contains a tag of a chain validation called "cv="”. compauth: “Despite a compauth failure, the message might still be allowed if other assessments don’t indicate a suspicious nature.” “bestguesspass: Indicates that no DMARC TXT record exists for the domain exists. If the domain had a DMARC TXT record, the DMARC check for the message would pass.” The reason table has 30 rows, seven of them families. &lt;code&gt;000&lt;/code&gt;: “The message received a DMARC fail and the DMARC policy action is p=quarantine or p=reject.” &lt;code&gt;001&lt;/code&gt;: “The sending domain didn’t have email authentication records published, or if they did, they had a weaker failure policy (SPF ~all or ?all, or a DMARC policy of p=none).” &lt;code&gt;010&lt;/code&gt;: “The message failed DMARC, the DMARC policy action is p=reject or p=quarantine, and the sending domain is one of your organization’s accepted domains (self-to-self or intra-org spoofing).” &lt;code&gt;6xx&lt;/code&gt;: “The message failed implicit email authentication”; &lt;code&gt;601&lt;/code&gt;: “The sending domain is an accepted domain in your organization (self-to-self or intra-org spoofing).” &lt;code&gt;1xx&lt;/code&gt;: “The message passed explicit or implicit authentication”. &lt;code&gt;100&lt;/code&gt;: “SPF passed or DKIM passed and the domains in the MAIL FROM and From addresses are aligned.” &lt;code&gt;108&lt;/code&gt;: “DKIM failed due to a message body modification attributed to previous legitimate hops. For example, the message body was modified in the organization’s on-premises email environment.” &lt;code&gt;109&lt;/code&gt;: “Although the sender’s domain has no DMARC record, the message would pass, anyway.” &lt;code&gt;115&lt;/code&gt;: “The message was sent from a Microsoft 365 organization where the From address domain is configured as an accepted domain.” &lt;code&gt;130&lt;/code&gt;: “The ARC result from a trusted ARC sealer overrode the DMARC failure.” Source: &lt;a href="https://learn.microsoft.com/en-us/defender-office-365/message-headers-eop-mdo" rel="noopener noreferrer"&gt;Microsoft Learn: Anti-spam message headers&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;A dmarc working group document (version -01, 21 October 2026, “Obsoletes: 8617 (if approved)”): “Implementers and operators should not rely on ARC going forward, and should cease further Internet-wide deployments.” Receivers that still parse ARC headers “should not make delivery decisions based on ARC chain validity without robust reputational trust signals and associated policies.” “Existing ARC deployers should plan to decommission them or confine their usage to controlled, intra-domain contexts where bilateral policy suffices.” Receivers “may continue to verify them for forensic or intra-domain purposes”. Datatracker shows it as a WG Document with IESG state “I-D Exists”. Source: &lt;a href="https://datatracker.ietf.org/doc/draft-ietf-dmarc-arc-to-historic/" rel="noopener noreferrer"&gt;IETF Datatracker: draft-ietf-dmarc-arc-to-historic&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The DKIM working group’s DKIM2 documents are all Active Internet-Drafts, among them &lt;code&gt;draft-ietf-dkim-dkim2-spec-07&lt;/code&gt; (2026-10-18); its list of RFCs has no DKIM2 entry. Source: &lt;a href="https://datatracker.ietf.org/wg/dkim/documents/" rel="noopener noreferrer"&gt;IETF Datatracker: DKIM working group documents&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Our reference table carries all 30 of Microsoft’s rows. Our &lt;code&gt;601&lt;/code&gt; entry: “reason=001 is the same implicit failure on a domain that is not yours.” Source: &lt;code&gt;app/lib/compauth_data.php&lt;/code&gt;, rendered at &lt;a href="https://tamingdns.com/compauth" rel="noopener noreferrer"&gt;/compauth&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>email</category>
      <category>security</category>
      <category>dns</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
