Configuring SPF and DKIM records in cPanel

In this article I will give an example of how to configure SPF and DKIM in cPanel/WHM.

This is done very easily and automatically, just open the WHM panel, select “Enable DKIM/SPF Globally” in the menu “DNS functions” and click “Proceed >>”, this will automatically create TXT records for all domains in the local DNS server settings. Existing DKIM records remain unchanged. The process will last in the background, so you need to wait, the logs will be saved to the file /usr/local/cpanel/logs/error_log.

Just below in the menu “Edit DNS zone” you can see the added records. I note that at the time of generation DKIM/SPF can not edit DNS records.

You also need to add these DKIM/SPF records in the DNS server settings at the domain name registrar.

At the end of the settings in the cPanel, in the “Email” block, open “Email Deliverability” and see if there are any errors.

See also my articles:
How to configure SPF records
How to add DKIM record for iRedMail
How to add DKIM record
How to add DMARC record

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a comment

Leave a Reply