Christmas−30 % for 12 months with codeGet the offer →
  1. Home
  2. Guides
  3. DMARC

Updated

Practical guide

Deploying DMARC step by step, all the way to p=reject

This guide takes IT administrators and service providers from the sending inventory to a p=reject policy, checking at every step that your legitimate email still gets through. Each step comes with records ready to adapt to your own domain.

  • Reading time: 12 min
  • Record examples included
Readable DMARC reports in Passmundi: who sends in your domain's name
p=nonereports coming in
p=rejectspoofing refused

This guide is for the IT administrator, in-house techie or managed service provider who looks after a business domain: it explains, step by step, how to take a DMARC policy all the way to p=reject checking at every step that your legitimate email still gets through. If the topic is new to you, start with what DMARC is or our article on protecting your domain with SPF, DKIM and DMARC.

Why go all the way to p=reject

Without DMARC, anyone can send an email that shows your domain in the From field. SPF and DKIM are not enough on their own: SPF checks the envelope sender, DKIM checks the signing domain, and neither requires that domain to be the one your recipient actually reads. DMARC, described in RFC 7489, adds that alignment requirement and lets the domain owner tell receiving mail systems what to do with a message that fails.

Spoofing a domain is a direct route to fraud: fake bank details sent to your customers, a fake invoice, a fake message from the managing director. According to the FBI IC3 2025 report, business email compromise caused 3.05 billion dollars in losses in the United States. Only a p=reject policy clearly asks mail systems to refuse these messages, p=none merely observes.

The large mailbox providers are pushing in the same direction. Since February 2024, Gmail and Yahoo have required SPF, DKIM and DMARC from bulk senders (more than 5,000 messages a day), and Outlook.com has applied comparable requirements since May 2025.

What DMARC does not do

DMARC protects your exact domain. It does not stop a fraudster from registering a lookalike domain, one letter away from yours, with its own perfectly valid SPF, DKIM and DMARC.

Step 1: list everything that sends in your name

