How to Set Up SPF, DKIM and DMARC to Stop Emails Going to Spam

Business Email 1 min read Updated Oct 30, 2026

SPF, DKIM and DMARC prove to Gmail, Outlook and other providers that email from your domain is genuine. Without them, your messages are more likely to land in spam.

Good to know Menu names in this guide follow DirectAdmin’s default Evolution skin. If your dashboard uses a different layout (Grid, Sidebar or Refreshed), the same tools exist under the same names — use the search box at the top of DirectAdmin to jump straight to them.

SPF

SPF lists the servers allowed to send email for your domain. DirectAdmin normally creates one automatically. Check in Account Manager › DNS Management for a TXT record starting v=spf1.

v=spf1 a mx ip4:YOUR.SERVER.IP ~all

If you also send through another service (for example a newsletter platform), add its include: to the same record. A domain must have only one SPF record.

DKIM

DKIM adds a digital signature to your outgoing email. Look for a TXT record named x._domainkey in DNS Management. If it isn’t there, contact support at support@crowncityhost.com and we will enable DKIM for your domain.

DMARC

DMARC tells receiving servers what to do when SPF or DKIM checks fail. Add a TXT record named _dmarc. Start with monitoring only:

v=DMARC1; p=none; rua=mailto:you@yourdomain.com

Once reports show your legitimate email passing, you can move to p=quarantine and later p=reject.

⚠ Using an external DNS provider? If your nameservers are not ours, these records must be added at your DNS provider, not in DirectAdmin.

Frequently asked questions

How do I test if SPF and DKIM are working?

Send an email to a Gmail address, open it, and choose “Show original”. Gmail shows whether SPF, DKIM and DMARC passed.

Related articles

Still need help?

Our support team is here for you.

Email: support@crowncityhost.com

Open a ticket