Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    2

    Default SPF does not update IP address automatically

    Hi All,

    I believe this is more of a concept/design bug (thus, must be fixed) rather than a feature request, but since Greg Kuiper suggested me to post here, so here it is..

    SPF ip4 parameter is not updating automatically when "Automatically send outgoing mail from the account's IP address instead of the main IP address." option is enabled in WHM. I guess there is 1 step missing from this automatic option.

    How to reproduce: Create a new user account, assign this account to a shared IP, enable SPF on this account, enable "Automatically send outgoing mail from the account's IP address instead of the main IP address." in WHM's Exim Configuration, change site's IP address on that newly created account to a dedicated IP. The SPF record will still show the old IP instead of the new one.

    By the time the outgoing IP for a particular domain has been changed, SPF should change automatically too, otherwise this is considered as an invalid behavior. SPF-checking mail servers would find the SPF record invalid as the advertised "allowed IP address" does not match anymore, therefore failing SPF check.

    "Additional Ip blocks for your domains (IP4)" on the cPanel's Email Authentication page is also wrong. I guess this is the source of the issue because it says: "The main server interface ip cannot be removed from this list if it is present. The following ip is the main server interface ip: W.X.Y.Z", so I assume the SPF record template grabs the IP from there.

    What do you guys think?
    Last edited by andryangouw; 06-26-2010 at 09:43 AM.

  2. #2
    Member
    Join Date
    Jul 2006
    Posts
    60

    Default

    Hello,
    i changed the IP of more than 100 websites... how to change the SPF record of all dns records with the new IP? not by hand
    Thanks.

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by andryangouw View Post
    Hi All,

    I believe this is more of a concept/design bug (thus, must be fixed) rather than a feature request, but since Greg Kuiper suggested me to post here, so here it is..

    SPF ip4 parameter is not updating automatically when "Automatically send outgoing mail from the account's IP address instead of the main IP address." option is enabled in WHM. I guess there is 1 step missing from this automatic option.

    How to reproduce: Create a new user account, assign this account to a shared IP, enable SPF on this account, enable "Automatically send outgoing mail from the account's IP address instead of the main IP address." in WHM's Exim Configuration, change site's IP address on that newly created account to a dedicated IP. The SPF record will still show the old IP instead of the new one.

    By the time the outgoing IP for a particular domain has been changed, SPF should change automatically too, otherwise this is considered as an invalid behavior. SPF-checking mail servers would find the SPF record invalid as the advertised "allowed IP address" does not match anymore, therefore failing SPF check.

    "Additional Ip blocks for your domains (IP4)" on the cPanel's Email Authentication page is also wrong. I guess this is the source of the issue because it says: "The main server interface ip cannot be removed from this list if it is present. The following ip is the main server interface ip: W.X.Y.Z", so I assume the SPF record template grabs the IP from there.

    What do you guys think?
    As seen in the applicable DNS zone, what is the exact SPF record that was created via cPanel?

  4. #4
    Registered User
    Join Date
    Jun 2010
    Posts
    2

    Default

    Hi Don,

    The SPF record is set to the main shared IP instead of the new dedicated IP. Please check ticket id 733513 for more information.


    Regards,
    Andryan

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by andryangouw View Post
    Hi Don,

    The SPF record is set to the main shared IP instead of the new dedicated IP. Please check ticket id 733513 for more information.

    Regards,
    Andryan
    It is normal for the main server IP address to always be specified in the SPF record that is setup by cPanel; the dedicated site IP address, if any is assigned, is accounted for by the A and MX records. For additional reference, please see the following post: cPanel Forums - View Single Post - Spam for same email

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 07-21-2011, 05:10 AM
  2. Replies: 2
    Last Post: 05-06-2010, 10:19 AM
  3. SPF not working after update
    By mennis309 in forum E-mail Discussions
    Replies: 3
    Last Post: 01-21-2009, 03:06 PM
  4. Automatically active domainkeys and spf record
    By stormrider in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-16-2008, 10:43 PM
  5. every night cpanel update 'Mail::SPF' ?
    By Tymsah in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-18-2007, 09:39 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube