Every new domain on a cPanel server should ship with SPF, DKIM, and DMARC published before the first message leaves the queue. In practice, half of the cPanel accounts we audit on takeover have one of three configurations: only SPF, SPF that lists three competing senders and exceeds the ten-lookup limit, or DKIM that was rotated on the server but never republished in DNS. Each of these silently degrades inbox placement.
What’s happening
SPF tells receivers which IPs may send for the domain. DKIM signs each outbound message with a private key whose public counterpart lives in DNS. DMARC tells receivers what to do when SPF or DKIM fails and where to send aggregate reports. cPanel can generate all three from the WHM Email Deliverability interface, but the defaults assume the server is the only sender. The moment Microsoft 365, Google Workspace, a transactional service like Postmark, or a marketing tool like Mailchimp also sends as the domain, the defaults are wrong.
How to verify
From the command line on the cPanel host:
whmapi1 get_domain_info domain=example.com
dig +short TXT example.com | grep spf
dig +short TXT default._domainkey.example.com
dig +short TXT _dmarc.example.com
For SPF lookup-count overflow, use any public SPF checker — anything above 10 DNS lookups fails the spec. For DKIM, confirm the selector in the message header (d= and s= in DKIM-Signature) matches a live DNS record. For DMARC, confirm the policy and that rua= points to a mailbox you actually read.
The fix
- SPF: list only the senders you actually use.
v=spf1 include:_spf.google.com include:spf.cpanel.example.com ~allis a typical shape. Use~all(softfail) while validating, then move to-all(fail) once delivery is clean. - DKIM: in WHM > Email Deliverability, enable DKIM per domain. cPanel will generate the key and offer the exact TXT record to publish. If DNS is external, copy it verbatim. Rotate annually; keep the old selector active for 48 hours during rotation.
- DMARC: start at
v=DMARC1; p=none; rua=mailto:dmarc@example.comfor one to two weeks. Review aggregate reports, fix every misaligned sender, then move top=quarantine, thenp=reject. - Add the BIMI record only after DMARC is enforcing — otherwise it does nothing.
For environments where this needs to stay correct across dozens of domains, Stack Harbor handles authentication as part of deployment management.