DMARC: How Email Authentication, Alignment, Policies, and Reporting Work

Domain-based Message Authentication, Reporting, and Conformance (DMARC) is an email security protocol that stops attackers from spoofing your exact domain name. Published at _dmarc.<domain>, DMARC verifies that incoming emails pass SPF or DKIM alignment against the visible From: address. The policy setting of DMARC instructs mail servers to monitor (none), spam-folder (quarantine), or block (reject) fake emails.

Message arrives From: your domain SPF pass? DKIM pass? Aligned? domain match yes ACCEPT no p= POLICY p=none delivers anyway · p=quarantine to spam · p=reject drops the message
The DMARC decision tree: SPF/DKIM pass, alignment, policy

What Does DMARC Stand For and Why Do SPF and DKIM Need It?

DMARC stands for Domain-based Message Authentication, Reporting, and Conformance, serving as the technology that makes the visible Header From (From:) address trustworthy to human recipients by tying it cryptographically to underlying SPF and DKIM mechanisms across 4 distinct operational functions. Domain age is part of the trust context receivers weigh alongside DMARC, because newly registered domains lacking a DMARC record are a common spoofing pattern; the Domain Age Checker shows a domain's registration age directly.

The DMARC protocol standardizes 4 distinct operational functions:

  • Domain-Based Policy Publication: A domain owner publishes a single DNS TXT resource record at _dmarc.<domain> that governs every inbound message claiming that domain in the visible display header.
  • Message Authentication via Identifier Alignment: DMARC links underlying SPF Record (envelope Return-Path bounce address) and DKIM Explained (cryptographic signing domain) checks to the visible From: address displayed to the recipient.
  • Reporting Visibility (RUA and RUF): Receiving mail servers transmit daily XML statistical summaries back to the domain owner detailing every IP address sending mail claiming their domain alongside authentication pass and fail verdicts.
  • Conformance and Policy Enforcement (p=): The domain owner instructs receiving mail gateways whether to deliver (p=none), route to spam (p=quarantine), or block (p=reject) messages that fail authentication and alignment.

Standalone SPF and DKIM contain an architectural vulnerability: SPF validates exclusively the hidden envelope Return-Path domain, while DKIM proves only that a cryptographic signature matches the signing domain in the d= tag. An unaligned sender passes standalone SPF and DKIM using an external domain (attacker-mailer.com) while forging From: ceo@yourcompany.com in the visible header when a domain lacks DMARC alignment. DMARC resolves this impersonation risk by requiring Identifier Alignment between the authenticated technical domains and the visible display identity, as detailed in DMARC vs SPF vs DKIM.

How Does DMARC Evaluation Work Step by Step? (The 6-Step Flow)

The DMARC evaluation engine executes 6 sequential verification, alignment, disposition, and reporting steps when an inbound email arrives at a receiving mail server.

Receiving mail gateways evaluate incoming messages through 6 sequential steps:

  1. Extract the organizational domain and hostname from the message's visible From: header (for example, example.com from From: billing@example.com).
  2. Query authoritative DNS nameservers for a TXT resource record at _dmarc.example.com starting with the mandatory version tag v=DMARC1.
  3. Execute standard SPF verification against the connecting server's IP address and envelope Return-Path bounce address, and validate cryptographic DKIM-Signature headers against public keys published at <selector>._domainkey.
  4. Verify Identifier Alignment by checking whether the authenticated SPF domain aligns with the visible From: domain (aspf) or the authenticated DKIM d= domain aligns with the visible From: domain (adkim).
  5. Apply a dmarc=pass verdict if at least one aligned mechanism (SPF or DKIM) passes, or enforce the domain's published disposition policy (p=none, p=quarantine, or p=reject) if both mechanisms fail to pass and align.
  6. Log the evaluation outcome into local authentication records and transmit daily compressed XML aggregate reports to the destination specified in the record's rua=mailto: tag.

The DMARC evaluation engine operates on a Single-Pass OR rule: a message achieves an overall DMARC Pass if either aligned SPF passes or aligned DKIM passes. A message forwarded across intermediate servers retains a valid DMARC Pass through its cryptographic DKIM signature even when the forwarding hop alters the connecting IP address and invalidates SPF. Administrators can test domain configuration using the DMARC Record Checker.

What Is DMARC Identifier Alignment? (Relaxed vs Strict Modes)

DMARC Identifier Alignment is the verification check requiring the domain authenticated by SPF or DKIM to match the visible From: address domain under relaxed (r) or strict (s) matching rules.

