Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Reset SPF for most accounts excluding gsuite?

Discussion in 'E-mail Discussion' started by kinggekko, Jun 4, 2019.

  1. kinggekko

    kinggekko Registered

    Joined:
    Jun 4, 2019
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Malaysia
    cPanel Access Level:
    Root Administrator
    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
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kinggekko

    kinggekko Registered

    Joined:
    Jun 4, 2019
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Malaysia
    cPanel Access Level:
    Root Administrator
    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
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice