# DMARC (Domain-based Message Authentication) — Email Deliverability Glossary & Technical Reference

> An RFC 7489 authentication policy published at `_dmarc.yourdomain.com` that requires identifier alignment between your visible `From:` domain and your authenticated SPF or DKIM domain, while instructing receiving servers how to handle unauthenticated mail (`p=none`, `p=quarantine`, or `p=reject`).

- **Author**: Alex, Co-Founder (Reviewed by MailVeri Deliverability Research Lab)
- **Source**: https://mailveri.com/glossary/dmarc
- **Glossary Index**: https://mailveri.com/glossary
- **AI Reference**: https://mailveri.com/llms-full.txt

---

## What is DMARC (Domain-based Message Authentication)?

An RFC 7489 authentication policy published at `_dmarc.yourdomain.com` that requires identifier alignment between your visible `From:` domain and your authenticated SPF or DKIM domain, while instructing receiving servers how to handle unauthenticated mail (`p=none`, `p=quarantine`, or `p=reject`).

## Why DMARC (Domain-based Message Authentication) Matters in Production

Since February 2024, Gmail, Yahoo, and Microsoft require all bulk senders to publish a valid DMARC record. Without DMARC enforcement (`p=quarantine` or `p=reject`), phishing attackers can spoof your exact brand domain, and your legitimate campaigns face higher spam filtering.

## Engineering & Sender Best Practices

- Start with `v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com;` only long enough to audit legitimate sending sources.
- Graduate to `p=quarantine; pct=100;` and then `p=reject;` once all ESPs and transactional services pass DKIM alignment.
- Ensure strict or relaxed alignment (`adkim=r; aspf=r;`) matches your custom `Return-Path` and `DKIM-Signature` domains.
- Pair `p=quarantine` or `p=reject` with BIMI if you want verified brand logos displayed in Gmail and Apple Mail.

Real-World Production Scenario

## Graduating Safely from p=none to p=reject Without Breaking Legitimate Mail

An enterprise SaaS company publishing v=DMARC1; p=none discovered through 14 days of aggregate RUA XML reports that their Zendesk support portal and Stripe invoice emails were sending with unaligned Return-Path domains. After enabling custom DKIM CNAME records in Zendesk and Stripe and confirming 100% DKIM alignment, they stepped up to p=quarantine and then p=reject without losing a single customer email.

Production Outcome: Blocked 100% of external brand-spoofing attempts and enabled BIMI verified logo display in Gmail.

## Technical Implementation & Wire Example

```dns
; DMARC Policy Record enforcing quarantine on unaligned messages
_dmarc.yourdomain.com.  3600  IN  TXT  "v=DMARC1; p=quarantine; sp=reject; pct=100; adkim=r; aspf=r; rua=mailto:dmarc-reports@yourdomain.com"
```

Publishing a DMARC policy at _dmarc.yourdomain.com protects your domain from spoofing and satisfies Gmail/Yahoo sender mandates.

## DNS Email Authentication & Routing Protocol Reference

Gmail, Yahoo & Microsoft 365 Bulk Sender Standards

| Protocol | DNS Host & Type | RFC Spec | Operational Requirement & Failure Impact |
| --- | --- | --- | --- |
| MX | @ (IN MX) | RFC 5321 / 7505 | Routes inbound mail by priority; missing or Null MX (`0 .`) causes 100% hard bounce |
| SPF | @ / Return-Path (IN TXT) | RFC 7208 | Authorizes sending IPs/ESPs; must stay strictly ≤10 DNS lookups to avoid PermError |
| DKIM | selector._domainkey (TXT/CNAME) | RFC 6376 | 2048-bit cryptographic header signature; survives email forwarding intact |
| DMARC | _dmarc (IN TXT) | RFC 7489 | Enforces From-domain alignment (`p=none`, `p=quarantine`, `p=reject`) + RUA reports |
| ARC / BIMI | default._bimi (IN TXT) | RFC 8617 | Preserves auth across forwarders (ARC) and displays verified brand logos (BIMI) |

Primary Engineering & Deliverability Playbook

## [SPF, DKIM, and DMARC Explained: How to Move Safely to p=reject →](https://mailveri.com/blog/spf-dkim-dmarc-explained)

Understand DMARC identifier alignment, aggregate RUA reports, and how to progress from p=none to p=reject.

[Read Primary Guide](https://mailveri.com/blog/spf-dkim-dmarc-explained) · [Pay-As-You-Go Verification ($9/10K, $59/100K, $299/1M)](https://mailveri.com/pricing)

Related 2026 Technical Deep Dives & Benchmarks

[Brand Trust — What Is BIMI? How to Display Your Verified Brand Logo in Gmail & Apple Mail →](https://mailveri.com/blog/bimi-email-branding) · [DNS Reference — DNS TXT Records for Email Deliverability: SPF, DKIM, DMARC & MTA-STS Syntax →](https://mailveri.com/blog/dns-txt-records-email)

## Free Authentication & DNS Tools & Workflows

[SPF Record Generator — Build & validate ≤10 DNS lookups](https://mailveri.com/tools/spf-generator) · [DMARC Policy Generator — Configure p=quarantine / p=reject](https://mailveri.com/tools/dmarc-generator) · [DNS MX Record Lookup — Inspect mail exchange priorities](https://mailveri.com/tools/mx-lookup)

Connected Workflows: [Amazon SES →](https://mailveri.com/integrations/aws-ses) · [Instantly →](https://mailveri.com/integrations/instantly) · [Smartlead →](https://mailveri.com/integrations/smartlead) · [Deliverability Checklist →](https://mailveri.com/resources/email-deliverability-checklist)

## Frequently Asked Questions About DMARC (Domain-based Message Authentication)

### Does DMARC require both SPF and DKIM to pass, or just one?

DMARC operates on an "either/or with alignment" rule: a message passes DMARC if EITHER SPF passes with an aligned Return-Path domain OR DKIM passes with an aligned d= signature domain (though passing both is best practice for resilience).

### What is the difference between relaxed (r) and strict (s) DMARC alignment?

Under relaxed alignment (adkim=r; aspf=r), any subdomain of your organizational domain aligns (e.g., mail.company.com aligns with From: user@company.com). Under strict alignment (adkim=s; aspf=s), the authenticated domain must match the exact From: header hostname character for character.

### Is DMARC p=none enough for Gmail and Yahoo bulk sender compliance, or do I need p=reject?

Gmail and Yahoo mandate at least p=none for bulk senders (>5,000 emails/day), but p=none offers zero protection against domain spoofing and does not qualify for BIMI brand logos (which require p=quarantine at pct=100 or p=reject).

## Closely Related Terms

[SPF (Sender Policy Framework)](https://mailveri.com/glossary/spf) · [DKIM (DomainKeys Identified Mail)](https://mailveri.com/glossary/dkim) · [Email Authentication](https://mailveri.com/glossary/email-authentication) · [Safe Sender](https://mailveri.com/glossary/safe-sender)
