RFC 8601 Authentication-Results: Trust Boundaries, Parsing and Forgery Resistance

· Published · 13 min read

Authentication-Results trust-boundary diagram separating receiver-generated SPF, DKIM, DMARC and ARC evidence from forged external headers

RFC 8601, published in May 2019, defines the Authentication-Results header used to communicate message-authentication results inside a defined trust boundary. The header is not self-authenticating. A secure implementation must sanitize forged fields at ingress, identify the authentication service, parse each method independently and keep observed authentication separate from alignment, reputation and mailbox placement.

What RFC 8601 changed

RFC 8601 replaced RFC 7601 as the current specification for Authentication-Results. It defines header syntax, authentication service identifiers, method results, property types, result codes, extension registries, placement and security handling. It does not define SPF, DKIM or DMARC evaluation itself; those methods produce results represented through the common header framework.

The design is scoped to an Administrative Management Domain, or ADMD. Systems inside that domain agree which MTAs produce trustworthy results and which consumers can use them. A field copied from the public Internet has no trust merely because it names Gmail, Microsoft or the local domain.

Trust is an ingress-path decision

The consumer needs a configured map of trusted border MTAs, internal relays and explicitly trusted external services. Trust comes from the message’s actual path into the ADMD, protected internal transport and administrative control. It does not come from header position, spelling, comments or a recognizable authserv-id alone.

For maximum simplicity, a border MTA can remove all pre-existing Authentication-Results fields from untrusted inbound mail and then add its own. More complex environments may retain results from contracted gateways or mailing services, but only when their ingress path and identifiers are explicitly authenticated and documented.

Remove forged local claims before evaluation

RFC 8601 requires a conforming MTA to delete any discovered field that claims, through its authserv-id, to have been added inside the local trust boundary when it did not arrive directly from another trusted MTA. Otherwise, an attacker can send a message containing fabricated “spf=pass; dkim=pass; dmarc=pass” text and influence downstream filters or users.

# Message supplied by an untrusted external client:
Authentication-Results: mx.receiver.example;
 spf=pass smtp.mailfrom=attacker.example;
 dkim=pass header.d=trusted-brand.example;
 dmarc=pass header.from=trusted-brand.example

Required border action:
1. Detect that the header claims the local authserv-id.
2. Confirm it did not arrive directly from a trusted internal MTA.
3. Delete or otherwise neutralize it before local evaluation.
4. Perform local SPF, DKIM and DMARC checks.
5. Add a new Authentication-Results field containing observed results.

Border-MTA sanitation workflow

INPUT: SMTP peer, complete received headers, configured ADMD trust map

1. Identify the actual SMTP peer and trusted ingress path.
2. Locate every Authentication-Results field before adding local results.
3. Parse only enough to identify the claimed authserv-id safely.
4. Remove any field claiming a local authserv-id from an untrusted source.
5. Remove all external fields if that is the site's simpler border policy.
6. Preserve an external field only when its service and path are explicitly trusted.
7. Run local authentication against SMTP and message evidence.
8. Add the local field above other newly prepended trace fields.
9. Pass the sanitized message and provenance to internal consumers.

Sanitization must run before internal consumers evaluate the header. If multiple inbound products prepend their own results, define each boundary and whether the next hop preserves, signs, removes or replaces prior evidence. Log removals without copying untrusted claims into trusted structured fields.

The authserv-id identifies the evaluating service

The first token identifies the authentication service that generated the field. It is commonly a DNS name controlled by the ADMD. An optional version can follow. The value tells a configured consumer which service claims the results; it does not prove the field originated there.

Normalize internationalized domain handling according to the specification before comparing identifiers. Maintain aliases and migration windows explicitly when gateways are renamed. A broad suffix rule such as “trust anything ending in example.com” can accidentally trust tenant-controlled or compromised hosts.

Header structure and a complete example

