How do scammers spoof email senders? SPF, DKIM and DMARC explained
Email was designed in an era of trust. The original protocol, SMTP, lets the sender write almost anything in the "From" field. Three standards were added over time to make faking a domain harder.
SPF (Sender Policy Framework)
A domain publishes a DNS record listing which servers are allowed to send mail on its behalf. The receiving server checks whether the message came from one of those servers.
- Limitation: SPF checks the technical "envelope" sender, not necessarily the "From" address you see, and it often breaks when mail is forwarded.
DKIM (DomainKeys Identified Mail)
The sending server adds a cryptographic signature to the message headers. The public key is published in DNS. The receiver verifies the signature, proving the message was authorized by that domain and that signed parts were not altered in transit.
DMARC
DMARC ties the two together and tells receivers what to do when checks fail:
- It requires that SPF or DKIM passes and aligns with the visible From domain.
- The domain owner sets a policy:
none(just monitor),quarantine(send to spam) orreject. - It also enables reports so domain owners can see who is sending mail using their name.
What this means for you
- These checks make exact-domain spoofing much harder when domains have strict policies.
- Scammers then switch to lookalike domains (an extra letter, a different ending) or compromised real accounts, which pass all checks.
- So a message passing authentication is not proof it is safe; check the actual address and be cautious with links and payment requests.
Questions:
- If you run a domain, have you set DMARC to quarantine or reject yet?
- What is the most convincing lookalike domain you have seen in a phishing email?
Comments · 3
Can I check these on my own domain? I run a small hobby site and email from it. Not sure if my setup has SPF at all.
DMARC at "reject" is worth the effort for any business sending email. It also helps deliverability with major mailbox providers.
Practical tip for readers: check the actual sender address, not just the display name, and hover before clicking anything.