The most common reason a rollout goes wrong is a forgotten service. Before touching the DNS, list everything that sends messages with an address at your domain in the From field:

  • the main mail platform (Microsoft 365, Google Workspace, your hosting provider's mail server or an in-house server)
  • the newsletter and email marketing tool
  • the invoicing, accounting or payroll software that sends invoices and reminders
  • the CRM, helpdesk or booking tool
  • the website: contact forms, online shop, notifications
  • the multifunction printer or copier that emails scans
  • third parties who write on your behalf: agency, accountant, recruitment platform

For each service, note who manages it, the sender address it uses and what the vendor gives you for SPF (an include or an IP address) and for DKIM (a selector, a key or CNAME records to publish). Ask finance, marketing and HR as well, since they often sign up for a tool without telling anyone.

Step 2: a clean SPF record

The SPF record (RFC 7208) lists the servers allowed to use your domain in the envelope sender. Three rules:

  1. One record only starting with v=spf1 on the domain. Two records produce a permanent error (permerror) and SPF becomes worthless: merge them.
  2. No more than ten DNS lookups. Each include, a, mx, exists or redirect uses one, including nested includes inside your providers' records. Remove services you no longer use and prefer ip4 or ip6 for a fixed address, which cost no lookup.
  3. A clear ending: -all (hard fail) or ~all (soft fail). With DMARC in place, both are defensible, but some servers reject a hard SPF fail before evaluating DKIM, which can penalise a forwarded message: so some administrators keep ~all. Never use +all.

One caveat: many sending services use their own domain as the envelope sender. Their SPF passes without being aligned with yours. In that case, set up a custom return path on a subdomain of your own if the vendor offers it, or rely on DKIM.

Step 3: DKIM for every service

DKIM signing (RFC 6376) is the strongest support for DMARC, because it usually survives forwarding, unlike SPF. The goal: every service in your inventory signs with d= set to your domain, or one of its subdomains under relaxed alignment, rather than the vendor's default domain.

  • Each service uses its own selector: the public key is published at selector._domainkey.example.co.uk, as a TXT or CNAME record depending on the vendor. Several selectors can coexist without conflict.
  • Choose 2048-bit keys where the service allows it. If your DNS host limits the length of a TXT record, the value is split into several strings of no more than 255 characters within the same record.
  • Turn on signing in each service's console, send a test message and read the DKIM-Signature header: d= must show your domain and the result must be dkim=pass. The free email header analyser reads it for you.
  • Plan key rotation: new selector, switch signing over, then remove the old one.

Step 4: publish p=none and read the reports

Publish a TXT record at _dmarc.example.co.uk with the policy p=none and a report address in rua. Nothing changes for your messages, but mail systems start sending you aggregate reports. The DMARC generator writes the record for you. The full progression used in this guide:

; step 4: monitoring
_dmarc.example.co.uk.  IN  TXT  "v=DMARC1; p=none; rua=mailto:dmarc@example.co.uk"
; step 6: quarantine, partial at first
_dmarc.example.co.uk.  IN  TXT  "v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@example.co.uk"
; step 7: reject, subdomains included
_dmarc.example.co.uk.  IN  TXT  "v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@example.co.uk"

Aggregate reports are compressed XML files, usually sent once a day by each mail system that receives messages in your name. They list the sending IP addresses, volumes and SPF, DKIM and DMARC results, without the content of the messages. A few tips:

  • If the rua address is on another domain, that domain must accept it with a record at example.co.uk._report._dmarc.other-domain.example, otherwise reports are not sent.
  • Raw, these files are hard going. Passmundi's readable DMARC reports group them by source: who sends in your name, what passes, what fails.

How long should you stay at p=none? There is no fixed period: allow several weeks of reports, depending on volume, and make sure they cover a full business cycle (monthly invoicing, campaigns, payroll).

Step 5: fix legitimate sources that are not aligned

In the reports, sort each source into three groups: legitimate services that are aligned (nothing to do), legitimate services that fail (to fix) and unknown sources (spoofing or a forgotten service).

Typical cases

  • SPF passes but is not aligned, no DKIM: the service sends with its own envelope domain and does not sign for you. Turn on DKIM signing with your domain.
  • DKIM signed with the vendor's domain: publish the DKIM records for your domain shown in the service's console.
  • Undeclared server: the copier sending directly from your internet connection, or an old web server. Route it through your mail platform, or add it to SPF.
  • Forwarded messages and mailing lists: forwarding often breaks SPF, and a list that changes the subject or body breaks DKIM. These failures cannot be fixed in your DNS, and the ARC mechanism helps some mail systems take them into account.

For an unknown source, look up the IP address (reverse DNS, owner): if nobody recognises it, that is exactly what DMARC is going to block. After each fix, the SPF, DKIM and DMARC checker gives your domain a new score out of 100.

Step 6: move to p=quarantine

Once your legitimate sources are aligned, move to p=quarantine: failing messages are treated as suspicious, usually filed in the spam folder. To limit the risk, the pct tag, defined in RFC 7489, applies the policy to only part of the messages, for example 25, then 50, then 100. Messages outside the sample get the next policy down, here p=none.

Read the reports at each stage and fix any legitimate service that fails before going further.

Step 7: p=reject, subdomains and monitoring

With p=reject, mail systems that enforce DMARC refuse failing messages: direct spoofing of your domain stops being worth the fraudsters' while. Here too, pct allows a transition, with messages outside the sample quarantined instead.

Subdomains

Without an sp tag, subdomains inherit the domain's policy. sp=reject states it explicitly, and a subdomain that sends mail, such as news.example.co.uk, can publish its own DMARC record. Remember the domains that never send email too, the ones you registered to protect yourself: an SPF record of v=spf1 -all and a DMARC policy at p=reject are enough.

Ongoing monitoring

p=reject is not the finish line. Every new tool can cause failures: check SPF and DKIM whenever a service goes live, keep the rua address working and review the reports regularly.

On the receiving side, Passmundi checks SPF, DKIM and DMARC on every incoming message and spots lookalikes of your domains and your known contacts' domains, which your own DMARC does not cover. See our anti-spoofing page and our article on typosquatting and lookalike domains.

Common mistakes

  • Publishing two DMARC records, or a record that does not start with v=DMARC1: the policy is ignored.
  • Publishing the record on the domain itself instead of _dmarc.example.co.uk.
  • Staying at p=none indefinitely: you watch the spoofing without blocking it.
  • Moving to p=reject without reading the reports, and losing the invoices or newsletters of a forgotten service.
  • Adding an include to SPF for every new tool without counting DNS lookups, until you exceed the limit of ten.
  • Leaving the rua address pointing at a deleted mailbox or a former provider.
Checklist

The DMARC rollout checklist

Print it and tick it off as you go:

The help centre
  1. Every service that sends in the domain's name is listed, with an owner for each.
  2. A single SPF record, under ten DNS lookups, ending in -all or ~all.
  3. Every service signs with DKIM using your domain, with 2048-bit keys where possible.
  4. A _dmarc record at p=none is published with a dedicated rua address.
  5. Several weeks of reports have been read and every legitimate source is aligned.
  6. The policy moves to p=quarantine, in stages with pct if needed, then to p=reject and sp=reject.
  7. Domains that send no email have an SPF record of v=spf1 -all and a DMARC policy at p=reject.
  8. Reports are reviewed every month, and every new tool is checked before it goes live.
This week

Where to start this week

Three actions that carry no risk for your outgoing mail and get the rollout moving now.

Test your domain

The free checker reads your SPF, DKIM and any existing DMARC record and gives a score out of 100. You know where you are starting from.

Start the sending inventory

Open a shared list and ask finance, marketing and HR which tools send email in your organisation's name.

Publish p=none with a rua address

The DMARC generator writes the record for you to publish with your DNS host. The first reports arrive within days, with no effect on your messages.

Frequently asked questions

DMARC deployment: your questions

How long does it take to reach p=reject?

There is no guaranteed timescale. Allow several weeks of reports at each stage, depending on your mail volume and the number of services sending in your name. A domain with a single mail platform moves quickly, one used by ten different tools needs more fixes.

Can moving to p=reject block my own email?

Yes, if a legitimate service is not aligned: its messages will be refused by mail systems that enforce DMARC. That is why you go through p=none and the reports first, then p=quarantine. A forwarded message usually stays valid if its aligned DKIM signature has not been altered.

Should SPF end in -all or ~all once DMARC is in place?

Both are defensible, since the DMARC policy decides what happens to the message. -all is stricter, but some servers reject a hard SPF fail before evaluating DKIM, which can get in the way of forwarded messages. Many administrators keep ~all once DMARC is at p=reject.

What is the pct tag for?

It applies the policy to a percentage of failing messages, for example 25 or 50, so you can tighten things gradually. Messages outside the sample get the next policy down: p=none for a quarantine policy, quarantine for a reject policy. Without pct, the default is 100.

Are my subdomains covered by the domain's policy?

Yes, by default they inherit it. The sp tag sets a different policy for subdomains, and a subdomain can publish its own _dmarc record if it needs a specific setting, for instance while a new sending tool is being set up.

Can Passmundi manage my DMARC for me?

No. Passmundi does not publish your DNS records or sign your messages with DKIM: that is done with your DNS host and in your sending tools. It helps with the free DMARC generator and checker, readable DMARC reports, and SPF, DKIM and DMARC checks on every message you receive.

Publish your first DMARC policy

The free generator writes a p=none record with reporting in a few clicks. It is the first step towards p=reject, with no risk to your outgoing mail.