How to add SPF and DKIM using cpanel script ?

kumkumsharma

Administrator
Staff member
Every cpanel server has default script to enable SPF and DKIM record. You can run command to enable these scripts. DKIM and SPF records are used to enhance your domain reputation.

DKIM record stands for Domain Keys Identified Mail. It contains Encryption Key and digital signature which helps in identify that the mail is not altered.

SPF stands for Sender Policy Framework and it contains IP address of sender for particular domain.

You can enable SPF for single account with below command:

Code:
# /usr/local/cpanel/bin/spf_installer $username
Here you have to use your username instead of $username:

Code:
# /usr/local/cpanel/bin/dkim_keys_install $username
You have to use your username instead of $username.

Above commands will help you to enable email authentication.
 
Top