What Is DMARC?

A complete guide to DMARC — how it works, what it does, what the policies mean, and how to implement it for your domain.

DMARC in Plain English

DMARC (Domain-based Message Authentication, Reporting, and Conformance) is an email authentication protocol. It gives domain owners control over what happens to email that fails authentication — and visibility into who is sending email from their domain.

Without DMARC, anyone can send email that appears to come from your domain. Your customers could receive fake invoices, password reset emails, or phishing messages that look identical to legitimate email from your company. The receiving mail server has no way to tell the difference, so the messages are delivered.

With DMARC, you can tell receiving mail servers: "If a message claims to be from our domain but fails authentication, reject it." Mail providers that respect DMARC (Google, Microsoft, Yahoo, Apple, and most others) will then block those spoofed messages before they reach anyone's inbox.

The Problem DMARC Solves

Email was designed in the 1970s without authentication. The From: address in an email is a string of text — it can say anything. Nothing in the original email protocol prevents a mail server from claiming to send on behalf of a domain it has no connection to.

This is why email spoofing is so effective. Business email compromise (BEC) attacks, where attackers impersonate executives or vendors to authorize fraudulent wire transfers, cost billions of dollars per year — and most of them rely on domain spoofing to succeed.

SPF and DKIM were introduced to address parts of this problem, but each alone is insufficient:

  • SPF checks whether the sending server is authorized to send on behalf of the envelope sender domain — the technical "from" address used during delivery, which is often different from the visible From: header the recipient sees.
  • DKIM adds a cryptographic signature to the message that verifies it was sent by an authorized source and was not altered in transit — but only checks the signing domain, which may not match the visible From: address.

Neither SPF nor DKIM directly protects the visible From: address. DMARC adds the final piece: it checks that one of SPF or DKIM passes and that the authenticated domain is aligned with the visible From: domain.

How DMARC Works

When a mail server receives an email claiming to be from example.com, here is what happens with DMARC:

  1. The receiving server checks the SPF record for the envelope sender domain. If the sending IP is authorized, SPF passes. DMARC then checks whether that envelope sender domain is aligned with the From: domain.
  2. The receiving server checks the DKIM signature on the message. If the signature is valid, DKIM passes. DMARC then checks whether the DKIM signing domain is aligned with the From: domain.
  3. If either SPF or DKIM passes with alignment, DMARC passes. If neither passes with alignment, DMARC fails.
  4. The receiving server looks up the DMARC record for the From: domain and applies the policy: deliver normally, send to spam, or reject the message.
  5. The receiving server sends a daily aggregate report to the rua address in the DMARC record, summarizing what it saw.

What Is Alignment?

Alignment is the check that ties SPF or DKIM authentication to the visible From: domain. It is what prevents an attacker from using a domain they control (which passes SPF/DKIM for their own domain) to send spoofed email.

DMARC supports two alignment modes:

  • Relaxed alignment (the default): The authenticated domain can be the same as, or a subdomain of, the From: domain. So if the From: domain is example.com, a DKIM signature from mail.example.com passes relaxed alignment.
  • Strict alignment: The authenticated domain must exactly match the From: domain. Use this only if you need maximum control — it can break legitimate subdomains.

The DMARC DNS Record

DMARC is configured by publishing a TXT record at _dmarc.yourdomain.com. Here is a minimal example:

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

A more complete record for a domain approaching enforcement:

v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@yourdomain.com; adkim=r; aspf=r

DMARC Record Tags

v=DMARC1
Required. Identifies this as a DMARC record.
p=
Required. The policy: none, quarantine, or reject.
rua=
Recommended. Where to send daily aggregate report XML files.
ruf=
Optional. Where to send per-message forensic (failure) reports. Many providers no longer send these for privacy reasons.
pct=
Optional. Percentage of failing messages to apply the policy to (1–100). Defaults to 100. Used to gradually roll out enforcement.
adkim=
Optional. DKIM alignment mode: r (relaxed, default) or s (strict).
aspf=
Optional. SPF alignment mode: r (relaxed, default) or s (strict).
sp=
Optional. Policy for subdomains. Defaults to the same as p=.

DMARC Policies: none, quarantine, reject

The p= tag is the most important part of your DMARC record. It tells receiving mail servers what to do with messages that fail DMARC authentication.

p=none — Monitor Mode

p=none does not affect email delivery. Failing messages are delivered normally. The only action is reporting: receiving servers send aggregate reports to your rua address so you can see what is happening.

Use p=none when you first set up DMARC. It gives you visibility without risk. You will likely discover senders you did not know about — marketing platforms, CRMs, transactional email services, and other third parties sending email from your domain. These need to be authenticated before you enforce.

p=none provides zero protection against spoofing. It is a monitoring tool, not a security control. The goal is to understand your email landscape, fix authentication gaps, and move to enforcement.

p=quarantine — Send Failing Messages to Spam

p=quarantine instructs receiving servers to deliver failing messages to the spam/junk folder rather than the inbox. Some receivers may hold messages for review rather than delivering to spam.

Use p=quarantine as an intermediate step after p=none. Combined with pct=25 or pct=50, you can gradually increase enforcement while monitoring for unexpected failures. When you are confident there are no more legitimate senders failing authentication, move to p=reject.

p=reject — Block Failing Messages Entirely

p=reject instructs receiving servers to reject failing messages outright. They are not delivered to spam — they are blocked and the sender receives a bounce. This is full DMARC enforcement.