Authentication-Results: mx.receiver.example;
 spf=pass smtp.mailfrom=sender.example;
 dkim=pass header.d=sender.example header.s=rsa2026
   header.a=rsa-sha256;
 dkim=fail reason="body hash did not verify"
   header.d=vendor.example header.s=old;
 dmarc=pass header.from=sender.example

Interpretation:
- mx.receiver.example must be inside the consumer's configured trust boundary.
- SPF evaluated the MAIL FROM domain sender.example.
- One DKIM signature passed and a different signature failed.
- DMARC passed for the visible From domain sender.example.
- No inbox-placement conclusion is present.

One field can contain multiple methods, and one method can occur multiple times. The example contains two DKIM evaluations. A parser that stores a map keyed only by method name will overwrite evidence. Use an ordered list of method-result instances.

Method properties define what was evaluated

MethodIdentity/property to preserveWhat a pass establishesWhat it does not establish
SPFsmtp.mailfrom or smtp.helo, whichever identity produced the reported result.The connecting IP was authorized for the evaluated SMTP domain under the receiver’s SPF evaluation.It does not authenticate the visible From address or the MAIL FROM local part.
DKIMheader.d, header.s, header.a and header.i when reported.A specific signature verified against the key for its d= domain and selector.It does not prove DMARC alignment, message desirability or that every DKIM signature passed.
DMARCheader.from plus current registered policy properties when reported.The receiver’s DMARC evaluation passed using at least one aligned authentication path.It does not mean both SPF and DKIM passed or that the message reached the inbox.
iprevpolicy.iprev containing the evaluated client IP.The receiver’s forward-confirmed reverse-DNS check passed under its implementation.It is not SPF, domain authorization or proof of sender ownership.
authsmtp.auth and/or smtp.mailfrom as defined for authenticated submission.The SMTP session authentication method reported a pass for the recorded authorization identity.It does not automatically authenticate visible message authorship.
ARCRegistered ARC properties and result from the trusted evaluating service.The receiver obtained the reported ARC chain evaluation result.It does not mean the receiver trusts every ARC sealer or overrides local policy.

SPF properties must name the evaluated SMTP identity

SPF can evaluate RFC 5321 MailFrom or HELO/EHLO. Authentication-Results reports the identity that yielded the result using smtp.mailfrom or smtp.helo. SPF authenticates the domain portion, not the mailbox local part, so a producer should not claim unauthenticated local-part information as authenticated evidence.

When the reverse path is empty, SPF evaluation uses HELO according to SPF rules. A parser should preserve which property appeared rather than assuming every SPF result concerns MAIL FROM.

Represent each DKIM signature separately

A message can carry signatures from the author domain, an ESP, a gateway and a mailing list. Report each evaluation independently with signing domain, selector, algorithm and identity where available. One passing signature does not change the failure state of another signature.

DMARC may use any passing aligned DKIM signature. Therefore a tool needs per-signature cryptographic result and a separate alignment calculation against the visible From domain. Header order does not establish which signature is more important.

DMARC is a distinct method result

A DMARC pass means the receiver’s DMARC evaluation found at least one aligned passing SPF or DKIM path under the applicable standard and local evaluation. It does not mean both mechanisms passed. Preserve header.from and registered policy properties rather than reconstructing the entire decision from a short summary.

DMARC RFC 9989 now defines current method properties in the IANA registry. Parsers should use the registry rather than freezing a 2019-only list, while retaining unknown registered extensions safely.

Result names are method-specific evidence