The DMARC standard defines 2 distinct alignment modes for SPF and DKIM:

  • Relaxed Alignment (adkim=r, aspf=r): Matches sender identities at the Organizational Domain level determined through the Public Suffix List (RFC 7489) or a DNS Tree Walk (IETF DMARCbis). An SPF Return-Path of bounces@mail.example.com or a DKIM signature with d=marketing.example.com passes relaxed alignment if the visible Header From displays support@example.com.
  • Strict Alignment (adkim=s, aspf=s): Requires an exact Fully Qualified Domain Name (FQDN) character match. Both the SPF Return-Path domain and the DKIM d= domain match example.com character-for-character under strict alignment when the visible Header From displays support@example.com. A subdomain such as mail.example.com fails strict alignment unless the visible Header From also originates from @mail.example.com.

The DMARC specification establishes relaxed alignment (adkim=r and aspf=r) as the protocol default when tags are omitted from a published record. Domain administrators evaluate alignment mechanics and header matrices in DMARC Alignment and DMARC Record.

What Are the 11 DMARC Record Tags?

A DMARC record is a semicolon-separated list of tag-value pairs published as a DNS TXT record at _dmarc.<domain> where v=DMARC1 and p= are mandatory first and second tags. The table below defines all 11 DMARC tags by requirement status, default value, and syntax.

Complete Production DMARC TXT Record Example:

_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=reject; sp=reject; adkim=r; aspf=r; rua=mailto:reports@promptdns.com;"
TagRequiredDefault if omittedPurpose
vYesNone (appears first)Protocol version, value DMARC1
pYesNone (record invalid without it)Policy: none, quarantine, or reject
ruaNoNo aggregate reportsWhere daily aggregate reports are sent
rufNoNo forensic reportsWhere failure samples are sent (rarely honored)
spNoInherits pSeparate policy for subdomains
pctNo100Percentage of failing mail that receives the policy
adkimNor (relaxed)DKIM alignment mode
aspfNor (relaxed)SPF alignment mode
foNo0Forensic report trigger options
rfNoafrfForensic report format
riNo86400 secondsAggregate report interval

The DMARC specification establishes strict tag ordering and cardinality constraints: the v=DMARC1 tag is case-sensitive and appears first, followed immediately by the policy tag p= for compatibility with RFC 7489 receivers (while the IETF DMARCbis update relaxes tag order after v= and adds the np= and psd= tags). Publishing multiple DMARC TXT records at the same _dmarc hostname invalidates the entire configuration, causing receiving mail servers to abort DMARC processing and treat the domain as unprotected. The IETF DMARCbis specification introduces the np= tag to enforce dedicated policies on non-existent subdomains, defines the psd= tag for Public Suffix Domains, and formally deprecates partial pct= percentage sampling in favor of explicit staging policies. Additional tag syntax details are covered in DMARC Tags Explained, the DMARC sp Tag guide, and the DMARC pct Tag reference.

What Are the 3 DMARC Policies (none, quarantine, reject) and the 3-Stage Enforcement Rollout?

The DMARC p= tag defines 3 enforcement policy levels: p=none (monitoring only), p=quarantine (spam folder routing), and p=reject (outright SMTP rejection), which organizations deploy sequentially across a 3-stage rollout.

The 3 DMARC policy levels establish distinct sender controls:

  • p=none (Monitoring Mode): Instructs receiving mail servers to take zero restrictive action on failing messages, delivering them to the user's primary inbox while returning daily XML aggregate reports. Publishing p=none without an active rua=mailto: tag provides zero operational insight and zero anti-spoofing defense.
  • p=quarantine (Soft Enforcement): Directs receiving mail transfer agents to isolate failing messages by delivering them to the recipient's spam, junk, or quarantine folder rather than the inbox.
  • p=reject (Full Enforcement): Directs receiving mail gateways to block unauthenticated messages outright during the SMTP conversation with a permanent bounce code (typically 550 5.7.26 or 550 5.7.1), ensuring spoofed emails never reach recipient devices.

Deploying p=reject immediately without auditing legitimate outbound email sources risks blocking mission-critical business communications. The table below outlines the 3-stage DMARC enforcement rollout by policy record, duration, and exit criteria.

StagePolicyWhat you learnRisk
1. Monitorp=none; rua=...Every source sending as your domain, with pass/fail per protocolNone: spoofed mail still delivers
2. Quarantinep=quarantine; pct=25 to 100How receivers treat failing mail without bouncing itFailing legitimate mail lands in spam
3. Rejectp=rejectFull enforcement: spoofed mail bouncesLegitimate mail bounces if a source still fails

