H
10Corp Premium Hosting

Email Deliverability: SPF, DKIM, and DMARC

Last Updated: March 2026 3 min read

Email Deliverability: SPF, DKIM, and DMARC

If emails sent from your hosting account end up in spam folders or are rejected entirely, you likely need to configure SPF, DKIM, and DMARC records. These DNS-based authentication mechanisms verify that emails are legitimately sent from your domain.

What Is SPF?

SPF (Sender Policy Framework) is a DNS TXT record that specifies which mail servers are authorized to send emails on behalf of your domain.

Example SPF record:

v=spf1 +a +mx +ip4:YOUR_SERVER_IP include:_spf.google.com ~all

How to set up SPF:

  1. Log into your DNS management (domain registrar or cPanel > Zone Editor).
  2. Create or edit a TXT record for your domain (@):
    • Name/Host: @ (or your domain name)
    • Type: TXT
    • Value: v=spf1 +a +mx ~all (basic; adjust based on your mail setup)
  3. Save the record.

Common SPF includes:

  • Hosting mail server: v=spf1 +a +mx ~all
  • Google Workspace: v=spf1 include:_spf.google.com ~all
  • Microsoft 365: v=spf1 include:spf.protection.outlook.com ~all

What Is DKIM?

DKIM (DomainKeys Identified Mail) adds a digital signature to outgoing emails, allowing the receiving server to verify the email wasn’t altered in transit.

How to set up DKIM:

  1. In cPanel, go to Email > Email Deliverability (or Authentication).
  2. Find your domain and click Manage or Repair.
  3. cPanel will display the DKIM record that needs to be added to your DNS.
  4. If DNS is managed in cPanel, it may be added automatically. If managed elsewhere, add the provided TXT record to your domain’s DNS.

The DKIM record typically looks like:

  • Name: default._domainkey (or similar selector)
  • Type: TXT
  • Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A... (long public key)

What Is DMARC?

DMARC (Domain-based Message Authentication, Reporting and Conformance) tells receiving mail servers what to do when SPF or DKIM checks fail. It also provides reporting on email authentication results.

How to set up DMARC:

  1. Add a TXT record to your DNS:
    • Name/Host: _dmarc
    • Type: TXT
    • Value: v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com

DMARC policy options:

PolicyBehavior
p=noneMonitor only — no action taken on failures (start here)
p=quarantineSend failing emails to spam folder
p=rejectReject failing emails entirely

Recommended approach: Start with p=none to monitor, then gradually tighten to quarantine and finally reject once you’re confident your legitimate emails pass authentication.

Checking Your Email Authentication

In cPanel:

  1. Go to Email > Email Deliverability.
  2. Review the status of SPF and DKIM for each domain.
  3. Click Repair to have cPanel auto-fix issues.

Online tools:

  • MXToolbox.com — Check SPF, DKIM, DMARC, and blacklist status
  • mail-tester.com — Send a test email and get a deliverability score
  • Google Admin Toolbox — Check DNS records

Troubleshooting Email Deliverability

  • Emails going to spam: Ensure SPF, DKIM, and DMARC are all configured correctly.
  • SPF failures: Make sure your SPF record includes all servers that send email for your domain.
  • Only one SPF record allowed: Merge multiple SPF entries into a single record using include: statements.
  • DKIM not signing: Verify DKIM is enabled in cPanel and the DNS record matches.
  • Check blacklists: Use MXToolbox to check if your server IP is on any email blacklists.

For email deliverability help, contact 10Corp support.

Tags: hosting email spf dkim dmarc dns deliverability

Still need help?

Our support team is available 24/7 to assist you.