Result classOperational meaningParser behaviorUnsafe interpretation
passThe named method completed successfully for the reported property under that service’s evaluation.Retain method, property, authserv-id and provenance.Treating pass as a universal message verdict.
noneNo applicable authentication material or evaluation was available for that method, or the field declares no authentication was performed.Distinguish a field-level “; none” from a method result such as spf=none.Treating none as failure or success without method context.
fail or neutralThe method produced its defined non-pass result.Use only when registered for that method and preserve its exact code.Mapping every non-pass to malicious mail.
temperrorEvaluation could not complete because of a transient condition.Preserve as temporary evidence; do not convert it to permanent failure.Reporting a DNS timeout as an authentication fail.
permerrorThe method encountered a permanent syntax or configuration problem.Retain the method-specific explanation and property.Assuming the sender identity was cryptographically disproved.
policyLocal policy replaced or classified the underlying method result as permitted by that method’s specification.Report as a local policy result, not as cryptographic pass.Displaying policy as equivalent to verified authentication.

Do not create one global enum and assume every method supports every result. Validate the method/result pair against the IANA Email Authentication Parameters registry and the method specification. Preserve an unknown registered extension without turning it into pass.

Missing header, field-level none and method none differ

No Authentication-Results field means no trustworthy conclusion can be drawn from that field. A field such as Authentication-Results: example.org 1; none says the service produced no authentication results. A method result such as spf=none says SPF found no applicable policy under SPF semantics. These states should not be merged.

Place trusted results above newly added trace fields

An MTA adding Authentication-Results should prepend it above other trace fields it adds. This makes boundary inspection easier, but position is supporting evidence only. An attacker can place a forged field at the top before the message enters the trusted system; ingress provenance remains decisive.

Parser implementation workflow

1. Preserve the raw field bytes and unfolding boundary.
2. Parse field name case-insensitively; reject malformed field syntax safely.
3. Extract authserv-id and optional version before method results.
4. Determine trust from ingress provenance, never from authserv-id text alone.
5. Split method results using RFC grammar, not plain semicolon string splitting.
6. Preserve every method instance; DKIM and other methods can repeat.
7. Validate result names and ptype.property pairs against method registries.
8. Treat comments and reason text as explanatory, not authoritative structure.
9. Keep unknown extensions as bounded raw evidence or ignore per local policy.
10. Emit normalized facts plus raw provenance; do not invent one overall score.

Authentication-Results has structured grammar, comments, quoted strings, folding whitespace and extension points. Splitting only on semicolons or equals signs will fail on legal comments and values. Use an RFC-aware parser with input limits and error isolation so one malformed field cannot crash message processing.

Normalized evidence must retain provenance

{
  "trusted": true,
  "trust_reason": "inserted_by_configured_border_mta",
  "authserv_id": "mx.receiver.example",
  "header_position": 1,
  "methods": [
    {
      "method": "spf",
      "result": "pass",
      "properties": {"smtp.mailfrom": "sender.example"}
    },
    {
      "method": "dkim",
      "result": "pass",
      "properties": {
        "header.d": "sender.example",
        "header.s": "rsa2026",
        "header.a": "rsa-sha256"
      }
    },
    {
      "method": "dmarc",
      "result": "pass",
      "properties": {"header.from": "sender.example"}
    }
  ],
  "raw_header_sha256": "sha256:...",
  "observed_at": "2026-10-29T00:00:00Z"
}

Keep the raw field or its integrity-protected reference alongside normalized data. Without the original and trust decision, later investigators cannot distinguish parser loss, message mutation or a forged source. Redact recipient data from broad analytics while preserving necessary forensic access.

Comments and reason text are not structured truth

Human-readable comments can explain why a method passed or failed, but they are not a replacement for the registered method, result and property fields. Treat comments as untrusted text even inside a trusted field: escape them in HTML, cap their length and never execute or parse URLs from them automatically.

Unknown methods and extensions

RFC 8601 supports registered extensions and limits experimental identifiers to consenting ADMDs. A general-purpose production consumer should ignore or safely preserve unknown experimental methods rather than assigning them authentication meaning. Refresh method and result registries periodically.

Authentication-Results and ARC-Authentication-Results differ

ARC-Authentication-Results is a component of an ARC set and includes an instance number. It records results observed by an ARC participant and is covered by ARC cryptographic processing. A valid ARC chain still requires a local trust decision about sealers. Do not parse AAR as ordinary Authentication-Results or treat ARC pass as automatic acceptance.