p=reject provides the strongest protection against domain spoofing. When a receiving mail server respects p=reject, spoofed messages claiming to be from your domain are blocked before they reach anyone's inbox.

Do not rush to p=reject. Moving too quickly, before all legitimate senders are authenticated, will cause legitimate email to be rejected. Use the monitoring phase to identify and fix all sending sources first.

DMARC Aggregate Reports

DMARC aggregate reports are the primary tool for understanding your email authentication posture. When you publish a DMARC record with an rua address, major mail providers (Google, Microsoft, Yahoo, Apple, and others) send you daily XML reports.

Each report contains:

  • The reporting organization (Google, Microsoft, etc.)
  • The date range covered
  • For each sending IP address: the organization, message volume, SPF result, DKIM result, and DMARC disposition

Aggregate reports are the foundation of the monitoring phase. They show you:

  • Which servers are sending email from your domain
  • Whether your own mail servers are passing SPF and DKIM
  • Which third-party services are failing authentication
  • Whether anyone is spoofing your domain

Reading Aggregate Reports

Aggregate reports are XML files. A single report can contain hundreds of rows, one per unique sending IP. Reading raw XML is impractical. A DMARC monitoring service parses the reports and shows the data as a readable dashboard — which sources are passing, which are failing, and what the failure rate is.

Your DMARC Exposed collects and parses your aggregate reports automatically, surfacing the information you need to reach enforcement without manual XML parsing.

Implementing DMARC: The Journey to p=reject

Implementing DMARC is not a one-time task. It is a process that typically takes weeks to months, depending on how many services send email from your domain.

Phase 1: Publish SPF and DKIM

Before publishing a DMARC record, ensure SPF and DKIM are in place for your primary mail provider. Without these, DMARC has nothing to authenticate against.

Phase 2: Publish a p=none Record with Reporting

Publish your DMARC record with p=none and an rua address. Wait 48 hours for reports to start arriving. Review them daily for 2–4 weeks to build a picture of all the sources sending email from your domain.

Phase 3: Fix Failing Senders

For each third-party service failing authentication:

  • Add their sending IPs to your SPF record via their include: mechanism
  • Configure DKIM signing if the service supports it
  • Some services require you to verify domain ownership or set up a custom sending domain

Phase 4: Move to p=quarantine

Once all known legitimate senders are passing, change p=none to p=quarantine. Use pct=25 initially to limit the blast radius of any senders you missed. Increase to pct=100 after a week of clean reports.

Phase 5: Move to p=reject

After running cleanly at p=quarantine; pct=100, change to p=reject. Continue monitoring — new senders may be added to your environment that you need to authenticate.

Why DMARC Matters

Protection Against Domain Spoofing

At p=reject, spoofed messages claiming to be from your domain are blocked by receiving servers before delivery. This eliminates the most common vector for business email compromise and phishing attacks targeting your customers.

Google and Yahoo Sender Requirements

Since February 2024, Google and Yahoo require DMARC for domains sending more than 5,000 messages per day. Domains without DMARC face deliverability problems with Gmail and Yahoo Mail. For most organizations, compliance with this requirement means publishing at least p=none.

Deliverability

A properly configured DMARC record (with SPF and DKIM passing) signals to receiving mail servers that your domain is well-managed. This positively affects spam scoring and can improve deliverability for legitimate email.

BIMI Eligibility

BIMI (Brand Indicators for Message Identification), which displays your brand logo in email clients, requires p=quarantine or p=reject. DMARC enforcement is the prerequisite for logo display. See our BIMI implementation guide.

Start Monitoring Your DMARC Reports

Your DMARC Exposed parses your aggregate reports automatically — showing every sender, every authentication result, and what you need to fix before you can safely enforce.

Start Your Free Trial Check Your DMARC Record

Frequently Asked Questions

What does DMARC stand for?

DMARC stands for Domain-based Message Authentication, Reporting, and Conformance. It is an email authentication protocol that lets domain owners specify how receiving mail servers should handle messages that fail SPF or DKIM checks, and receive reports about what is being sent from their domain.

Do I need both SPF and DKIM for DMARC?

DMARC requires at least one of SPF or DKIM to pass with alignment. In practice, you should have both. SPF fails for forwarded messages, so relying on SPF alone means forwarded legitimate email may fail DMARC. DKIM survives forwarding and is more reliable. Having both provides redundancy.

How long does it take to reach p=reject?

It depends on how many services send email from your domain. Organizations with only one or two mail services can often move to enforcement within a few weeks. Organizations with many marketing, CRM, and transactional email tools may take several months to identify and authenticate all senders.

What happens to legitimate email at p=reject?

If a legitimate sender fails DMARC authentication under p=reject, their messages will be rejected. This is why the monitoring phase matters: you need to identify and authenticate all legitimate senders before enforcing. DMARC aggregate reports show exactly which sources need to be fixed.

Does DMARC protect against all email spoofing?

DMARC protects against exact-domain spoofing — messages that use your exact domain in the From address and fail authentication. It does not protect against lookalike domains (attackers registering domains similar to yours, like yourcompany-billing.com) or cousin domains. Those require separate monitoring and trademark protection.

Is DMARC required?

Google and Yahoo require DMARC for bulk senders (more than 5,000 messages per day) since February 2024. Many enterprise security frameworks and insurance policies now include DMARC requirements. Beyond compliance, DMARC is recommended for any domain used for business email.