Enable/Update the SPF records for all accounts on the server

Its been awhile since i’ve had time to post but I ran across this issue again and didnt have it noted previously so adding i for great justice now…

To enable SPF records for all accounts on the server:

Step I : Login to server as root.

Step II : Change the directory to /var/cpanel/users

# cd /var/cpanel/users

Step III : Execute the following;

for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done

Boom;done!

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.