Home › Guides › SPF, DKIM & DMARC
Stop fake CEO emails: SPF, DKIM and DMARC made simple
“Please transfer €48,000 to this new supplier today – keep it confidential.” Emails like this look like they come straight from the boss. Technically they are trivial to forge – unless your domain is properly protected. Three records decide it: SPF, DKIM and DMARC.
Why forging is so easy
Email comes from an era when no one thought about fraud. The visible sender address – the “From” in your inbox – can be filled in freely by any server on earth, much like the sender on an envelope. Without protection, someone can send a message that shows up in your finance team’s inbox as [email protected] even though it never passed through your systems.
The three layers of protection
1. SPF – who may send in my name?
SPF (Sender Policy Framework) is a DNS record listing which servers are allowed to send mail for your domain – your mail provider, newsletter tool, CRM. Receiving servers check whether an incoming message came from one of them. Important: SPF checks the technical envelope sender, not the visible “From”. That’s why SPF alone is not enough.
2. DKIM – did the message stay genuine in transit?
DKIM (DomainKeys Identified Mail) adds a cryptographic signature to every outgoing message. The matching public key sits in your DNS. The recipient can verify that the message was really authorised by your domain and wasn’t altered on the way.
3. DMARC – the judge that ties it together
DMARC (Domain-based Message Authentication, Reporting & Conformance) is the decisive layer. It requires SPF or DKIM not just to pass, but to align with the visible “From” address. And it tells the recipient what to do with a forgery – nothing, quarantine, or reject. As a bonus you get reports on who is sending in your name.
Rolling out DMARC – step by step
Mistake number one is jumping straight to “reject” and blocking your own legitimate mail. Go in stages instead:
- Set up SPF and DKIM for every service that sends in your name (mail provider, newsletter, invoicing tool, CRM).
- Start DMARC in monitoring mode: a policy with
p=noneand a reporting address. Nothing is blocked yet – you just collect reports on who actually sends. - Review the reports (a DMARC report service makes them readable). Bring every legitimate sender into line with SPF/DKIM until only forgeries fail.
- Tighten up: move to
p=quarantine(spam folder) and, once it runs cleanly, top=reject. Onlyrejecttruly stops forgeries.
How you know it’s working
After a few weeks on p=reject, forgeries disappear from the reports and legitimate mail still arrives cleanly. A free outside check shows you whether SPF, DKIM, DMARC and MTA-STS are in place – and where a gap remains.
Check your email protection
Exolos reads your public DNS records and shows whether SPF, DKIM, DMARC and MTA-STS are set correctly – with the exact records to fix. Free, no login.
Run the free checkNote: This article is general orientation. The exact configuration depends on your sending services – when in doubt, coordinate DNS changes with your IT provider.