Skip to main content

Adding new outgoing mailserver IP to all SPF records

Comments

2 comments

  • cPanelMichael
    Hello @drinky, Yes, the following script takes into account the IP address configured in the /etc/mailips file:
    /usr/local/cpanel/bin/spf_installer
    Here's a command you could use to update the SPF records for all accounts to the default TXT entry for the new IP address:
    for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done
    Related Documentation: The spf_installer Script - Documentation - cPanel Documentation Thank you.
    0
  • drinky
    Thanks heaps Michael!
    0

Please sign in to leave a comment.