Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: Vinil on December 27, 2013, 09:21:15 pm

Title: Install DKIM and SPF in cPanel
Post by: Vinil 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