Enable DKIM on Cpanel Server

DKIM (DomainKeys Identified Mail) is a way to digitally sign your out going emails. This help prevent spam.

On Cpanel server, you can install for a site, run

/usr/local/cpanel/bin/dkim_keys_install CPANEL_USERNAME

If you want to enable DKIM on all sites on a cpanel server, run following as user root.

Advertisement

wget https://raw.githubusercontent.com/serverok/server-setup/master/cpanel/dkim-spf-all.sh
bash dkim-spf-all.sh

This will also enable SPF.

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement