Microsoft 365 & email protection
Go to the service: Microsoft 365 & email protection
Set up DMARC: SPF, DKIM and DMARC explained
Set up DMARC to stop others sending email in your name. How SPF, DKIM and DMARC work together, and how small businesses move step by step to a strict policy.
What is it about?
Anyone can send an email that shows your address as the sender. It sounds unlikely, but that is how email was originally designed. As Microsoft Learn explains, standard internet email makes no effort of its own to check that a sender is who they claim to be. Forging the sender in this way is called spoofing.
If you want to set up DMARC, you work with three building blocks that belong together:
- SPF lists the servers that are allowed to send email for your domain.
- DKIM adds a digital signature to your emails, so the recipient can tell the message was not altered on its way.
- DMARC ties both to the visible sender address and tells the recipient what to do with emails that fail the check.
An everyday comparison: SPF is the list of couriers allowed to deliver letters in your name. DKIM is the wax seal on the envelope. DMARC is your instruction to the recipient’s post room: “If a letter arrives without a valid seal and not from one of my couriers, refuse it.”
All three are records in the DNS, the internet’s address book where your domain’s settings are kept.
Why does it matter for your business?
Microsoft Learn notes that forged senders are commonly used in business email compromise, phishing and other email attacks. In practice, that might look like this:
- Trades businesses: customers receive an “invoice” from your address, but with someone else’s bank details.
- Law firms and accountants: clients get what looks like a request from you to upload documents via an unfamiliar link.
- Small and medium-sized companies: suppliers or staff are pressured into payments in the name of the managing director.
Without DMARC, recipients have little to go on when deciding whether an email really came from you. And if your domain is misused for spam, delivery of your genuine emails can suffer too.
Why you need all three
SPF on its own only checks the technical sender address, not the one displayed in the recipient’s email program. DKIM on its own does not require the signing domain to match the displayed domain. Only DMARC checks that these domains line up. Microsoft Learn stresses that the standards are interdependent building blocks that only give proper protection together.
The three DMARC policies
DMARC has three policy levels:
- none: monitor only; no effect on delivery.
- quarantine: failing emails are marked, for example moved to the junk folder.
- reject: failing emails are refused.
The address in your DMARC record also receives reports. These show which servers are sending email using your domain and whether those messages pass the check.
An everyday example
Example: A fictional roofing company sends email through Microsoft 365, invoices through its accounting software and a newsletter through an external service. SPF only covers Microsoft 365, and there is no DMARC record.
The company starts with a DMARC policy of “none” and asks for reports. After a while, the reports reveal three things: Microsoft 365 passes, the invoices from the accounting software fail, and an unknown server is sending emails in the company’s name. The accounting software is added to SPF and set up to sign with DKIM. The policy is then tightened step by step via “quarantine” to “reject”. From that point on, many receiving systems refuse the forged emails, while the genuine ones keep arriving.
How we approach it
Securing your email domain is a standard part of our IT security and email protection service. We follow the gradual DMARC roll-out that Microsoft recommends.
- Check the current state: we read your existing SPF, DKIM and DMARC records. Our free security Quick-Scan gives a first outside view.
- Identify senders: together we list every service that sends email using your domain – mailboxes, accounting, web shop, newsletter, scanners.
- Set up SPF and DKIM: we add all legitimate senders to SPF and switch on DKIM signing wherever possible.
- Introduce DMARC gradually: we start with “none”, analyse the reports and tighten the policy via “quarantine” to “reject”.
- Keep watching: we review reports regularly, secure unused domains too and keep you informed in plain language.
What you can do right away
- List every program and service that sends email in your name.
- Find out who holds the login for your domain management.
- Check with our Quick-Scan whether your domain already has a DMARC record.
- Collect any domains you own but do not use for email.
- Remind your team that a familiar sender alone is no proof an email is genuine – see our guide on how to spot phishing.
Key terms
- SPF
- Sender Policy Framework: a DNS record listing the servers allowed to send email for your domain.
- DKIM
- DomainKeys Identified Mail: a digital signature that lets the recipient check an email was not altered in transit.
- DMARC
- Domain-based Message Authentication, Reporting and Conformance: a policy that ties SPF and DKIM to the visible sender and tells recipients what to do with emails that fail.
- DNS
- Domain Name System: the internet's address book, which also stores the settings for your domain.
- Spoofing
- Forging the sender so an email appears to come from a trusted person or company.
Frequently asked questions
Can I just set DMARC straight to 'reject'?
We advise against it. If not every legitimate sender has been identified yet, genuine emails – invoices from your accounting software, for instance – will be rejected. Microsoft recommends a gradual approach from 'none' through 'quarantine' to 'reject'.
Does DMARC protect my inbox from all phishing?
No. DMARC mainly stops strangers from misusing your own domain as a sender. It does not catch phishing from lookalike or unrelated domains. For that, you also need filtering and an alert team.
What about domains we don't use for email?
Secure them as well. Microsoft recommends a DMARC record with a 'reject' policy for unused domains, making it clear that no genuine email ever comes from them.
Where are these settings made?
SPF, DKIM and DMARC are DNS records, managed wherever your domain is registered or hosted. With Microsoft 365, DKIM also needs to be switched on in the Microsoft portal.
Sources
Official sources, consulted when the article was written.

