Skip to main content

rebuild spf records

Comments

3 comments

  • cPanelMichael
    Hello :) There are no options to remove all existing SPF records, but you can overwrite them. Try using a command such as:
    for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i 0 1 0 ;done
    You will still receive the output that suggests it fails, but that's simply for the invalid users in the output. Review the zones after the command completes and they should reflect the proper SPF records. Thank you.
    0
  • urgido
    Thanks for your reply but my commands are fine I just need to wait for command prompt again. This was solved by support ticket to cPanel's team. And there is an option to uninstall ( Ryan Berding ): # cd /var/cpanel/users # for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_uninstaller $i ;done # for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done The clue: It should return back to a regular command prompt when finished.
    0
  • cPanelMichael
    I am happy to see that solution is helpful. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.