skip to content

In an Authentication-Results header, what do the authserv-id, the method=result pairs, smtp.mailfrom, header.d and header.from each tell you?

level: middleimportance: must knowfreq 42%

answer

  1. who checked, then what
  2. ptype dot property
  3. SMTP command versus header
  4. the d= tag, not a header

basics

~20 s

The authserv-id names the receiving service that ran the checks; each method=result pair gives one check's outcome; smtp.mailfrom is the envelope domain SPF evaluated, header.d the DKIM signing domain and header.from the From domain DMARC evaluated.

solid answer

~40 s

`Authentication-Results` (RFC 8601, May 2019) is written by a receiver after it runs checks. It opens with the **authserv-id**, the identifier of the authentication service in the receiving domain, which tells you whose record this is. Then come `;`-separated `method=result` statements such as `spf=pass`, `dkim=pass` and `dmarc=pass`, each followed by `ptype.property=value` items saying what was evaluated. `smtp.mailfrom` means the value came from the `MAIL FROM` command, so it is the domain SPF covered (`smtp.helo` if the HELO name was checked instead). `header.d` is the `d=` tag of the DKIM signature that was verified, not a header field called d. `header.from` is the domain of the RFC 5322 `From` field that DMARC evaluated. Reading them side by side tells you whether any passing check was about the domain the reader sees.

go deeper

for a junior

Recall that the receiver writes this field and that each method=result pair is one check: spf, dkim, dmarc.

for a middle

Walk a real field item by item: the authserv-id, the smtp ptype for SPF's mailfrom or helo, header.d for DKIM's signing domain and header.from for DMARC.

for a senior

State which domain each passing check actually covered, flag when none of them is the From domain, and confirm the authserv-id is your own before relying on any of it.

for a principal

Decide which downstream tools are allowed to act on these results, and on whose authserv-id, so that a filter or client never trusts a field your own boundary did not write.

## What the field is `Authentication-Results` is defined in RFC 8601 (May 2019, Standards Track, obsoleting RFC 7601). A receiving system adds it after it has run message authentication checks, to record **which service ran them, which methods it applied and what each one returned**, so later filters and mail clients do not have to repeat the work. It is a **trace field**: it is prepended at the top of the header, SHOULD sit above any `Received` line that system adds, and MUST NOT be reordered. A message can carry several instances, one per checking service or per check. ## The grammar in one line After comments are removed, the value is: 1. an **authserv-id**, optionally followed by a version number; 2. then either `; none` (no checks were done) or one or more statements of the form `; method=result`; 3. each statement optionally followed by `reason=` and by one or more **`ptype.property=value`** items. The **ptype** says where the evaluated value came from: `smtp` for a parameter of an SMTP command, `header` for something taken from the message header, and `policy` for a local policy decision. The **property** narrows it down. Any SMTP command named as a property is written lowercase with spaces removed, so `MAIL FROM` becomes `mailfrom`. ## Reading one message A security engineer is asked which domain each check covered on this delivered newsletter, whose `From` is `"Example News" <[email protected]>`. The receiver's field reads, line by line: 1. `Authentication-Results: mx.example.org;` 2. `spf=pass smtp.mailfrom=bounces.example.net;` 3. `dkim=pass header.d=example.com header.s=s2026a;` 4. `dmarc=pass header.from=example.com` - **Line 1** is the authserv-id. RFC 8601 says it identifies the authentication service within the receiving administrative domain; common practice is that domain's name or a host in it. It is the first thing to check, because it tells you whether this is your own receiver's record. - **Line 2**: SPF was evaluated for the envelope domain `bounces.example.net`, the sending service's bounce domain. RFC 8601 reports SPF with ptype `smtp` and property `mailfrom` or `helo` (the latter even when the client used `EHLO`), whichever identity produced the result. When SPF policy does not authenticate the local part, the value SHOULD be the domain alone. The pass is a statement about `bounces.example.net`, not about `example.com`. - **Line 3**: a DKIM signature verified for signing domain `example.com` using selector `s2026a`. RFC 8601 is explicit that `header.d` refers to the `d=` tag inside the `DKIM-Signature` field, not a header field named `d`; `header.s` (selector) and `header.a` (algorithm) are registered the same way, and `header.i` carries the signature's agent or user identifier. - **Line 4**: DMARC, whose registration RFC 9989 (May 2026) now defines, reports `header.from`, the domain portion of the RFC 5322 `From` field. Only this line is about the domain the reader sees. The answer to "which domain did each check cover" is therefore: SPF the bounce domain, DKIM and DMARC the brand. Why the DMARC result followed from those two is the identifier-alignment test, covered with DMARC; what each SPF and DKIM result value means is covered with those methods. ## Quick reference | Item | ptype | Comes from | Typical method | |---|---|---|---| | `smtp.mailfrom` | `smtp` | `MAIL FROM` reverse-path | SPF | | `smtp.helo` | `smtp` | `HELO` or `EHLO` name | SPF | | `smtp.auth` | `smtp` | Identity from SMTP AUTH | auth | | `header.d`, `header.s`, `header.i` | `header` | Tags of the verified DKIM signature | DKIM | | `header.from` | `header` | Domain of the `From` field | DMARC | | `policy.*` | `policy` | A local policy decision | Any | ## Traps when reading it - Methods are an **unordered set**: the order of statements says nothing about strength or precedence. - A result value that is not registered, a ptype that is not registered or a method the reader does not support **MUST be ignored** by consumers under RFC 8601. - Parenthesised text such as `(good signature)` is a comment for humans, not data. - A `policy` result means local policy overrode or augmented a method's own result; the property and value name the local rule. - A `pass` is not a verdict. RFC 8601 warns that a signed message from a look-alike domain verifies perfectly; the field records what was checked, not whether the sender is trustworthy. - Only fields added inside your own trust boundary are evidence; anything else in the header may have arrived with the message.

  • A message carries two Authentication-Results fields with the same authserv-id; how do you read them?
    Both claim to come from your receiving domain. RFC 8601 lets an MTA add one field per test or one with all results, and different internal MTAs may each add one, prepending at the top. Read them in position: each should sit above the `Received` line its MTA added. Any field above your border that was not added inside your boundary should have been removed on arrival.
  • Why might SPF be reported with smtp.helo rather than smtp.mailfrom?
    SPF can evaluate either the `HELO` name or the `MAIL FROM` domain, and RFC 8601 says only the parameter that yielded the result is reported, so `smtp.helo` means the result came from the receiver's check of the HELO name. The property is `helo` even if the client sent `EHLO`. When a receiver checks HELO is covered with SPF results.
  • What does a field reading only the authserv-id followed by none tell you?
    RFC 8601 lets an MTA add the authserv-id with the single token `none` to state explicitly that no message authentication was performed before delivery. It records an absence of checks, not a failed one, so nothing in it supports a conclusion about the sender.

  • Reads header.d as a header field named d rather than the DKIM d= tag
  • Assumes spf=pass on smtp.mailfrom covers the visible From domain
  • Treats the authserv-id as the sending server's name
  • Reads the order of method=result statements as an order of importance
  • Equates dmarc=pass with a verdict that the message is safe