Deliverability and authentication
Rolling out a DMARC policy from none to reject
By mailers.io team Published 5 min read
public/media/blog-dmarc-policy-rollout-cover.webp A DMARC record that says p=none does nothing to protect you. It only asks receivers to send you reports. The protection comes when you move to p=quarantine and then p=reject. Done in the wrong order, that move blocks your own invoices, password resets or newsletters. This post gives an order that is safe.
You should know what SPF, DKIM and alignment are before you start. If not, read SPF, DKIM and DMARC explained first.
What a record looks like
A DMARC record is a TXT record at _dmarc.<your domain>. A first record looks like this:
v=DMARC1; p=none; rua=mailto:[email protected]
The tags you will use:
p: the policy for the domain:none,quarantineorreject.rua: where to send aggregate reports (daily XML summaries from receivers).pct: the percentage of failing mail the policy applies to. The default is 100.sp: a separate policy for subdomains.adkimandaspf: alignment mode,r(relaxed, the default) ors(strict).
The report address can be on another domain, but that domain must publish an authorisation record to accept your reports. Using a mailbox on the same domain avoids this.
Step 0: get DKIM right for the sending you control
Before you publish anything, make sure the mail you send through mailers.io is aligned. Add the sending domain, publish its DKIM record, and confirm the status is verified; the steps are in adding a sending domain. mailers.io shows whether it found a DMARC record at _dmarc as advice, but never requires one and does not manage your policy.
Aim for DKIM alignment rather than SPF alignment. DKIM survives forwarding; SPF does not.
Step 1: publish p=none and read the reports
Publish the record above. Receivers that support DMARC reporting will start sending daily aggregate reports. They are compressed XML and hard to read by eye. Use a free report viewer or a DMARC reporting service to turn them into a table of sending sources.
Collect for at least two to four weeks, longer if you send on a monthly cycle. For each source in the table, ask:
- Do I know this service?
- Does it pass DKIM with a signing domain that matches my From domain?
- Does it pass SPF aligned?
You will almost always find a few forgotten senders: a billing tool, a help desk, a calendar system, a CRM, an old form plugin. Each one is either legitimate (fix it) or not (it is exactly what DMARC is meant to stop).
Step 2: fix every legitimate sender
For each legitimate service, set up DKIM with your domain as the signing domain. Most services have a “custom domain” or “domain authentication” setting for this. Aligned SPF is a bonus, but not needed if DKIM aligns.
Keep SPF tidy while you are there. One record per domain, and no more than ten DNS lookups; if you hit that limit, see fixing the SPF 10-lookup limit error.
Do not move on until the reports show your real mail passing. Rare, low-volume sources are the ones that bite later, so wait until you have seen each of them at least once.
Step 3: move to quarantine, gradually
Change the policy and use pct to ramp:
v=DMARC1; p=quarantine; pct=10; rua=mailto:[email protected]
Receivers apply the policy to 10 percent of failing mail. Watch the reports and your support inbox for a week. If nothing legitimate is hit, raise to 25, 50 and then 100. Keep each step long enough to cover a full sending cycle.
If a legitimate service shows up as failing, do not stop at quarantine out of habit. Fix its DKIM, wait for the reports to confirm, and continue.
Step 4: move to reject
Once quarantine at 100 percent has been quiet, use the same ramp for reject:
v=DMARC1; p=reject; pct=25; rua=mailto:[email protected]
At reject, a failing message is refused at the door, so the sender gets a bounce and the recipient sees nothing. Raise the percentage until you reach 100, and leave the rua address in place. Reports keep telling you when something new starts sending as your domain.
Subdomains
By default a subdomain follows the policy of the parent. You can set sp= in the parent record to give subdomains a different one, or publish a record at _dmarc.<subdomain>.
A common pattern is to separate streams by subdomain. For example, application mail on one subdomain, campaigns on another, and cold outreach on a third. Each can then have its own sending reputation, and each can sit at a different stage of the rollout. A subdomain also signs with the key of a verified parent in mailers.io, so you do not have to publish a new key for every one. The reasons to split streams are in separate subdomains for marketing and transactional e-mail.
Domains that never send mail can go straight to p=reject, with no reports needed. That blocks anyone from spoofing them.
Traps to avoid
- Strict alignment too early.
adkim=sandaspf=srequire an exact match. It breaks any service that signs with a subdomain. Leave alignment relaxed unless you have a reason. - Two DMARC records. If a domain has more than one
v=DMARC1record, receivers may ignore all of them. - Forgetting mailing lists and forwarders. They can alter a message and break DKIM. Reject policies can cause these to bounce. Reports show you which sources are affected.
- Changing the policy and the sending setup at the same time. Then you cannot tell what caused a failure.
- Never leaving p=none. It is the most common outcome, and it gives no protection.
What to expect
A reject policy makes it much harder for anyone to send mail that looks like it comes from your domain. It does not guarantee inbox delivery. Reputation, content and recipient behaviour still decide that. It also does not replace warm-up for a new domain; see email warm-up.
A realistic timeline is six to twelve weeks from the first p=none to a full reject, depending on how many systems send as your domain.
Questions and answers
How long should I stay at p=none?
Long enough to see every legitimate sender in the reports, often two to four weeks, or longer if you send monthly newsletters or have seasonal systems.
Will p=reject break my forwarded mail?
Forwarding breaks SPF but usually keeps DKIM intact, so mail with an aligned DKIM signature still passes. Mailing lists that change the message can break it.
Do I need a policy on every subdomain?
Subdomains inherit the main policy unless you set sp= or publish a record for them. Set it on purpose rather than by accident.
Written by the mailers.io team. Published .