skip to content

Under RFC 9989 DMARC, what does a message need to earn a DMARC pass, and why is an SPF or DKIM pass alone not enough?

level: juniorimportance: must knowfreq 68%

answer

  1. the domain the reader sees
  2. authenticated identifier against Author Domain
  3. one aligned pass is enough
  4. SPF MAIL FROM domain or DKIM d=

basics

~20 s

A DMARC pass needs at least one SPF or DKIM pass for a domain aligned with the From header's domain. A pass for an unrelated domain proves nothing, because anyone can pass SPF or DKIM for a domain they control.

solid answer

~50 s

Under RFC 9989 (May 2026, which obsoletes RFC 7489), the receiver takes the **Author Domain** from the `From:` header and collects the message's authenticated identifiers: the `MAIL FROM` domain if SPF returned `pass`, and the `d=` domain of every DKIM signature that verified. The message passes DMARC when **at least one** of those identifiers is aligned with the Author Domain: the same organizational domain in relaxed mode, the default, or the identical name in strict mode. It does not need both. A bare SPF or DKIM pass is not enough because each one only vouches for its own domain, and any sender can publish SPF or sign with `d=` for a domain it registered. Alignment is what ties the result to the name the recipient actually reads. If the Author Domain has no DMARC record, DMARC does not apply at all.

go deeper

for a junior

Recall the three domains: From, the SPF-checked MAIL FROM and DKIM's d=. DMARC passes when one passing domain lines up with From, and one is enough.

for a middle

Explain why an unaligned pass is worthless: anyone can pass SPF or DKIM for a domain they own, and no standard lets an owner list outside domains allowed to stand in for it.

for a senior

Show you can turn a fail into its cause: name which identifier passed, for which domain, and why it did not align, before anyone touches the policy.

for a principal

Frame alignment as the reason every outside sender needs a plan before enforcement: each stream must produce an aligned pass, and that work, not the record, is the cost.

## The question DMARC answers SPF and DKIM were designed before anyone tied them to what a person sees in a mail client. **SPF** (RFC 7208, April 2014) asks whether the connecting IP address is authorized to send for the domain in the SMTP `MAIL FROM` command. **DKIM** (RFC 6376, September 2011) asks whether a cryptographic signature over the message verifies for the domain named in its `d=` tag. Neither looks at the `From:` header, which is the only identity a recipient normally reads. **DMARC**, now RFC 9989 (May 2026, Standards Track, obsoleting the Informational RFC 7489 of 2015), closes that gap. It asks one question: *was the domain in the `From:` header used with its owner's authorization?* It answers it by comparing the From domain with the domains SPF and DKIM actually authenticated. That comparison is **identifier alignment**. ## The domains in play | Identity | Where it comes from | Who authenticates it | |---|---|---| | **Author Domain** | the domain of the RFC 5322 `From:` header | nobody directly; it is what DMARC protects | | **SPF-Authenticated Identifier** | the `MAIL FROM` domain, when SPF returns `pass` | SPF | | **DKIM-Authenticated Identifier** | the `d=` domain of a signature that verifies | DKIM | A message can carry several DKIM signatures, so it can have several DKIM identifiers. It has at most one SPF identifier, because DMARC uses only the `MAIL FROM` identity. ## The rule: at least one aligned pass A receiver that participates in DMARC works through these steps (RFC 9989 section 5.3): 1. Extract the Author Domain from the single `From:` header. A message with no `From:`, a malformed one or several is outside what DMARC can evaluate. 2. Look up the DMARC policy record for that domain. If none applies, DMARC does not apply to the message. 3. Collect the authenticated identifiers: the SPF result with the domain it checked, and for each DKIM signature its result with its `d=` and `s=` values. 4. Check each passing identifier for alignment with the Author Domain, using relaxed mode (same organizational domain, the default) or strict mode (identical name) as the record's `adkim` and `aspf` tags say. 5. If **one or more** identifiers align, the message **passes** DMARC. If none exist or none align, it **fails**, and the domain's policy can influence what the receiver does. Two consequences follow. First, **one aligned pass is enough**: an aligned DKIM signature carries the message even when SPF fails, and an aligned SPF pass carries it even when there is no signature. Second, **a pass that does not align counts for nothing**: it is simply not an identifier for the Author Domain. ## Why an unaligned pass proves nothing RFC 9989 sections 4.4.1 and 4.4.2 give the reason plainly. There is no generally accepted way for a domain owner to list which *other* domains may sign for it or appear in `MAIL FROM` on its behalf. Meanwhile, anyone can register a domain, publish an SPF record for it and sign with it. So: - a message whose `MAIL FROM` is at `example.net` can pass SPF there while its `From:` says `[email protected]`; - a message can carry a perfectly valid signature with `d=example.net` and the same `From:`; - in both cases SPF or DKIM did its job, but neither said anything about `example.com`. Only when the authenticated domain shares the From domain's organizational domain under relaxed mode, or matches it exactly under strict mode, does the pass become evidence about the name the recipient sees. ## What alignment does not tell you - **It validates a domain, not a person.** DMARC never checks the local part of an address, so `[email protected]` and `[email protected]` look the same to it. - **It is not a verdict on the content.** RFC 9989 says a pass carries no value assertion about the message or its owner; a domain's own compromised account produces aligned, passing mail. - **It ignores the display name.** A `From:` such as `"Payroll Team" <[email protected]>` aligns or not on `example.org` alone; the name in quotes is never checked. - **It does not judge the inputs.** Whether SPF passed and whether a signature verified are decided before DMARC begins; DMARC only compares the domains that came out. ## What changed with RFC 9989 The alignment rule itself, "at least one aligned pass", carried over from RFC 7489. What moved underneath it is how the **organizational domain** used by relaxed alignment is found: RFC 9989 replaced the Public Suffix List with a DNS Tree Walk over published DMARC records, covered with policy enforcement. RFC 9989 also states more sharply than RFC 7489 that DMARC relies **solely** on SPF's `MAIL FROM` identity, never on the separate HELO check.

  • If SPF fails but an aligned DKIM signature verifies, does the message pass DMARC?
    Yes. RFC 9989 needs only one aligned authenticated identifier, so the aligned DKIM pass is enough and the SPF failure does not turn it into a DMARC fail. The caveat is operational: a receiver that rejects on an SPF `fail` during the SMTP session, before DATA, never reaches the DMARC check, which is why RFC 9989 section 7.1 warns owners about `-all`.
  • What DMARC result does a message get when its From domain publishes no DMARC record at all?
    None: DMARC does not apply. RFC 9989 defines a pass only when a policy record exists for the Author Domain and an identifier aligns, and says that without an applicable record the mechanism does not apply to the message. SPF and DKIM results are still recorded, but nothing judges them against the From domain.
  • Does DMARC check the Sender header when a mailing list resends a message?
    No. RFC 9989 Appendix A.3 records the decision not to: mail clients treat `Sender:` inconsistently, so policy on an identity users may never see would be unreliable, and allowing several identities would make it ambiguous which policy applies. Only the RFC 5322 `From:` domain is the Author Domain.

A courier's signed delivery note proves which company handled the parcel, not that it came from the shop printed on the label. DMARC asks that the company on the signed note belong to the shop on the label; a perfectly genuine note from an unrelated courier settles nothing.

  • A DMARC pass needs both SPF and DKIM to pass and align.
  • Any SPF pass satisfies DMARC, whatever domain it was for.
  • DMARC validates the full From address, including its local part.
  • DMARC uses the DKIM i= value rather than the d= domain.
  • A DMARC pass proves the message is safe to act on.
  • With no DMARC record, a message fails DMARC by default.