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
1 |
/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.
1 2 |
wget https://raw.githubusercontent.com/serverok/server-setup/master/cpanel/dkim-spf-all.sh bash dkim-spf-all.sh |
This will also enable SPF.