How to stop your emails going to spam (SPF, DKIM, DMARC)
Steps last checked on by the Shroti Host team
Short answer
Deliverability is mostly DNS. SPF and DKIM records tell the receiving side that your server is allowed to send for your domain. Without them, most large mail providers treat the message as suspicious whatever it says. cPanel's Email Deliverability screen shows what is missing and can repair it.
Before you start
Mailboxes hosted on your Shroti Host account. The repair button works for domains that use our nameservers. For DNS hosted elsewhere, you copy the records across by hand.
Steps
Step 1: In cPanel open Email Deliverability. It shows SPF and DKIM for each domain and offers to repair anything missing.
Step 2: If your domain's DNS is managed elsewhere, copy the records it shows into that DNS provider. The repair button can only fix records we host.
Step 3: Once SPF and DKIM pass, add a DMARC record: a TXT record named _dmarc, added in Zone Editor, starting with the policy p=none so nothing is rejected while you watch the reports.
Step 4: Send from a real mailbox at your own domain, never from a free address made to look like your domain. That fails SPF by design.
Step 5: Give it time after a DNS change, and avoid bulk sends from a new domain. Sender reputation builds slowly.
How to tell it worked
Send a test to a Gmail address, open the message and choose Show original. It says whether SPF, DKIM and DMARC passed. All three should say PASS.
If it did not work
- All three pass and mail still lands in spam: the cause is the content or the sender's reputation. Our guide to emails going to spam covers both.
- Website contact forms: send through authenticated SMTP with a real mailbox, not PHP's mail() function. Unauthenticated mail is what spam filters reject first.
When to contact support
If Email Deliverability keeps showing a problem after the records are in place, open a ticket with the domain name.
We never ask for a password, a card number or an OTP. Do not put one in a ticket or a chat.