How to set up SPF and DMARC for your domain
Without SPF and DMARC, anyone can forge email from your domain for phishing. Set them up in the right order and move to enforcement.
Steps
- Publish an SPF TXT record listing your sending servers: v=spf1 include:<provider> -all.
- Enable DKIM signing at your email provider and add the DKIM record it gives you.
- Add a DMARC record at _dmarc starting at p=none with a rua reporting address.
- Review reports, then move DMARC to p=quarantine and finally p=reject.
How to verify
- dig TXT yourdomain.com shows the SPF record; dig TXT _dmarc.yourdomain.com shows DMARC.
- Test messages pass SPF, DKIM and DMARC in the headers.
FAQ
- Why start DMARC at p=none?
- To collect reports and confirm all legitimate mail passes before you tell receivers to quarantine or reject — otherwise you risk dropping your own email.
Have SkyShield check this for you
SkyShield finds this across every server and cloud account and shows the fix in plain words. Free for one server, then from $49 per server a month. Start free.