The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

add SPF (all ips)

Discussion in 'General Discussion' started by saros, Mar 5, 2014.

  1. saros

    saros Active Member

    Joined:
    Aug 28, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    with the command:

    Code:
    /usr/local/cpanel/bin/spf_installer user
    
    I add the main IP as SPF...


    How do I add all my IPS with this command ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The SPF record configured by cPanel will use the main server IP address. This is by design. The use of "+a" and "+mx" in the SPF record accounts for the possibility the domain name is assigned a dedicated IP address.

    Thank you.
     
  3. saros

    saros Active Member

    Joined:
    Aug 28, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    http://forums.cpanel.net/f5/external-mail-server-spf-207622.html#post852381


    my $mainip = 'IP1,IP2,IP3' ????


    --------------------
    SPF dns record for external mail server or mail server on dedicated IP

    Does is possible to add another field under WHM >> Main >> Server Configuration >> Tweak Settings >> Mail , where we can enter (one or more) IP's that will be automatically added to SPF dns record when spf is enabled?

    Currently main problem is when SPF is enabled, SPF dns txt record is created only with main shared IP, but if we use one or more external mail servers we need manually add mail server IP's to the SPF record.

    One option under WHM tweak settings where we can add one or more IP's that will be automatically added to SPF record when is enabled will be very usefull. Not only for us but for everyone who runs mail server on the other IP than the main shared server IP.
     
    #3 saros, Mar 6, 2014
    Last edited: Mar 6, 2014
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page