DMARC

Domain-based Message Authentication, Reporting and Conformance

This text was analyzed, written and translated by artificial intelligence (AI). It may contain mistakes.How we use AI

An email standard in which a domain owner uses DNS Domain Name System The internet's directory that links domain names to computer addresses. Full definition of DNS to tell receivers how to treat messages that fail authentication, meaning neither SPF Sender Policy Framework A DNS record listing the servers allowed to send email for a domain. Full definition of SPF nor DKIM DomainKeys Identified Mail An email signature method whose public key is published in the sender's DNS. Full definition of DKIM passes for the domain. The options are none (monitor only), quarantine A waiting period after cancellation in some ccTLDs when only the former holder can recover the domain. Full definition of quarantine or reject. It also asks receivers to send reports. It helps stop others from sending email that fakes the domain.

category
DNS and technical foundations

Updated on 5 min read

DMARC lets the owner of a domain say what should happen to email that claims to come from that domain but cannot prove it. Receiving mail servers check each message, may follow the owner’s wish and can send the owner reports. It protects the domain and its subdomain A name created under a registered domain, like shop.example.com. Full definition of subdomain, not look-alike names.

Why email needs a domain check

Email has no built-in check on the sender: a server can put any domain in the envelope sender, used for delivery, and in the From line the reader sees. Three TXT record Text record A DNS record holding text, often for domain verification and email security. Full definition of TXT record in the DNS address this, so they belong to managing a domain, not only to running a mail server.

Large mailbox providers also ask for them. As of October 2026, Gmail says that since 1 February 2024 senders of more than 5,000 messages a day to Gmail accounts must set up SPF, DKIM and DMARC, with a policy that can be none and a From domain aligned with SPF or DKIM. Yahoo requires the same of bulk senders, a DMARC pass included, without stating a volume.

SPF, DKIM and DMARC: what each one checks

  • SPF (RFC Request for Comments A numbered document in the series recording the internet's technical standards and practices. Full definition of RFC 7208) lists the servers allowed to send mail for a domain, in one TXT record starting with v=spf1. It checks the envelope sender, not the visible From, and allows at most 10 terms that need DNS lookups.
  • DKIM (RFC 6376) adds a digital signature to each message. The public key sits under a name such as foo.bar._domainkey.example.com, where foo.bar is the selector; several selectors allow one key per sending service.
  • DMARC ties those checks to the visible From domain, states the owner’s preference for mail that fails, and can ask for reports.

A message passes DMARC when SPF or DKIM passes and the domain that passed is aligned with the From domain. Without alignment, anyone could publish SPF for their own domain and pass. In relaxed alignment the two names share an organizational domain, as news.example.com and foo.example.com do; in strict alignment they are identical.

How a DMARC record works

The record is a TXT record at _dmarc.example.com for example.com, starting with v=DMARC1. The main tags:

  • p, the policy: none (no preference, monitoring only), quarantine (the mail is suspicious) or reject (the use of the domain is not valid). A record without p counts as p=none.
  • sp for existing subdomains, and np for subdomains that do not exist.
  • rua, where receivers send aggregate reports. Without it, they send none.
  • t=y, a test mode that applies one level less: quarantine instead of reject, none instead of quarantine.

Aggregate reports (RFC 9990) are daily or more frequent files meant to be read by software. Failure reports (RFC 9991) can contain personal data, and many large providers limit or disable them.

The policy is a request: RFC 9989 leaves final handling to the receiver, which must not reject mail on p=reject alone. The DMARC “quarantine” policy is unrelated to the quarantine period of some ccTLD country code top-level domain A top-level domain for a country or territory, usually two letters long. Full definition of ccTLD.

As of October 2026, DMARC is an IETF Internet Engineering Task Force The open body that writes internet standards such as DNS, EPP and RDAP. Full definition of IETF standard: RFC 9989, RFC 9990 and RFC 9991 (May 2026) replace RFC 7489, an Informational document of March 2015. The tags pct, rf and ri were removed; new tags include t and np.

BIMI: logos that depend on DMARC

BIMI Brand Indicators for Message Identification A DNS-based way for a domain to show its logo next to authenticated emails. Full definition of BIMI lets an owner publish a logo in a TXT record such as default._bimi.example.com, so mail programs can show it next to authenticated messages. It needs a DMARC policy of quarantine or reject on both the From domain and its organizational domain; with p=none it is not processed. As of October 2026, BIMI is an Internet-Draft (revision 14, 1 May 2026), not a standard, and each provider decides whether to show logos. Requirements differ: as of October 2026, Yahoo says it does not require a Verified Mark Certificate (VMC), while Apple says Apple Mail works with VMCs and other evidence documents.

Setting up DMARC step by step

RFC 9989 describes this order:

  1. Publish or fix SPF, within 10 lookups, so it aligns with the From domain.
  2. Turn on DKIM signing for each sender, with an aligned signing domain.
  3. Set up a mailbox or service to receive reports.
  4. Publish v=DMARC1; p=none; with a rua tag pointing to that mailbox, which the RFC calls monitoring mode.
  5. Collect and analyze the reports. Monitoring comes first because, the RFC notes, an owner can overlook a server or a third-party sender.
  6. Fix legitimate mail that fails, before any stricter policy.
  7. Decide whether to move to enforcement (quarantine or reject); the RFC leaves the choice to the owner’s needs.

This may take many months. For domains whose users post to mailing lists, the RFC suggests at least a month at p=none, then as long at p=quarantine, and says such domains should not publish p=reject.

What can go wrong

  • Forwarding. Forwarded mail usually fails SPF unless the forwarder rewrites the envelope sender, while DKIM signatures generally survive. A domain at p=reject must therefore sign with DKIM, not rely on SPF alone.
  • SPF ending in -all. A hard SPF fail could get a message rejected even when an aligned DKIM signature would have passed DMARC.
  • Limits. DMARC validates the domain only, not the person or whether the message is honest. Look-alike domains and display names are outside its reach.

Domains that send no email

Parked, defensive and portfolio A collection of domains held by one owner. Full definition of portfolio domains can still be forged. The standards offer three tools: an SPF record v=spf1 -all declares that the domain sends no mail; a null MX record Mail Exchange record A DNS record that tells the internet where to deliver a domain's email. Full definition of MX record (a single MX record with priority 0 and the target “.”) says it accepts none, and should not be used on a domain that sends mail (RFC 7505); and a DMARC record at p=reject asks receivers to treat mail using the domain in From as not valid. UK government guidance for public bodies (last updated 1 March 2021) asks for all three on such domains, plus an empty DKIM record (v=DKIM1; p= at *._domainkey) that revokes any key.

Sources