SPF, DKIM and DMARC in cPanel are set up in two places. To enable SPF and DKIM, open Email Deliverability in cPanel (Authentication in older versions) and click Enable for both. For DMARC, you add a TXT record named _dmarc from the Zone Editor. Together, the three help your emails reach the inbox instead of spam and protect your domain from spoofing.
What SPF, DKIM and DMARC do
| Protocol | What it checks |
|---|---|
| SPF (Sender Policy Framework) | Which mail servers are allowed to send email for your domain |
| DKIM (DomainKeys Identified Mail) | That the email was signed by your domain and was not altered on the way |
| DMARC (Domain-based Message Authentication, Reporting and Conformance) | What the recipient should do when the SPF and DKIM checks fail, and where reports are sent |
Why you need all three
- They raise the chance that your emails land in the inbox rather than the spam folder.
- They protect your domain from spoofing and phishing, meaning emails that others send using your address.
- Major email providers such as Google, Microsoft and Yahoo now consider them essential.
How to enable SPF and DKIM in cPanel
- Log in to cPanel.
- In the Email section, open Email Deliverability or, in an older version, Authentication.
- Find the SPF and DKIM options.
- Click Enable on whichever is disabled.
- Make sure both show as Enabled.
The same page also shows the raw SPF record used in DNS. When the domain's DNS is hosted on your hosting account, cPanel usually adds the correct records automatically. If your DNS is hosted with an external provider, you need to add them there manually.
How to add a DMARC record in cPanel
- In cPanel, under Domains, open the Zone Editor.
- Click Manage next to your domain.
- Click Add Record.
- Choose TXT Record.
- Fill in the fields as shown in the table below, with your own domain in place of
example.gr. - Save the record.
| Field | Value |
|---|---|
| Name | _dmarc.example.gr |
| TTL | 14400 or the default value |
| Type | TXT |
| Record | v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.gr |
What each DMARC parameter means
v=DMARC1is the protocol version.p=is the policy for emails that fail, with the valuesnone,quarantineorreject.rua=mailto:is the address that receives aggregate reports.ruf=mailto:is the address that receives detailed (forensic) reports. It is optional.fo=1asks for a report on any failed check. It is optional.
Which DMARC policy to choose
| Stage | What it does | Record |
|---|---|---|
| Testing | Monitoring only, no enforcement | v=DMARC1; p=none; rua=mailto:dmarc-reports@example.gr |
| Standard protection | Failing emails go to spam | v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.gr |
| Strict | Failing emails are rejected | v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.gr |
Start with p=none and move to reject only when you are sure that all your emails, including those external services send on your behalf, pass the SPF and DKIM checks.
How to check that they work
- Send an email from your account to a Gmail or Outlook address.
- Open the message on the recipient side and choose Show original or View source.
- Check that SPF and DKIM show as
pass.
Frequently Asked Questions
Why does SPF or DKIM show a failure?
The DNS record usually needs a fix. Open a support ticket and we will check it.
My DNS is with an external provider, why are the cPanel records not there?
The cPanel records are not published to an external provider automatically. Add them manually at your DNS provider.
Why does DMARC have no effect?
DMARC relies on the SPF and DKIM checks, so those must be enabled first.
Are SPF, DKIM and DMARC mandatory?
In practice, yes. Without them your emails are far more likely to end up in spam and your domain stays exposed to spoofing. DMARC also makes email scams that use your address harder to pull off.
Can I enable only SPF or only DKIM?
Technically yes, but it is not recommended. Reliable delivery and full protection need both.
Where do I see the DMARC reports?
At the address you set in rua (and in ruf, if you use it). For easier reading, you can process them with an online DMARC report analyzer.
Need help?
If the SPF or DKIM checks fail or you are not sure about your DMARC record, Open a support ticket from the Client Area and our support team will help you.