SPF, DKIM and DMARC explained Print

  • deliverability, spf, dns, dmarc, dkim
  • 0

SPF, DKIM and DMARC are DNS records that prove your email really comes from you. Without them, mail you send is much more likely to land in spam folders or be rejected entirely, especially at Gmail, Outlook.com and Yahoo.

What each record does

Record What it does
SPF Lists which servers are allowed to send email for your domain.
DKIM Adds a digital signature to each message so the receiver can confirm it wasn't changed along the way.
DMARC Tells receiving servers what to do if a message fails SPF and DKIM checks, and where to send reports.

Checking your records in cPanel

  1. Log into cPanel.
  2. Under Email, click Email Deliverability.
  3. Find your domain in the list. If it shows Valid, you're all set. If it shows Problems Exist, click Manage.

If your DNS is hosted with 247-Host

Click Repair next to the DKIM and SPF records. cPanel will create or fix them for you.

If your DNS is hosted elsewhere (for example, Cloudflare or your registrar)

The Manage page shows the exact SPF and DKIM records you need. Copy each one and add it as a TXT record at your DNS provider, using the name and value shown.

Only one SPF record per domain. If you send email through other services as well (for example, Microsoft 365, Google Workspace, Mailchimp or your accounting software), they all need to be combined into a single SPF record. Having two separate SPF records causes both to fail. Contact support if you're not sure how to combine them.

Adding a DMARC record

cPanel doesn't create DMARC automatically. To add one:

  1. In cPanel, go to Zone Editor (or your external DNS provider).
  2. Add a TXT record with:
    • Name: _dmarc.yourdomain.com
    • Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
  3. Save the record.

Replace dmarc@yourdomain.com with an address where you want to receive reports. The p=none setting is the safe starting point: it only monitors and doesn't affect delivery.

Once you've confirmed all your legitimate mail passes, you can tighten the policy to p=quarantine (send failures to spam) or p=reject (block failures).

Still landing in spam?

Valid SPF, DKIM and DMARC records are required, but they don't guarantee inbox delivery. Providers also look at message content, sending volume and how recipients interact with your mail. If your mail still lands in spam after your records show as valid, open a support ticket and include a copy of a message with full headers.


Was this answer helpful?

« Back