To enable SPF and DKIM for already created cPanel accounts :
Enabling this features in the DNS will increase the reputation of all emails sent out from that account (domain).
Please execute the following script to enable SPF and DKIM for all cPanel users from back end :
root@testing [~]#vi spfdkim.sh
#!/bin/bash
for username in `ls -A /var/cpanel/users` ; do
/usr/local/cpanel/bin/dkim_keys_install $username &&
/usr/local/cpanel/bin/spf_installer $username ; done
root@testing [~]chmod 744 spfdkim.sh
root@testing [~] ./spfdkim.sh
Thats all.