Skip to main content

Bulk add remote SPF record to accounts

Comments

3 comments

  • pwhjenny
    You can use command /usr/local/cpanel/bin/spf_installer with for loop. If you want to add custom values in spf record you can view different options you can use with this command.
    0
  • 24x7server
    Hi, You can add the SPF record using the script mentioned above or you can directly append the SPF record into the DNS zones server wide using a bash script. However, you have to make sure you are doing it properly because it may mess up things on the DNS zone if you choose too. In both the cases, you will have to use a bash shell script to do it serverwide...
    0
  • cPanelMichael
    Hello, The following document explains how to use the spf_installer script to replace all existing SPF records: The spf_installer Script - Documentation - cPanel Documentation You may also want to vote and add feedback to the following feature request: Configurable SPF default template + automatically include assigned IP to SPF (not just main shared IP) Some of the comments on this request offer advice on workarounds. Thank you.
    0

Please sign in to leave a comment.