The short version
Email was designed without a way to prove who sent a message. Three DNS records fix that for your domain:
- SPF lists the servers allowed to send mail for your domain.
- DKIM signs each message so receivers can check it wasn’t altered and came from you.
- DMARC tells receivers what to do when a message fails both, and where to send reports.
Without an enforced DMARC policy, anyone can send email that claims to be from your domain, and most inboxes will deliver it. That’s how fake invoices and “change of bank details” emails reach your customers and suppliers.
Step 1: publish a monitoring record
Start with a policy that changes nothing but sends you reports:
_dmarc.example.com TXT "v=DMARC1; p=none; rua=mailto:reports@your-dmarc-provider"
Mailbox providers such as Google and Microsoft will start sending daily aggregate reports: XML files listing every IP address that sent mail as your domain, how many messages, and whether SPF and DKIM passed.
Step 2: find every legitimate sender
Read two to four weeks of reports. You’ll typically find your main mail platform, a marketing tool, a CRM, invoicing or accounting software, a helpdesk, and often a forgotten server or two. For each legitimate sender, make sure it either:
- is included in your SPF record (watch the 10-DNS-lookup limit), or
- signs with DKIM using your domain (preferred, because it survives forwarding).
Step 3: step up to quarantine
When your legitimate senders pass consistently, move to p=quarantine, optionally with pct=25 to apply it to a quarter of failing mail first. Watch reports for a week, then raise the percentage.
Step 4: enforce with reject
Finally, p=reject tells receivers to refuse mail that fails. This is the setting that actually stops impersonation, and the one cyber insurers increasingly ask about.
Common mistakes
| Mistake | What to do instead |
|---|---|
Jumping straight to p=reject | Monitor first; you’ll break legitimate mail you didn’t know about. |
SPF ending in +all | Use -all or ~all. +all authorises the whole internet. |
| Too many SPF includes | Stay under 10 lookups; prefer DKIM alignment for third-party senders. |
| Never reading reports | Use a tool that turns XML into a sender list and alerts you to spoofing. |
How Longstride helps
Point your rua= address at Longstride and the Inbox module builds your sender inventory automatically, flags spoofing, and tells you when it’s safe to step up each stage.