DMARC Explained: How SPF, DKIM and Alignment Get You to p=reject
DMARC is the DNS record that tells the world's mail servers what to do with email that claims to be from your domain but cannot prove it. This guide covers how SPF, DKIM and alignment fit together, what changed when DMARC became a full IETF standard in May 2026, and the order to fix things in so you reach p=reject without bouncing your own invoices.
DMARC lets a domain owner publish a policy saying what receiving mail servers should do with messages that use the domain in the visible From address but fail authentication. A message passes DMARC when SPF or DKIM passes for a domain that aligns with that From domain. A policy of p=none only collects reports, so it stops nothing. Protection starts at p=quarantine and is complete at p=reject, which you reach by publishing p=none, using the reports to find every service that sends as you, fixing each one so it signs with DKIM in your domain, and then tightening the policy in stages.
What is DMARC?
DMARC, Domain based Message Authentication, Reporting and Conformance, is a policy published in DNS at _dmarc.yourdomain that ties SPF and DKIM results to the From address a person sees, tells receivers how to handle mail that fails, and asks them to send the domain owner reports.
The protocol was first published in March 2015 as RFC 7489, an Informational document with no standing as an IETF standard. In May 2026 the IETF replaced it with three Standards Track documents: RFC 9989, IETF, May 2026 for the core protocol, RFC 9990, IETF, May 2026 for aggregate reports and RFC 9991 for failure reports.
How do SPF, DKIM and DMARC work together?
SPF is a DNS record listing the servers allowed to send mail using your domain in the envelope sender, the hidden return path address that bounces go to. The receiver checks the connecting IP address against that list. SPF has a hard ceiling: an evaluation may trigger no more than 10 DNS lookups through include, a, mx, ptr, exists and redirect, and exceeding it returns a permanent error, which DMARC treats as a fail. RFC 7208 section 4.6.4, IETF, April 2014.
DKIM is a cryptographic signature added to each message by the sending system. The signature names a signing domain in its d= tag, and the receiver fetches the public key from DNS at selector._domainkey.domain. A valid signature proves the signed parts of the message have not changed since signing. Signers must use RSA keys of at least 1024 bits. RFC 6376, IETF, September 2011.
Alignment is the part DMARC adds. Neither SPF nor DKIM looks at the From address a person reads. A phishing message can pass SPF for the attacker's own bounce domain and carry a valid DKIM signature from the attacker's own domain while showing your name in the From line. DMARC passes only when SPF or DKIM passes for a domain that matches the From domain. Relaxed alignment, the default for both the aspf and adkim tags, accepts any domain under the same organisational domain, so mail.example.com aligns with example.com. Strict alignment requires an exact match. RFC 9989 section 4.7.
One aligned pass is enough. That matters in practice, because SPF breaks whenever mail is forwarded through another server, while a DKIM signature usually survives the trip. RFC 9989 makes the point directly: domains that publish p=reject "MUST NOT rely solely on SPF to secure a DMARC pass and MUST apply valid DKIM signatures to their messages". RFC 9989 section 7.4. Treat aligned DKIM on every sending source as the target, and aligned SPF as a useful extra.
What does a DMARC record look like?
A starting record and a finished one for the same domain:
; Monitoring: collect reports, change nothing
_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"
; Enforced: reject failing mail on the domain, its subdomains
; and any subdomain that does not exist in DNS
_dmarc.example.com. TXT "v=DMARC1; p=reject; sp=reject; np=reject; rua=mailto:dmarc-reports@example.com"
pis the policy for the domain itself. If a record has noptag, RFC 9989 treats it as p=none.spis the policy for subdomains. If it is absent, subdomains inheritp.npis the policy for subdomains that do not exist in DNS, which attackers use because nobody watches them. It came into the core standard from RFC 9091 with RFC 9989. Receivers still working to RFC 7489 ignore it, because both versions say unknown tags must be ignored.ruais where aggregate reports go. If that address is in another domain, such as a reporting service, the receiving domain has to publish a record authorising it, as set out in RFC 9990 section 4. A reputable reporting service sets this up for you.
What do p=none, p=quarantine and p=reject do?
| Policy | What you are asking receivers to do | Protection against exact domain spoofing | Move on when |
|---|---|---|---|
| p=none | Deliver as normal and send you reports | None. Spoofed mail is delivered as before | Reports show every legitimate source and each one passes with aligned DKIM |
| p=quarantine | Treat failing mail as suspicious, which in practice means the junk folder | Partial. Spoofed mail arrives, but in junk | A full reporting cycle at quarantine shows no legitimate mail failing |
| p=reject | Refuse failing mail at the gateway | Full, for receivers that honour it | This is the end state. Keep reading the reports |
Policy wording from RFC 7489 section 6.3 and RFC 9989 section 4.7. The "move on" column is C4C's working practice.
A policy is a request, and receivers decide what to do with it. RFC 9989 tells receivers they "MUST NOT reject incoming messages solely on the basis of a "p=reject" policy" and, without other evidence, should treat such mail as quarantine instead. RFC 9989 section 7.4. In practice large mailbox providers combine your policy with their own filtering, so p=reject is the strongest instruction you can publish, and each receiver still makes the final call.
Who now requires DMARC?
Several large receivers and one UK government standard require a DMARC record. Most set the bar at p=none, which means a domain can comply with all of them and still be spoofable.
| Who | Applies to | From | DMARC requirement |
|---|---|---|---|
| Google (Gmail) | Senders of more than 5,000 messages a day to Gmail accounts | 1 February 2024, with enforcement ramping up from November 2025 | SPF, DKIM and DMARC, with From aligned to SPF or DKIM. Policy can be none |
| Yahoo | Bulk senders | February 2024 | Valid DMARC policy of at least p=none, DMARC must pass |
| Microsoft (Outlook.com, Hotmail, Live) | Senders of more than 5,000 messages a day | 5 May 2025 | SPF and DKIM pass, DMARC at least p=none aligned with SPF or DKIM. Non compliant mail goes to junk, with rejection to follow |
| UK government (GOV.UK guidance) | Government email domains | Guidance last updated 4 March 2024 | DMARC "starting at p=none rising to p=quarantine or reject", SPF with at least ~all, DKIM signing |
| PCI DSS v4.0.1 requirement 5.4.1 | Entities in scope for PCI DSS | Current version, v4.0.1 | Anti phishing mechanisms required. DMARC, SPF and DKIM are named in the guidance as examples, not mandated |
Sources: Google email sender guidelines and Google sender guidelines FAQ; Yahoo Sender Hub best practices; Microsoft, 2 April 2025; GOV.UK, set up government email services securely; PCI Security Standards Council community meeting session on requirement 5.4. All checked 30 November 2026.
Google's FAQ adds a line worth knowing: if a sending domain has no DMARC policy, messages "might be rejected or sent to spam". If your brand also wants a logo in the inbox through BIMI, the bar is higher, because BIMI requires enforcement, meaning p=quarantine or p=reject, and excludes p=none or a percentage below 100. BIMI Group, FAQs for senders.
For UK public sector teams, one change in 2026: the NCSC retired Mail Check and Web Check on 31 March 2026 and now points organisations to its Check your cyber security service for email anti spoofing checks, and to commercial external attack surface management products for the rest. NCSC, Mail Check and Web Check retirement. Older runbooks that say "register the domain in Mail Check" need updating.
What breaks on the way to p=reject?
The DNS change takes minutes. The work is finding every system that sends as you and making it authenticate. These are the usual failures, roughly in the order they cause trouble.
- Third party senders. Marketing platforms, CRM systems, invoicing and payroll tools, helpdesks, recruitment systems, survey tools and HR platforms all send mail with your domain in the From line. Many pass SPF and DKIM by default, but for their own domains, so DMARC fails. The fix for each is a custom DKIM key in your domain, usually a CNAME you publish pointing at the provider's key, and ideally a custom return path on a subdomain of yours so SPF aligns as well.
- The SPF lookup limit. Each provider asks you to add an
include, and each include can contain further lookups. A large organisation passes 10 without noticing, at which point SPF returns a permanent error for every message, not only the ones from the last service added. Moving bulk senders onto their own subdomains, each with a short SPF record, solves this more durably than flattening includes into IP addresses that the provider can change without telling you. - Forwarding and mailing lists. Forwarding breaks SPF. Mailing lists that add footers or change the subject line break DKIM. RFC 9989 says domains whose users post to mailing lists "SHOULD NOT" publish p=reject, and that those which do should first run p=none for at least a month, then p=quarantine for an equally long period, comparing results. RFC 9989 section 7.4.
- Subdomains. Legacy systems often send from a subdomain nobody has documented, such as an old application server or a scanner that emails PDFs. An
sp=rejectrecord catches them all at once, so subdomains need their own inventory. - Parked and defensive domains. Domains that never send mail are the easiest win and the most often missed. GOV.UK's published pattern for them is an SPF record of
v=spf1 -all, a DMARC record at p=reject with sp=reject, and a null MX record. GOV.UK, protect domains that do not send email. These can go to reject on day one.
Reading one line of an aggregate report
Aggregate reports arrive as XML, usually daily, one per receiver. Each record covers one sending IP address. This one, in the RFC 9990 format with illustrative values, is the most common finding in the first month:
<record>
<row>
<source_ip>198.51.100.25</source_ip>
<count>412</count>
<policy_evaluated>
<disposition>none</disposition>
<dkim>fail</dkim>
<spf>fail</spf>
</policy_evaluated>
</row>
<identifiers>
<envelope_from>bounce.mailer.example.net</envelope_from>
<header_from>example.com</header_from>
</identifiers>
<auth_results>
<dkim>
<domain>mailer.example.net</domain>
<result>pass</result>
<selector>s1</selector>
</dkim>
<spf>
<domain>bounce.mailer.example.net</domain>
<result>pass</result>
</spf>
</auth_results>
</record>
Read it from the bottom up. In auth_results, both DKIM and SPF passed, but for example.net, the platform's domain. The From address in header_from is example.com, so neither result aligns, and policy_evaluated shows DMARC failing on both counts. The disposition is none only because the policy is p=none. At p=reject, those 412 messages would have been refused. This is a legitimate sender, most likely a marketing or CRM platform, that needs a custom DKIM key in your domain before you tighten anything. A spoofer looks different: an IP address you do not recognise, failing in auth_results as well.
How do you get from p=none to p=reject safely?
The order below puts the work that removes the most risk first. How long each stage lasts depends on how many senders you have and how quickly their owners respond, so treat the durations as minimums.
| Stage | What you do | Ready for the next stage when |
|---|---|---|
| 1. Non sending domains | Publish the GOV.UK null pattern on parked and defensive domains: SPF -all, DMARC p=reject, null MX | Straight away. These domains send nothing to break |
| 2. Monitor | Publish p=none with rua on every sending domain. Fix SPF syntax and the 10 lookup limit | At least a month of reports, so monthly senders such as payroll and invoicing appear |
| 3. Inventory and fix | List every source in the reports, give each an owner, set up aligned DKIM for each, retire the ones nobody claims | Every legitimate source shows aligned DKIM pass |
| 4. Quarantine | Move to p=quarantine, starting with the subdomains you understand best, then the main domain | A period at least as long as monitoring with no legitimate mail in junk |
| 5. Reject | Move to p=reject, with sp and np set to reject | End state |
| 6. Maintain | Keep reading reports. Add DMARC checks to the onboarding of any new system that sends mail | Ongoing |
Minimum periods for stages 2 and 4 follow RFC 9989 section 7.4. The order of stages is C4C's working practice.
Two points from doing this work. First, stage 3 is where projects stall, and the usual cause is ownership. A marketing platform set up five years ago by someone who has since left has no internal owner, and nobody wants to be the person who switches off the newsletter. Give every source a named owner in the business before you ask anyone to change DNS. Second, put DMARC into procurement. When a supplier says its platform "supports DMARC", ask whether it will sign with a DKIM key in your domain and use a return path you control. A yes to both is what you need, and the supplier's account team may have to go away and check.
If your domains are stuck at stage 2 or 3, talk to us about where the inventory has stalled.
What changed with RFC 9989 in 2026?
RFC 9989, published in May 2026, makes DMARC a Standards Track protocol and obsoletes RFC 7489 and RFC 9091. Three changes matter to a domain owner. RFC 9989 appendix C.
- The pct tag is removed. Under RFC 7489,
pctlet you apply a policy to a percentage of failing mail, and many rollout guides still tell you to step through pct=10, 25, 50. RFC 9989 replaces it with a test flag,t=y, which asks receivers not to apply the stated policy while still reporting. Receivers will move to the new standard at their own pace, so stage the rollout by domain and subdomain. - np is part of the core standard. The non existent subdomain policy, previously experimental, is now a normal tag.
- The public suffix list is replaced by a DNS tree walk. Receivers find your organisational domain by querying up the DNS tree, capped at eight queries, instead of relying on a published list of suffixes. For most organisations nothing changes, but complex structures with many delegated subdomains should check that their records still resolve as intended.
A v=DMARC1 record that worked under RFC 7489 still works.
What does DMARC not stop?
DMARC protects your exact domain. It does nothing about a lookalike domain registered by an attacker, which passes its own authentication, or about display name spoofing, where the From address is an unrelated mailbox and only the display name reads as your chief executive. Those are the usual methods behind business email compromise, and lookalike domains are covered in our guide to brand and domain impersonation. DMARC at reject, impersonation protection on inbound mail and a payment verification process are three separate controls, and you need each of them.
Where does a DMARC management tool fit?
Where we stand. C4C is an accredited Mimecast partner and recommends Mimecast where it fits. You can reach p=reject with DNS changes and free report parsers, and some organisations do.
The reports are where projects get stuck, because turning daily XML from many receivers into a list of senders with owners is slow by hand. A management platform does that grouping, flags sources that are not aligning, and makes the move through quarantine to reject a tracked process. Mimecast Apex DMARC Analyzer does this, and as a Mimecast partner we put it in place alongside Mimecast Apex Email & Collaboration Security (formerly Mimecast Email Security), with Mimecast's experts guiding the domain from monitoring to full enforcement. Our guide what is Mimecast Apex explains the new Mimecast product names. Whichever tool you use, check that it reports in the RFC 9990 format and that you can export your data if you change supplier.
Not sure whether your domain is protected or just carrying a record at p=none? Our free, interactive Email Security Assessment covers authentication alongside the other five dimensions of email and collaboration security, and returns an instant, personalised view of where the gaps are.
Stuck at p=none, or not sure your domain is protected?
C4C helps organisations reach DMARC enforcement without blocking their own mail: mapping every sender, giving each an owner, getting DKIM and SPF aligned, and tightening the policy to reject in stages. Independent advice, and where a tool helps we are a Mimecast partner and say so.
Prefer email? Reach us directly at hello@c4cgroup.co.uk.
Frequently asked questions
What is DMARC?
DMARC, Domain based Message Authentication, Reporting and Conformance, is a DNS record that tells receiving mail servers what to do with messages that use your domain in the From address but fail authentication, and asks them to send you reports. A message passes DMARC when SPF or DKIM passes for a domain that aligns with the From domain. Since May 2026 DMARC has been an IETF Standards Track protocol, defined in RFC 9989.
What is the difference between SPF, DKIM and DMARC?
SPF lists the servers allowed to send using your domain in the hidden envelope sender. DKIM adds a cryptographic signature that proves a message has not been altered and names the signing domain. DMARC checks that at least one of them passed for a domain matching the visible From address, applies your policy if neither did, and reports back to you. DMARC depends on SPF and DKIM being in place.
What do p=none, p=quarantine and p=reject mean?
They are the three DMARC policies. p=none asks receivers to deliver as normal and send reports, so it gives no protection. p=quarantine asks them to treat failing mail as suspicious, which usually means the junk folder. p=reject asks them to refuse failing mail. Receivers combine the policy with their own filtering, so p=reject is the strongest instruction you can give, and each receiver still makes the final call.
Why does my DMARC fail when SPF and DKIM pass?
Because they passed for a different domain from the one in the From address. Marketing, CRM and invoicing platforms often sign with their own DKIM domain and use their own return path, so SPF and DKIM pass but neither aligns with your domain. The fix is a custom DKIM key in your domain for each platform, and ideally a custom return path on one of your subdomains.
How long does it take to reach p=reject?
It depends on how many services send as you and how quickly their owners respond. RFC 9989 recommends at least a month at p=none and an equally long period at p=quarantine before reject for domains whose users post to mailing lists, which is a sensible minimum for any domain. The DNS changes are quick. The time goes into finding every sender and getting each one to sign with DKIM in your domain.
Is the pct tag still valid?
RFC 9989, published in May 2026, removed the pct tag, which applied a policy to a percentage of failing mail, and replaced it with a test flag, t=y. Receivers still working to the older RFC 7489 may continue to honour pct, but you should not build a rollout plan around it. Stage the move to enforcement by domain and subdomain instead.
Does DMARC stop phishing and business email compromise?
Only partly. DMARC at p=reject stops attackers sending mail with your exact domain in the From address. It does not stop lookalike domains that read almost like yours, or display name spoofing where an unrelated address carries your executive's name. Those are the usual methods behind business email compromise, so DMARC needs to sit alongside impersonation protection and a payment verification process.