SPF, DKIM and DMARC prove that mail from your domain really comes from you. They protect your customers from forged messages and help your own mail reach the inbox. Our Mail Server plans include SPF and DKIM tools.
SPF: who may send
SPF is a TXT record on your domain that lists allowed senders. A simple example for a domain whose mail is sent by your mail server:
v=spf1 mx ip4:YOUR_SERVER_IP ~all
- mx allows the servers named in your MX records.
- ip4: allows your server address. Add ip6: too if you send over IPv6.
- ~all means other senders are suspicious. Move to -all (reject) when you are sure the list is complete.
A domain can have only one SPF record. If you also use a newsletter service, add it to the same record.
DKIM: a signature on every message
The server signs each outgoing message. You publish the public key as a TXT record, usually at a name like default._domainkey.yourdomain.com. In cPanel, the Email Deliverability page shows the exact record, and its Repair button can install the records for you when your DNS is on our servers.
DMARC: what to do when checks fail
DMARC is a TXT record at _dmarc.yourdomain.com:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
Start with p=none, which only collects reports. When reports show your own mail passes, move to p=quarantine, and later p=reject.
Test it
Send a message to a Gmail address, open it, and choose Show original. SPF, DKIM and DMARC should all say PASS.
Common mistakes
- Two SPF records on one domain.
- Forgetting a service that sends mail for you, such as a newsletter tool.
- Changing nameservers and losing the records. See MX records explained.
Need help? Contact us. For general tips, read why emails go to spam.