Parked or defensive domains that transmit zero outbound email bypass Stages 1 and 2 entirely. Domain administrators secure inactive domains by immediately publishing v=DMARC1; p=reject; sp=reject; at the _dmarc apex alongside a null SPF record (v=spf1 -all) to shut down spoofing vectors on unused assets. Detailed implementation instructions are available in DMARC Policies, From p=none to p=reject: The DMARC Enforcement Roadmap, and the automated DMARC Record Generator.

What Is the Difference Between DMARC Aggregate (RUA) and Forensic (RUF) Reports?

DMARC Aggregate (RUA) reports are daily compressed XML files containing IP-level authentication statistics for all mail claiming your domain, whereas Forensic (RUF) reports provide real-time per-message failure copies that major mailbox providers no longer transmit due to privacy risks.

The DMARC protocol establishes 2 distinct feedback mechanisms to deliver domain operational data:

  • Aggregate Reports (rua=mailto:): Destination mail servers such as Google, Microsoft, and Yahoo compile sending metrics across 24-hour intervals (controlled by ri=86400) and transmit them as gzipped XML attachments. Aggregate reports contain the connecting IP address, total message volume, applied policy action, SPF domain and alignment verdict, and DKIM selector and alignment verdict. Aggregate files contain zero Personally Identifiable Information (PII), excluding email subjects, message bodies, and recipient addresses. Because raw XML files index servers by IP address rather than vendor identity, administrators inspect reports using the DMARC Report Analyzer or configure automated continuous ingestion through DMARC Monitoring.
  • Forensic and Failure Reports (ruf=mailto:, AFRF Format): Receivers generate real-time forensic reports under the Auth-Failure Reporting Format (AFRF) when an individual message fails DMARC evaluation under the selected trigger condition (fo=0, fo=1, fo=d, or fo=s). Because forensic reports reproduce original email headers and message snippets containing personal user information, major consumer mailbox providers including Google (Gmail), Microsoft 365, and Yahoo have discontinued sending RUF reports to eliminate data-privacy liabilities.

The report-receiving domain publishes an authorizing example.com._report._dmarc.promptdns.com TXT record (v=DMARC1) when a rua= tag points to an external organizational domain. Destination mail servers refuse to dispatch XML files to external addresses without this explicit DNS authorization record. Comprehensive parsing workflows are detailed in DMARC Aggregate Reports (RUA), DMARC Forensic Reports (RUF), and How to Read DMARC Reports.

What Attacks Does DMARC Stop (And What Are Its 3 Limitations)?

At p=quarantine or p=reject, DMARC blocks 3 exact-domain email attacks: direct domain spoofing, brand phishing impersonation, and exact-domain Business Email Compromise (BEC), while 3 related attack vectors remain outside DMARC's protocol scope.

Enforcing DMARC at p=quarantine or p=reject shuts down 3 exact-domain spoofing attack vectors:

  • Direct Domain Spoofing: Attackers forge your exact domain in the visible From: header using unauthorized mail infrastructure. Receiving mail transfer agents detect the lack of SPF and DKIM alignment and reject the connection during the SMTP transaction.
  • Brand Phishing Impersonation: Cybercriminals transmit bulk fraudulent emails to customers claiming to originate from your root domain or corporate subdomains. Enforcement prevents these malicious messages from reaching consumer inboxes.
  • Exact-Domain Business Email Compromise (BEC): Threat actors craft targeted spear-phishing requests displaying an executive's exact email address (such as ceo@yourcompany.com) to instruct accounting staff to execute wire transfers. DMARC enforcement blocks unauthenticated messages before delivery.

DMARC operates within strict architectural boundaries and leaves 3 related email threats unmitigated:

  • Lookalike and Typosquatting Domains: Attackers register visually similar domain names (such as examp1e.com or yourcompany-support.com) and publish valid SPF, DKIM, and DMARC records on their own infrastructure. DMARC protects exclusively the specific DNS zone where the _dmarc record is published. Defending against lookalike domains requires proactive domain registration monitoring and defensive trademark registrations.
  • Display-Name Spoofing: DMARC evaluates the external webmail domain rather than your corporate domain if an attacker places an executive's display name in front of an unrelated webmail address (such as "CEO Name" <executive.update12@gmail.com>). Mitigating display-name spoofing requires inbound mail filtering rules that flag external emails containing internal executive names.
  • Compromised Legitimate Mailboxes: Outbound emails carry genuine SPF and DKIM signatures and pass DMARC evaluation if an attacker compromises a legitimate employee mailbox or valid ESP API key. DMARC marks these messages as authentic because the underlying cryptographic checks succeed. Defending against account takeovers requires multi-factor authentication (MFA) and endpoint behavioral analytics.

