Stop email spoofing: DMARC step by step from p=none to p=reject
Contents
- Why should companies enforce DMARC now?
- Where do checked company domains stand?
- What do SPF and DKIM need to be in place?
- In which steps do you get to p=reject?
- What do the DNS records for SPF and DMARC look like?
- What are the typical SPF, DKIM and DMARC mistakes?
- What should you watch for with Microsoft 365, IONOS and STRATO?
- How do you keep the settings under control?
- Sources
Forged senders are an everyday tool for invoice fraud and phishing: a message seems to come from your own accounts department or a known supplier, and the bank details are new. In Bitkom's Wirtschaftsschutz 2026 study, 11 percent of the companies surveyed in Germany said spoofing had caused them damage (Bitkom, Wirtschaftsschutz 2026, German). Against the forgery of your own domain there is an effective, free remedy: SPF, DKIM and an enforced DMARC policy.
Why should companies enforce DMARC now?
Three developments make the topic urgent. Since February 2024, Google and Yahoo have required senders who send large volumes to their users (at Google, more than 5,000 messages a day to personal Gmail accounts) to have SPF, DKIM and a DMARC record, where p=none is sufficient (Google, email sender guidelines, Yahoo, sender best practices). Since November 2025, Gmail has enforced this more strictly, up to rejecting messages. Since 5 May 2025, Microsoft has required domains that send more than 5,000 messages a day to Outlook.com to have SPF, DKIM and DMARC. Non-compliant messages are first routed to the Junk folder, and Microsoft has announced that they will later be rejected (Microsoft Tech Community). And Germany's BSI in its Technical Guideline TR-03182 (version 1.0, 2024) sets testable requirements for email providers: SPF with ~all or -all, DKIM signatures on all outgoing mail, a DMARC record with a report address (rua), the policy p=reject as the goal, and for unused domains a null MX, an SPF record that permits no sender and DMARC p=reject.
There is also a new DMARC standard since 2026: RFC 9989 replaces the previous RFC 7489, and reporting is now covered by RFC 9990. Many guides online still refer to the old version, for example with the pct= tag, which no longer exists.
More important than the large mailbox providers' rules, however, is your own protection: as long as your DMARC policy is set to p=none, receivers only observe. Forged mail using your domain keeps getting through.
Where do checked company domains stand?
For this article we analysed a sample: the mail settings of 839 domains that receive mail (MX record) and were checked with athorion's free check between 17 and 30 October 2026, using only the most recent check per domain. At this size, read the figures as a rough orientation, not as exact to the decimal.
| Status | Share of domains |
|---|---|
| no DMARC record | 36.0% |
| DMARC with p=none (monitoring only) | 35.2% |
| DMARC with p=quarantine | 16.0% |
| DMARC with p=reject | 12.9% |
| no SPF record | 11.3% |
Only about 13 percent of the domains enforce p=reject; for just over 71 percent, DMARC gives receivers no instruction to reject spoofed mail, because the record is missing or set to p=none. For context: these domains are not a random sample. They were checked by visitors to our website and by our sales team. Companies already dealing with the topic are probably over- or under-represented. The figures therefore describe the checked domains, not an average of all companies. The measurement was passive, using public DNS queries, without contacting the mail servers.
What do SPF and DKIM need to be in place?
DMARC builds on two older mechanisms and requires that at least one of them passes and matches the sender domain.
SPF (RFC 7208) specifies in DNS which servers may send mail for your domain. It checks the domain in the technical envelope of the message (Return-Path), not the visible sender address. A domain may have exactly one SPF record, and evaluating it may trigger at most ten DNS lookups; otherwise the result is an error.
DKIM (RFC 6376) signs each message cryptographically. The sender publishes the public key in DNS under a selector, for example selector1._domainkey.example.com. Every service that sends in your name needs its own signature set up for your domain. For p=reject, DKIM is mandatory: under RFC 9989, a domain publishing p=reject must not rely solely on SPF and must apply valid DKIM signatures (section 7.4).
DMARC (RFC 9989) ties both to the visible sender address. A message passes DMARC if SPF or DKIM passes and the checked domain matches the domain in the From field (alignment). By default it is enough for both to belong to the same organisational domain. With rua= you set an address to which receivers send aggregate reports (RFC 9990).
In which steps do you get to p=reject?
RFC 9989 recommends analysing your domain's reports before moving to p=reject: at least a month of p=none, then p=quarantine for a similar period, comparing the results (section 7.4). This gives a path in three phases. Only move to the next phase once the criterion in the right-hand column is met.
| Phase | Step | Criterion for the next phase |
|---|---|---|
| 1, weeks 1 to 2 | List every service that sends mail with your domain: mail server or Microsoft 365, newsletter tool, CRM, ticketing system, web shop, invoicing. Fix SPF, enable DKIM for each service, publish DMARC with p=none and rua= | reports are arriving |
| 1, until at least week 5 | Analyse the reports: which sources send in your name, which fail DMARC? Add missing senders to SPF and DKIM, establish alignment | all legitimate sources pass DMARC, preferably with DKIM |
| 2, about a month | Set the policy to p=quarantine and keep analysing the reports | no complaints about missing mail, clean reports |
| 3 | Set the policy to p=reject, include subdomains with sp=reject, lock down domains that send no mail | keep checking the reports regularly |
If you use only a few sending services, it is mainly the preparation that gets shorter. Do not shorten the observation period, because some senders only appear once a month, such as monthly invoice runs.
When p=quarantine remains the goal. RFC 9989 advises domains whose users post to mailing lists against p=reject (section 7.4). Mailing lists often modify messages so that the DKIM signature no longer matches; with p=reject, your staff's posts could be rejected by other subscribers' mail servers. If your staff regularly write to external mailing lists, p=quarantine is often the better choice for the main domain. For domains that send no mail and for dedicated sending domains, for example for invoices or newsletters, p=reject is usually unproblematic.
What do the DNS records for SPF and DMARC look like?
Replace example.com with your domain and the include entries with those of your actual sending services. The example uses the Microsoft 365 SPF entry.
SPF for a domain that sends via Microsoft 365:
example.com. TXT "v=spf1 include:spf.protection.outlook.com -all"
DMARC, phase 1 (monitor, request reports):
_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:[email protected]"
DMARC, phase 2 (failing mail to quarantine):
_dmarc.example.com. TXT "v=DMARC1; p=quarantine; rua=mailto:[email protected]"
DMARC, phase 3 (reject, including subdomains):
_dmarc.example.com. TXT "v=DMARC1; p=reject; sp=reject; rua=mailto:[email protected]"
A domain that never sends mail, for example a brand domain or an old domain, should be locked down completely. The null MX record under RFC 7505 additionally signals that the domain accepts no mail:
example.net. MX 0 .
example.net. TXT "v=spf1 -all"
_dmarc.example.net. TXT "v=DMARC1; p=reject"
If reports should go to an address at another domain, such as a DMARC reporting service, that domain must authorise it (RFC 9990, section 4):
example.com._report._dmarc.provider.example.org. TXT "v=DMARC1"
What are the typical SPF, DKIM and DMARC mistakes?
- Too many DNS lookups in the SPF record. Every include: counts, and nested records count too. More than ten lookups cause an error, and SPF is then treated as failed. Remove services you no longer use.
- +all or ?all at the end. +all allows every server on the internet to send in your name, ?all protects nothing. The right ending is -all, or ~all while testing.
- Several SPF records. Two TXT records starting with v=spf1 make SPF invalid. Merge them into one.
- Missing alignment. A newsletter tool passes SPF with its own domain in the Return-Path and signs with its own domain. For DMARC that does not count. Set up a custom sending domain or a DKIM signature with your domain in the tool.
- Forwarding and mailing lists. With forwarding, SPF often fails because a third-party server relays the message. DKIM survives forwarding if the message stays unchanged. Mailing lists that change the subject or body also break DKIM. For such cases there is the experimental ARC mechanism (RFC 8617), which passes authentication results along through intermediaries.
- Outdated guides. The pct= tag, which used to apply p=quarantine to only part of the mail, was removed in RFC 9989. Do not rely on it still being evaluated.
- Forgotten subdomains. Without sp=, the policy of the main domain (p=) also applies to subdomains; for non-existent subdomains, np= applies if it is set (RFC 9989, Section 4.7). If a subdomain sends its own mail, it needs its own SPF and DKIM records.
- A report mailbox nobody reads. Aggregate reports arrive as XML files, many per day at larger volumes. Use a dedicated mailbox and a tool to analyse them.
What should you watch for with Microsoft 365, IONOS and STRATO?
Microsoft 365. For Exchange Online the SPF entry is include:spf.protection.outlook.com. You enable DKIM in the Microsoft Defender portal for each custom domain after creating the two CNAME records for selector1 and selector2 shown there. You publish the DMARC record as a TXT record with whoever manages your DNS (Microsoft Learn: SPF, DKIM, DMARC). Copy the CNAME targets exactly as the portal shows them.
IONOS. If IONOS manages your DNS, create SPF and DMARC as TXT records in the DNS settings of your domain. With IONOS name servers, the SPF record (IONOS SPF) and DKIM are active by default. If another provider manages your DNS, add include:_spf-eu.ionos.com to the SPF record (IONOS help on SPF) and create the three DKIM CNAME records listed in the IONOS help. If you send through Microsoft 365 or another service, that service's entries belong in the record, not those of IONOS.
STRATO. At STRATO too, you create TXT records in the domain's DNS settings, the DMARC record with the prefix _dmarc. The STRATO mail server signs outgoing mail with DKIM automatically, and STRATO can set its own SPF and DMARC records. If other services also send for your domain, choose "Keine STRATO SPF-Regel" in the DNS settings and create a single SPF record with include:_spf.strato.com plus the other services' entries. For your own DMARC policy, choose "Keine STRATO-DMARC-Regel" (STRATO help, in German). After every change, check that there is still exactly one SPF record.
How do you keep the settings under control?
An enforced policy is not the end. New tools, a change of newsletter provider or a new subsidiary bring new senders. What works well:
- analyse DMARC reports at least monthly and clarify new sources
- add every new piece of software that sends mail to SPF and DKIM before it goes live
- check once a year that domains without mail sending are fully locked down
- tackle transport encryption for incoming mail with MTA-STS (RFC 8461) and TLS reporting (RFC 8460) as the next step
athorion's free check shows after every change whether SPF, DMARC and MTA-STS are in place and whether a DKIM key can be found under common selector names. DKIM can only be detected to a limited extent from the outside, because the selector can be chosen freely. Customers look closely at these settings when assessing suppliers, as our article for suppliers to NIS2-regulated customers explains.
Mail settings are only one part of the attack surface. What else is visible from outside, from open services to forgotten subdomains, is shown by the attack surface analysis. The full 90-day roadmap with instructions, a checklist and the measurement data in detail is in our whitepaper on email authentication.
Where does your own domain stand? The check tests SPF, DMARC, DKIM and MTA-STS passively in about two minutes.
Sources
- RFC 7208, Sender Policy Framework (SPF)
- RFC 6376, DomainKeys Identified Mail (DKIM)
- RFC 9989, DMARC (replaces RFC 7489) and RFC 9990, DMARC aggregate reporting
- RFC 7505, Null MX
- RFC 8617, Authenticated Received Chain (ARC)
- RFC 8461, MTA-STS and RFC 8460, TLS reporting
- Google, email sender guidelines
- BSI TR-03182 Email Authentication
- Microsoft Learn, configure DMARC
- Bitkom, Wirtschaftsschutz 2026 study report (German)
Researched and structured with AI assistance, reviewed for accuracy by Robin Schwarzfeld.