Forwarding can produce legitimate mixed results

Forwarding can break SPF because the connecting IP changes. Mailing-list modification can break an original DKIM signature while a list signature passes. The final receiver can therefore report SPF fail, one DKIM fail, another DKIM pass, DMARC pass or fail, and an ARC result in the same message. This is evidence, not contradiction.

Multi-tier gateways need an explicit preservation contract

An organization may receive mail through a cloud security gateway, an internal border MTA and a mailbox platform. Decide which tier performs each authentication method, which authserv-id it uses, how the next hop authenticates the connection and whether earlier results are preserved. Documenting only the final mailbox platform leaves a gap where forged or duplicated fields can enter.

If a trusted gateway preserves an external field, downstream systems still need to know which service originally created it and why that service is trusted. A DKIM signature covering an Authentication-Results field can add integrity evidence, but the local ADMD must still authorize the signer and path. Never infer a transitive trust chain from field order alone.

Harden parsers against resource and display attacks

Attackers can submit many fields, extreme folding, oversized comments, repeated methods, unusual quoting and malformed Unicode. Set bounded header, method and token limits; fail the individual field safely; and continue preserving the message for security review. Do not let an authentication-report parser become a message-delivery denial-of-service path.

Escape every displayed value, including authserv-id, reason text and property values. Avoid clickable links derived from comments. Show truncation explicitly and retain a restricted raw-evidence reference so an analyst can distinguish display limits from what the receiver actually supplied.

What an analyzer should display

  • Trust status and reason for every Authentication-Results field.
  • authserv-id, optional version and header position.
  • One row per method-result instance.
  • Exact ptype.property and sanitized value.
  • One row per DKIM signature and selector.
  • Separate authentication, alignment, policy and disposition fields.
  • Raw header disclosure behind a safe evidence control.
  • Unsupported or malformed syntax without invented results.
  • Boundary map showing which hop inserted or preserved each field.
  • No inbox score inferred from authentication alone.

Acceptance tests for production parsers

  • Forged local authserv-id from an external client is removed.
  • Trusted internal field is retained.
  • Two DKIM results are not overwritten.
  • Folded fields and quoted comments parse safely.
  • Malformed input produces bounded errors.
  • SPF HELO and MAIL FROM properties remain distinct.
  • Field-level none differs from method none.
  • temperror and permerror remain distinct.
  • Unknown methods do not become pass.
  • Unicode values are handled without control-character injection.
  • ARC-Authentication-Results is parsed separately.
  • Raw evidence and normalized output remain linked.

Failures an audit should detect

  • Trust assigned from header text alone.
  • Inbound forged local results survive the border.
  • Every field from a known provider is trusted regardless of path.
  • Only the first or last Authentication-Results field is examined.
  • Multiple DKIM signatures collapse into one value.
  • SPF pass is labelled visible-From authentication.
  • DMARC pass is reported as both SPF and DKIM pass.
  • Comments are rendered as active HTML.
  • Header position is treated as cryptographic provenance.
  • Method-specific result codes are forced into one enum.
  • Authentication pass becomes an inbox-placement prediction.
  • Unknown extensions crash or bypass policy.

Current standards status

RFC 8601 remains the Standards Track framework for Authentication-Results. The method, result and property registries continue to evolve as later standards register extensions, including current DMARC and ARC properties. Implementations should refresh registry data without weakening the local trust boundary.

This guide was reviewed on October 29, 2026. It describes evidence handling, not a universal filtering policy. Each ADMD must define and protect its own trusted ingress and internal relay architecture.

Primary standards and registries

Related technical notes

Technical review

Need this checked against your own sending system?

Share the domain, headers, bounces, provider warning, logs, or infrastructure symptom and NitWings will identify the practical next step.

Schedule a Technical Review
Advertisement