Comprehensive email security combines DMARC policy enforcement with defensive domain monitoring, display-name filtering, and multi-factor authentication to address indirect messaging threats.

What Are the DMARC Compliance Requirements in 2026?

As of 2026, 5 major mailbox provider mandates and regulatory frameworks require organizations to publish and enforce DMARC: Google and Yahoo bulk-sender rules, Microsoft Outlook bulk-sender rules, PCI DSS v4.0.1, the EU NIS2 Directive, and BIMI brand logo verification.

Modern commercial and regulatory environments enforce 5 mandatory email authentication standards:

  • Google (Gmail) and Yahoo Bulk Sender Requirements (Enforced since February 2024): Senders transmitting 5,000 or more messages per day to consumer Gmail or Yahoo mailboxes require both SPF and DKIM, publish an active DMARC record (at minimum p=none), maintain spam complaint rates below 0.10% (never exceeding 0.30%), and provide functional one-click List-Unsubscribe headers. Non-compliant mail receives soft-bounce deferrals and outright SMTP rejection. Detailed technical guidelines are outlined in Gmail and Yahoo Bulk Sender Requirements.
  • Microsoft Outlook.com Bulk Sender Requirements (Enforced since May 5, 2025): Senders delivering over 5,000 messages daily to Outlook.com, Hotmail, and Live.com recipients require authentication with aligned SPF, DKIM, and DMARC. Messages failing authentication receive explicit 550 5.7.515 SMTP rejection codes.
  • PCI DSS v4.0.1 Requirement 5.4.1 (Mandatory since March 31, 2025): Entities handling, storing, or transmitting payment cardholder data deploy automated technical controls against phishing attacks, including DMARC policy enforcement at p=quarantine or p=reject across all customer-facing email domains. Implementation checklists are detailed in PCI-DSS 4.0 and DMARC.
  • EU NIS2 Directive (Directive 2022/2555) and Government Mandates (CISA BOD 18-01): European essential and important entities governed by NIS2 Article 21 and United States federal executive branch agencies operating under CISA Binding Operational Directive 18-01 publish DMARC at p=reject alongside DNSSEC and transport-layer encryption. Compliance criteria are documented in NIS2 Directive: DNS and Email Security Requirements.
  • Brand Indicators for Message Identification (BIMI): Displaying a verified company trademark logo and verification checkmark inside Gmail, Apple Mail, and Yahoo inboxes requires an active DMARC policy of p=quarantine; pct=100; or p=reject; across the root domain. Inboxes evaluate domains at p=none as ineligible for BIMI certification. Technical requirements are explained in BIMI.

Maintaining email deliverability and protecting brand reputation in 2026 requires continuous oversight of DMARC policies, SPF and DKIM Identifier Alignment, and aggregate XML reporting data. Domain administrators can audit their live DNS publication, policy tags, and compliance readiness instantly using the DMARC Record Checker.

Frequently asked questions

Do I need both SPF and DKIM to set up DMARC?+

No, DMARC evaluation passes when at least one authentication protocol (SPF or DKIM) passes and aligns, but deploying both SPF and DKIM is required by Gmail, Yahoo, and Microsoft bulk-sender mandates and protects forwarded mail.

Will publishing DMARC at p=none block any of my legitimate emails?+

No, p=none is a monitoring-only policy that instructs receiving mail servers to deliver failing messages normally while sending daily XML aggregate reports to your rua= address so you can audit senders safely.

Where does a DMARC record live in DNS?+

A DMARC record is published as a DNS TXT resource record (Type 16) at the subdomain host _dmarc.<yourdomain> (for example, _dmarc.example.com), including the mandatory leading underscore. In practice, the most common setup mistake is omitting the leading underscore in the DNS hostname or entering the full domain inside zone editors that append the origin domain automatically, creating an orphaned _dmarc.example.com.example.com record.

Does DMARC stop all phishing and display-name spoofing?+

DMARC at p=reject blocks exact-domain spoofing where an attacker forges your actual domain in the From: header, but it does not block lookalike domains (such as examp1e.com) or display-name spoofing from unrelated email addresses. In production email security, we recommend combining DMARC enforcement with proactive lookalike domain monitoring and inbound gateway display-name filtering rules.

Last verified: 2026-11-28