Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Install DKIM and SPF in cPanel  (Read 4108 times)

0 Members and 1 Guest are viewing this topic.

Vinil

  • Guest
Install DKIM and SPF in cPanel
« on: December 27, 2013, 09:21:15 pm »
The following scripts are used to enable DKIM and SPF records:

Quote
Enable DKIM

/usr/local/cpanel/bin/dkim_keys_install <username>



Enable SPF

/usr/local/cpanel/bin/spf_installer   <username>


If you wish to add DomainKeys and SPF for all Cpanel users on your server, execute following command.

Code: [Select]
for user in `ls -A /var/cpanel/users` ; do

/usr/local/cpanel/bin/dkim_keys_install $user  &&

/usr/local/cpanel/bin/spf_installer $user ; done