Skip to main content
Varaxon Technologies

Email security

How to set up DMARC step by step: from p=none to p=reject

Set up DMARC without blocking your own email: check SPF and DKIM, publish p=none, read the reports, then move to quarantine and reject. With example records.

By Brandon Sooknanan, Founder, Varaxon Technologies · · 7 min read

DMARC tells mail servers what to do with email that claims to come from your domain but can't prove it. Without it, anyone can put your address in the From line of a fake invoice, and many inboxes will deliver it. With a DMARC policy of reject, those fakes are refused.

The record itself is one line. The work is making sure your own legitimate email passes before you tell the world to block everything that doesn't. This guide walks through that rollout in order, with the exact record to publish at each stage.

Step 1: get SPF and DKIM right first

DMARC doesn't authenticate anything by itself. It reads the results of two older checks and adds one rule: the domain those checks verified must match the domain in the visible From address. That match is called alignment. A message passes DMARC when SPF passes and aligns, or DKIM passes and aligns. One is enough.

  • SPF: one TXT record at your domain root, starting v=spf1, listing the services that send for you. Check it with the SPF checker.
  • DKIM: a signing key published by each service that sends as you. Turn it on in your mailbox provider's admin console (Microsoft 365 needs it switched on for custom domains) and check it with the DKIM checker.

DKIM matters more than SPF for DMARC. SPF breaks when mail is forwarded, and many sending services use their own domain for SPF, so it never aligns with yours. A DKIM signature with your domain survives forwarding and aligns by design.

Step 2: list everything that sends email as your domain

Most organisations have more senders than they think. Before you publish anything, write down every system that sends email with your domain in the From address:

  • Your mailbox provider (Microsoft 365, Google Workspace, Zoho and so on).
  • Newsletter and marketing tools.
  • Invoicing, accounting and payroll systems that email customers or staff.
  • Your CRM, helpdesk and ticketing system.
  • Website contact forms, shop notifications and booking systems.
  • Copiers and scanners that email documents, and line-of-business apps that send alerts.

You will miss some. That's fine: the reports in step 4 will show you what's left. The list just gets you a head start.

Step 3: publish a p=none record with a reporting address

Your first record changes nothing about delivery. It asks receiving servers to send you daily reports about every message that used your domain, so you can see who is sending and whether it passes.

Your first DMARC record
Field at your DNS hostWhat to enter
TypeTXT
Name or host_dmarc (some DNS hosts want the full name, _dmarc.yourdomain.com)
Valuev=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com
TTLYour host's default is fine. An hour is common.

The DMARC record generator builds this value for you: enter your domain, pick none, and add the reporting address. It runs in your browser, so nothing is sent anywhere. Then run the DMARC checker to confirm the record is in the right place.

Where reports should go. Aggregate reports are XML files, often dozens a day. A shared mailbox works for a small domain. For anything busier, a DMARC reporting service turns them into readable charts. If the reporting address is on a different domain from yours, that domain has to publish a record agreeing to receive your reports. Reporting services set this up for you.

Step 4: read the reports for two to four weeks

Each report lists the IP addresses that sent mail using your domain, how many messages, and whether SPF and DKIM passed and aligned. Sort what you see into three groups:

What to do with each sender in your DMARC reports
What you seeWhat it usually isWhat to do
A service you use, passing DKIM alignedCorrectly set upNothing. This is the goal for every legitimate sender.
A service you use, failing or not alignedA sender missing from SPF, or signing DKIM with its own domainSet up custom DKIM for your domain in that service, or add it to SPF. Then watch the next reports.
Servers you don't recogniseForwarding, mailing lists, or someone spoofing youLeave them. These are the messages DMARC will block once you enforce.

Keep going until every sender you recognise passes. Low-volume senders, like a monthly payroll run or a quarterly newsletter, only show up when they send, which is why two weeks is a minimum.

Step 5: move to p=quarantine

Quarantine asks receivers to treat failing mail as suspicious, which in practice means the spam or junk folder. If you've missed a legitimate sender, its mail lands in junk rather than disappearing, so the mistake is recoverable.

Change the value to v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@yourdomain.com. Keep reading reports and ask staff to tell you if anything they send starts going to customers' junk folders.

Older guides suggest rolling quarantine out gradually with pct=10, then 50, then 100. The current DMARC standard, RFC 9989, retired the pct tag, and receivers can apply your policy to all failing mail. Treat quarantine itself as the gentle step.

Step 6: move to p=reject

After a few weeks of clean reports at quarantine, change the value to v=DMARC1; p=reject; rua=mailto:dmarc-reports@yourdomain.com. Receivers are now asked to refuse email that fails DMARC, so fake mail in your name never reaches the inbox at all. Run the DMARC checker again to confirm the change, and keep the reporting address: new services get added over time, and the reports are how you'll notice one that isn't set up.

We did this on our own domain. varaxontech.com went from p=none to quarantine in October 2026, and to reject in November once the reports were clean.

Subdomains and domains that never send email

  • Subdomains follow your main policy unless you add sp=. If a subdomain sends mail through a service you haven't finished setting up, publish sp=none or sp=quarantine for now, or give that subdomain its own _dmarc record. The generator's Subdomain policy field adds sp= for you.
  • Domains that send no email (old brand names, typo domains you own) can skip the rollout. Publish v=spf1 -all as SPF and v=DMARC1; p=reject as DMARC, and no one can use them for fake mail.
  • Strict alignment (adkim=s; aspf=s) requires an exact domain match instead of allowing subdomains. Most domains don't need it, and it breaks services that send from a subdomain such as mail.yourdomain.com. Leave it off unless you know you want it.

Why it's worth doing now

Since February 2024, Google and Yahoo require anyone sending more than 5,000 messages a day to their users to publish a DMARC record, and Microsoft applied similar rules to Outlook.com from May 2025. Those rules only demand p=none. The protection comes from enforcing, because that's what stops a scammer sending a fake invoice that looks like it came from you.

To check where a domain stands today, including suppliers who email you invoices, the free email security check grades SPF, DKIM and DMARC together, A to F, and lists the records that would raise the grade.

Common questions

How long does it take to set up DMARC?

Publishing the record takes minutes. Moving safely to p=reject usually takes four to eight weeks, because you need two to four weeks of reports at p=none and a few more at quarantine to catch senders that only send occasionally.

Can I go straight to p=reject?

Only if the domain sends no email at all, or you are certain every sender passes DKIM with your domain. Otherwise you risk invoices, password resets and newsletters being refused without anyone noticing.

Do I need a paid DMARC service?

No. A mailbox you check is enough for a small domain. A reporting service helps when reports pile up, because it turns the XML into charts and lists of senders.

Does DMARC stop all phishing?

It stops email that uses your exact domain in the From address. It doesn't stop lookalike domains, such as one letter changed, or display-name tricks. The free email security check lists registered lookalikes of your domain.

Where do I add the DMARC record?

At whoever hosts your domain's DNS, which may be your registrar, Cloudflare, or your website host. Add a TXT record named _dmarc and paste the value exactly.

Turn your next scan export into a client-ready report.

Run a free pre-flight check

Cookie preferences

Essential site functions remain available whichever option you choose. Your advertising choice is saved on this site. The Scan Hub has a separate choice.

Google and Reddit may receive cookies, identifiers, browser and device information, and your network/IP information. Reject or withdraw at any time. Read the Privacy Policy.