SPF, DKIM and DMARC in cPanel: keep email out of spam

Gmail, Outlook and other providers check whether the server may send mail for your domain. For that the domain needs three DNS records: SPF, DKIM and DMARC.

  1. Open "Email Deliverability" (group "Email").
  2. Check the domain status. "Problems Exist" means a record is missing or wrong.
  3. Click "Manage" in the domain row.
Deliverability status of domains
Deliverability status of domains

The panel shows each record: what it should be and what is there now.

SPF, DKIM and DMARC records of a domain
SPF, DKIM and DMARC records of a domain

If the domain DNS is on the hosting

Click "Install The Suggested Record" for each record - the panel adds it to the zone. In a few minutes the status turns green.

If the domain DNS is elsewhere

The panel says it does not control the domain DNS. Copy the suggested records ("Copy") and add them where your DNS is hosted: the registrar, Cloudflare and so on. The record type is TXT.

RecordNameValue
SPFexample.comv=spf1 +a +mx +ip4:... ~all - value from the panel
DKIMdefault._domainkey.example.comlong key v=DKIM1; k=rsa; p=... from the panel
DMARC_dmarc.example.comv=DMARC1; p=none; - to start with

A domain must have only one SPF record. If you also send mail through another service (for example, newsletters), merge them into one record instead of adding a second one.

Questions and answers
Open "Email Deliverability" and fix the SPF, DKIM and DMARC records for the domain.
Copy the suggested records from cPanel and add them as TXT records at the registrar or in Cloudflare.
No. There must be one SPF record; put all allowed senders in it.