This article will show examples of how to add SPF records automatically to an existing customer(s) on your cPanel/WHM server.
/usr/local/cpanel/bin/spf_installer <username>
cd /var/cpanel/users for u in *;do echo "Installing SPF for user $u"; /usr/local/cpanel/bin/spf_installer $u; done