skip to content

Which Authentication-Results fields on a delivered message should your mail filters trust, and how should your border handle look-alike fields arriving from outside?

level: seniorimportance: should knowfreq 22%

answer

  1. whose record is it
  2. your own authserv-id only
  3. strip on the way in
  4. above your own Received line

basics

~20 s

Trust only Authentication-Results fields carrying your own authserv-id that your boundary added. RFC 8601 requires a border MTA to delete arriving fields that claim your authserv-id, and lets it strip all external ones or keep an allowlist.

solid answer

~40 s

Anyone can type an `Authentication-Results` line into a message, so the field is evidence only when **your own receiving boundary** wrote it. RFC 8601 section 5 says an MTA MUST delete or obscure any arriving instance whose **authserv-id** claims to come from inside its trust boundary but did not come from a trusted MTA, and a border MTA may simply remove every instance on mail crossing in, or admit fields only from a listed set of authenticating services. Downstream, filters and clients SHOULD act only on fields whose authserv-id is configured as yours, positioned above the `Received` line your border added, and MUST ignore unregistered results, ptypes and unsupported methods. A field from an intermediary, including the `ARC-Authentication-Results` copy in an ARC set, is that party's claim, trusted only by local policy.

go deeper

for a junior

Recall that Authentication-Results is only trustworthy when your own receiving system wrote it, identified by your authserv-id.

for a middle

Explain the RFC 8601 section 5 rule: the border deletes arriving fields claiming your authserv-id, then prepends its own above its Received line.

for a senior

Show how you would verify the border actually strips look-alike fields, which authserv-ids downstream tools trust, and how you read a forwarded attachment's stale results.

for a principal

Decide whether to strip every external field or admit an upstream service's and named intermediaries' results, weighing lost evidence and broken signatures against forged trust.

## Why the field cannot be trusted by default `Authentication-Results` (RFC 8601, May 2019) is just a header field. Nothing stops a sending system from including one that claims every check passed. RFC 8601 section 7.1 names the risk directly: a forged field that uses the receiving domain's own authserv-id and claims the message was authenticated, which a non-conforming receiver fails to strip and a mail client then trusts. Two rules follow: - the **writer** of a field you rely on must be inside your boundary; - the **reader** must be told which authserv-ids count as yours, because RFC 8601 says interpretation SHOULD NOT be on by default and any list of trusted hosts should start empty. ## What the border MTA must do RFC 8601 sets the inbound rules, mostly at MUST strength: 1. Delete or otherwise obscure **any instance claiming, by its authserv-id, to have been added inside your trust boundary** that did not come directly from another trusted MTA. The RFC's example: an MTA for `example.com` MUST remove arriving fields with an authserv-id indicating `example.com` before adding its own. 2. Remove any instance bearing a **version it does not support** when the connection is not from a trusted internal MTA (MUST in that case; SHOULD otherwise). 3. Then add its own field at the top (it SHOULD sit above any other trace fields it prepends), and never add a result to an existing field (MUST NOT). Beyond the minimum, the RFC describes two border policies: | Border policy | Effect | Cost | |---|---|---| | Strip every incoming instance | Simplest and safest; only your results survive | Loses results from external services you might trust; may invalidate signatures that covered those fields | | Allowlist named authenticating MTAs | Keeps results from a service you rely on, removes the rest | You must maintain the list and the identifiers they use, past and present | Stripping a field that a DKIM signature covered will make that signature fail if it is verified again later. RFC 8601 notes that this can be desirable, since there is little value in a valid signature over forged fields. ## What your filters and clients should read - **Authserv-id first.** Act on a field only when its authserv-id is one your receiving domain uses. RFC 8601 says the domain that generates the identifier MUST guarantee its uniqueness and that it MUST pertain to that domain, and recommends one common token, often the domain name, across the domain. - **Position second.** A field your border added sits above the `Received` line that border added. Fields below it came in with the message, and the order of other trace lines is not yours to vouch for. - **Grammar third.** Ignore results, ptypes and methods that are not registered or not supported (MUST), and treat comments as human text. - **Attachments are history.** A copy of a message forwarded as an attachment carries the original recipient's fields, possibly from long ago; RFC 8601 says clients SHOULD ignore instances found inside such attachments. ## Results recorded by someone else Two cases look like your own results but are not: 1. **An external service provider you deliberately trust** to authenticate mail on your behalf. RFC 8601 allows a border MTA to keep its results even across administrative boundaries, ideally with the upstream protecting them with a DKIM signature of its own. 2. **An ARC set from an intermediary**, such as a mailing list or forwarder. RFC 8617 (July 2019, Experimental) defines `ARC-Authentication-Results` with the same syntax and meaning as `Authentication-Results`, plus an instance tag `i=` numbering each intermediary. Its authserv-id is the intermediary's, so it records what that party saw on arrival. Whether to act on it is a receiver's local decision; how ARC seals and validates the chain is covered with DMARC rollout. ## What a passing field still does not say Even a field your boundary wrote is a record of checks, not a judgement. RFC 8601 section 7.2 points out that spam can pass several methods, and section 4.1 gives the example of a look-alike domain with a valid signature reporting `pass`. Turning the evidence into a verdict on a reported message belongs to triage, not to the header. ## Checklist for an administrator - Confirm the border removes arriving fields that carry your authserv-id: deliver a test message of your own that already carries such a field and read the delivered copy. - Write down which authserv-ids your domain uses, including retired ones still present in older mail. - Configure downstream filters and clients with that list, and nothing else, as trusted. - Decide explicitly whether any upstream service's results, or ARC results from named intermediaries, are admitted.

  • Why does RFC 8601 recommend one common authserv-id across a domain rather than each MTA's own hostname?
    Consumers decide what to trust by authserv-id. A single hierarchical token, often the domain name, lets every client and filter trust one value; per-host names force a central table of every trusted system that must also remember old names for mail still in transit or re-examined later. Hostnames remain allowed for tracing and debugging.
  • How can a downstream system tell which Authentication-Results field your border added?
    Your border prepends its field above the `Received` line it adds, so the trusted field is the one with your authserv-id sitting above that line. Anything below it arrived with the message. RFC 8601 lists this position test among the ways to judge validity, assuming internal MTAs prepend correctly.

  • Trusts any Authentication-Results field that reports dmarc=pass
  • Believes senders cannot add Authentication-Results fields to their own messages
  • Thinks the bottom field is most reliable because it is closest to the origin
  • Treats an ARC-Authentication-Results field as the receiver's own result
  • Assumes a passing field from your own border proves the sender is legitimate