Adding SPF records in bulk on cPanel

On a cPanel server you can create SPF records for all accounts at once over SSH with this command line:

for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done
Was this article helpful?