DMARC tells receivers what to do with messages that carry your domain as the sender but fail authentication via SPF or DKIM. Only an enforced policy (p=reject) stops attackers from simply abusing your domain for phishing. Getting there is not a single DNS record but a small project. Our glossary article SPF, DKIM and DMARC explains the three technologies in detail.
Why now
- Google: since 1 February 2024, everyone sending to Gmail accounts must use SPF or DKIM. Senders of more than 5,000 messages per day need SPF, DKIM and a DMARC record.
p=noneis enough, but the domain in the From header must match SPF or DKIM ("alignment"). - Yahoo: comparable rules for bulk senders since February 2024, also with at least
p=none. - Microsoft: since May 2025, domains sending more than 5,000 messages per day to Outlook.com, Hotmail.com and Live.com must meet the same three requirements. Non-compliant mail goes to the Junk folder first; Microsoft has announced rejection with error
550 5.7.515.
The thresholds mainly affect newsletter senders. For deliverability and protection against forged senders, DMARC pays off regardless of volume.
Step 1: inventory all senders
The most important and most underestimated step. List every system that sends mail with your domain as the sender:
- Microsoft 365 or your own mail server
- CRM, ERP, ticketing and accounting software
- newsletter tool and web shop
- multifunction printers and scanners ("scan to e-mail")
- business applications, monitoring systems and server scripts
- on-premises SMTP relays such as the old IIS SMTP Server or Exchange
- service providers sending on your behalf, for example payroll or a recruiting portal
Anything missing here will show up at p=reject at the latest – at the recipient's end. The reports from step 4 help you find the gaps.
Step 2: clean up SPF
Each domain may have exactly one SPF record; several cause an error (permerror). Evaluation may also trigger no more than 10 DNS lookups: every include:, a, mx, exists and redirect counts, and so do nested includes. ip4: and ip6: don't. Remove entries of former providers, replace includes of services with fixed, documented addresses by IP entries (not for Microsoft 365), and move services such as your newsletter to a subdomain like news.your-domain.com.
Step 3: DKIM for every sender
SPF breaks with forwarding, and with many cloud services the envelope domain doesn't match your From address. DKIM is more reliable: every sender should sign with your own domain. Newsletter, CRM and shop systems usually offer a domain authentication setting with DNS records for this.
In Microsoft 365, you enable DKIM in the Microsoft Defender portal on the Email authentication settings page, DKIM tab: select the domain, create the two CNAME records shown, selector1._domainkey and selector2._domainkey, at your DNS provider, and then turn signing on. Copy the values exactly from the portal or from Get-DkimSigningConfig – Microsoft changed the format for new domains in 2025. By default Microsoft 365 uses 1024-bit keys; you can switch to 2048 bits when rotating the keys.
Step 4: DMARC with p=none and reports
Only now does DMARC follow: a TXT record at _dmarc.your-domain.com, for example v=DMARC1; p=none; rua=mailto:dmarc [at] your-domain [dot] com. p=none doesn't change delivery, but receivers send you aggregate reports, usually daily as a compressed XML file. They show which IP addresses sent mail in your name and whether SPF and DKIM passed and matched the From domain.
Route the reports to a dedicated mailbox rather than a personal one, and use an analysis service or a script to evaluate them. Typical findings: a known service passes SPF but doesn't match the From domain – then a DKIM signature with your domain is missing. Unknown IP addresses with nothing but failures are often spoofing attempts, exactly what DMARC is meant to stop later. Monitor for a few weeks so that rare senders such as quarterly mailings show up too.
Step 5: quarantine, then reject
Once the reports show only known, properly authenticated senders, tighten to p=quarantine: failing messages then land in the spam folder. Traditionally the transition is staged with pct, for example pct=25, then 50 and 100. The new DMARC standard published in May 2026 (RFC 9989) drops pct and introduces the test mode t=y instead, in which receivers apply a policy one level milder. Since receivers adopt new standards gradually, check the reports after every change. After a few quiet weeks, move on to p=reject.
Subdomains
A DMARC record automatically also covers all subdomains without a record of their own. With sp= you set a different policy for subdomains, for example p=reject; sp=quarantine during the transition. Subdomains that send mail themselves need their own SPF and DKIM records. Domains that send no mail at all get v=DMARC1; p=reject right away.
Pitfalls
- Forwarding: if a recipient forwards your message automatically, SPF fails at the final recipient. DKIM survives as long as the message is unchanged – one more reason to sign every sender.
- Mailing lists and gateways: they change the subject or body, for example by adding a footer, and so break the DKIM signature.
- ARC: with ARC (Authenticated Received Chain), an intermediary service vouches for the original authentication result. In Microsoft 365 you can add such services as trusted ARC sealers – this helps on the receiving side but doesn't replace your own authentication.
Signing on-premises devices and applications
Scanners, business applications and scripts that can't do DKIM themselves are often the hardest part. One solution is a central relay that signs for them. PriCoSoft MailRelay replaces the IIS SMTP Server and, in the Professional edition, signs outgoing mail with DKIM: per virtual server it generates a 2048-bit RSA key pair, shows the required DNS record and checks it. Messages are signed when the From domain matches. The free Lite edition doesn't include DKIM. Either way, check the header of a test message to see who signed it.
We are happy to accompany your DMARC rollout from the inventory to p=reject – learn more under Cybersecurity.


