Adding an SPF record to all domains
Sago's own Pete E. found this one out:
There is apparently a Cpanel script that will add SPF (Sender Policy Framework) records to an account and to all domains in WHM.
/usr/local/cpanel/bin/spf_installer
However, there is a bug in it you should be aware of so if you use it read this article:
http://www.cpanelconfig.com/how-to/install-spf-records-on-a-cpanel-server/
After you edit the perl source to correct the bug (if needed in the version of the script, they will most likely update this soon) you can then add SPF records for all domains with
for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done
Wow - easy script true, but still very nifty.







