cPanel Tips · 5 min read · Updated Nov 17, 2026

cPanel Email Deliverability: Fix SPF, DKIM & DMARC Spam Issues

Emails landing in spam? Learn how to set up SPF, DKIM, and DMARC records in cPanel to improve cPanel email deliverability and reach your subscribers' inboxes.

In this article
  1. Why cPanel Email Deliverability Matters
  2. Step 1: Set Up SPF (Sender Policy Framework)
  3. Step 2: Enable DKIM (DomainKeys Identified Mail)
  4. Step 3: Configure DMARC (Domain-based Message Authentication, Reporting & Conformance)
  5. Step 4: Verify Your Records
  6. Common Mistakes That Hurt cPanel Email Deliverability
  7. Beyond DNS: Other Factors for Email Deliverability
  8. Frequently Asked Questions
  9. Conclusion

If your emails consistently land in spam folders, the problem is often missing or misconfigured email authentication records. cPanel email deliverability depends on three DNS records—SPF, DKIM, and DMARC—that tell receiving servers your messages are legitimate. This guide walks you through setting them up correctly in cPanel, step by step.

Why cPanel Email Deliverability Matters

When you send email from your domain, receiving servers like Gmail and Outlook check authentication records to decide whether to trust your message. Without proper SPF, DKIM, and DMARC, your emails look suspicious and are more likely to be filtered as spam. Setting these records correctly improves your sender reputation and increases the chance your emails reach the inbox.

cPanel makes it relatively easy to manage these records, but many site owners skip the setup or use incorrect values. The result: newsletters, order confirmations, and password resets end up in spam—or never arrive at all.

Step 1: Set Up SPF (Sender Policy Framework)

SPF is a DNS TXT record that lists the servers authorized to send email for your domain. When a receiving server gets an email, it checks the SPF record to see if the sending server is allowed.

How to add an SPF record in cPanel

  1. Log in to cPanel and open Zone Editor (under Domains).
  2. Find your domain and click Manage or + Add Record.
  3. Add a TXT record with the name @ (or your domain) and a value like:
    v=spf1 include:_spf.yourhost.com ~all
  4. Save the record. If you already have an SPF record, edit it instead of adding a second one—multiple SPF records cause failures.

Tip: Use ~all (soft fail) while testing, then switch to -all (hard fail) once you're sure all legitimate senders are included. If you send through third-party services (e.g., Mailchimp, SendGrid), add their include statements.

Step 2: Enable DKIM (DomainKeys Identified Mail)

DKIM adds a digital signature to your outgoing emails. Receiving servers verify the signature using a public key published in your DNS. This proves the email was sent by you and hasn't been altered.

How to enable DKIM in cPanel

  1. In cPanel, go to Email Deliverability (under Email).
  2. Find your domain and click Manage.
  3. If DKIM is not enabled, click Enable next to DKIM. cPanel will automatically generate the keys and add the DNS record.
  4. If you manage DNS externally, copy the DKIM record shown and add it to your DNS provider.

Once enabled, cPanel displays the DKIM record. It may take up to 24–48 hours for DNS changes to propagate, though often it's much faster.

Step 3: Configure DMARC (Domain-based Message Authentication, Reporting & Conformance)

DMARC builds on SPF and DKIM. It tells receiving servers what to do when an email fails authentication and provides reports so you can monitor issues.

How to add a DMARC record in cPanel

  1. Open Zone Editor again.
  2. Add a TXT record with the name _dmarc and a value like:
    v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
  3. Start with p=none to monitor without affecting delivery. After reviewing reports, you can move to p=quarantine or p=reject.

Note: DMARC requires SPF or DKIM to pass. Make sure both are set up first.

Step 4: Verify Your Records

After adding the records, verify them using free tools like MXToolbox or dmarcian. Check that:

  • SPF record is valid and includes all sending sources.
  • DKIM record is published and matches the private key.
  • DMARC record is syntactically correct.

Also send a test email to a Gmail address and check the original message headers to see if SPF, DKIM, and DMARC pass.

Common Mistakes That Hurt cPanel Email Deliverability

  • Multiple SPF records: Only one SPF record per domain is allowed. Merge them.
  • Missing includes: If you send via a third-party service, add its include to your SPF.
  • Incorrect DKIM selector: cPanel uses a default selector; ensure the DNS record matches.
  • Ignoring DMARC reports: Reports show who is sending as your domain—review them regularly.
  • Not using authenticated SMTP: Always send through your cPanel mail server with authentication, not via PHP mail().

Beyond DNS: Other Factors for Email Deliverability

Authentication is essential, but content and sending practices also matter. Avoid spammy subject lines, use a consistent sending schedule, and clean your email list regularly. Also ensure your hosting environment is reliable—HostNeer's NVMe SSD hosting with LiteSpeed provides a stable platform for your email and website. If you're unsure about your hosting setup, check our guide to NVMe hosting for performance tips.

For new domains, consider starting with a small volume and gradually increasing to build reputation. And if you need to register a domain, you can search for your domain on HostNeer.

Frequently Asked Questions

Do I need all three records—SPF, DKIM, and DMARC—for good email deliverability?

Yes, using all three is strongly recommended. SPF and DKIM authenticate your emails, while DMARC tells receivers how to handle failures and gives you reporting. Together they significantly improve deliverability and protect your domain from spoofing.

How long does it take for DNS changes to take effect?

DNS propagation can take anywhere from a few minutes to 48 hours, depending on your TTL settings and DNS provider. Often, changes are visible within an hour.

Can I set up these records if my DNS is not managed by cPanel?

Yes. You can copy the SPF, DKIM, and DMARC values from cPanel's Email Deliverability and Zone Editor, then add them at your DNS provider. The process is similar, but you'll use their interface.

What if my emails still go to spam after setting up SPF, DKIM, and DMARC?

Check your content for spam triggers, ensure you're sending through authenticated SMTP, and review your domain's reputation. Also verify that your records are correct using online tools. Sometimes, building a positive sending history takes time.

Conclusion

Properly configuring SPF, DKIM, and DMARC in cPanel is the foundation of good email deliverability. Follow the steps above, verify your records, and monitor your DMARC reports. If you're looking for reliable hosting that supports these features out of the box, consider HostNeer's hosting plans—they include cPanel with easy access to email authentication tools, free SSL, and 24/7 support to help you along the way.

cPanelEmail DeliverabilitySPFDKIMDMARC

Related articles