Reset SPF for most accounts excluding gsuite?
hi there
we are updating IP address for the hosting and we are doing the following for resetting SPF
however there are gsuite/zoho users within our dns and we like to do spf_installer for all users excluding gsuite/zoho
can someone guide ?
for u in `ls /var/cpanel/users` ;do echo "Installing SPF for user $u"; /usr/local/cpanel/bin/spf_installer $u "+ip4:xxx.xxx.xxx.xxx -all" 0 1 0; done
-
There's really no need to manually do this - using the IP Migration Wizard will automatically modify all instances of the old IP with the new one including SPF records. The documentation on this can be found here: Edit DNS Zone - Version 80 Documentation - cPanel Documentation 0 -
thanks for the notes, the reason we are manually doing this is because we like to add additional host ip, an additional backup exim on a 2nd cpanel to router the email as stand by. the 2nd IP is on a second Cpanel instead of the IP in the same server however , adding a new IP in the SPF using the installer reset those who MX pointed to external servers such as gsuite/zoho so we are wondering any helps possible 0 -
Hi @kinggekko You should be able to add to existing SPF records with the SPF installer - The spf_installer Script - Version 80 Documentation - cPanel Documentation 0
Please sign in to leave a comment.
Comments
3 comments