This document contains information to verify and activate DKIM, SPF, and DMARC on your domain from cPanel, so that your emails arrive in the inbox and not in spam.
DKIM (DomainKeys Identified Mail) adds a digital signature to each email you send. The receiving server looks up the public key in your domain's DNS and verifies that the message actually originated from your domain and that no one modified it along the way. cPanel automatically activates it on every domain.
What is it for?
- Prevent your emails from arriving in the spam folder.
- Make it difficult for others to send fake emails on behalf of your domain.
- Meet the requirements of Gmail, Outlook, and Yahoo, which demand authenticated domains.
DKIM works together with two other records:
- SPF: indicates which servers can send email with your domain.
- DMARC: tells the recipient what to do if an email fails SPF or DKIM checks.
Access: log in to cPanel from the client portal → Log in to cPanel, or at https://yourdomain.com/cpanel. Then open Email → Email Deliverability. The old Email Authentication option no longer exists.
Verify DKIM and SPF
- The screen lists your domains with their status. If everything is fine, Valid appears.
- If a problem appears, click Manage next to the domain to see the details of DKIM, SPF, and the reverse DNS (PTR).
- If the domain uses the hosting DNS, click Repair and cPanel automatically fixes the records.
Important: if the domain's DNS are at another company, for example at the registrar or at Cloudflare, cPanel cannot repair them. In Manage you will see the suggested DKIM records (default._domainkey) and SPF: copy them as they are into that company's DNS panel.
Add DMARC
cPanel does not create DMARC automatically. To add it:
- Open Domains → Zone Editor and click Manage next to the domain.
- Add a TXT record with the name
_dmarc.yourdomain.comand this value:v=DMARC1; p=none; rua=mailto:postmaster@yourdomain.com - Save the record.
With p=none emails are not blocked and you receive reports in the indicated inbox. When you confirm that all your legitimate mail passes the checks, you can change the policy to p=quarantine.
Frequent problems
- My emails arrive in spam: check that DKIM and SPF appear as valid and add DMARC. If you send from another service, like a mailing system, it also has to be included in the SPF.
- I repaired the records and an error still appears: DNS changes can take a few hours to propagate.
- The Repair button does not appear: the domain uses external DNS. Copy the suggested records in your DNS provider's panel.
- I have two SPF records: there can only be one per domain. Merge them into a single record.
- It shows an error in the reverse DNS (PTR): support manages it, it is not modified from your account. Open a ticket if it persists.
If your emails still arrive in spam with valid records, open a ticket from the client portal or consult through the site's online chat.
