Skip to main content

Prevent cPanel Updates from Updating SPF?

Comments

4 comments

  • nixuser
    cPanel should not overwrite an existing dns record, ticketing them would be ideal on this case.
    0
  • Henry Carter
    Hi, As per Cpanel documentation The /usr/local/cpanel/scripts/enable_spf_dkim_globally script enables SPF and DKIM records for the specified users. If the system detects that a DKIM record exists for a domain, it will not update it. But If the system detects that an SPF record exists for a domain, it will update it. You can either move or update the permissions and then upgrade the panel versions so that this script will not update any DNS SPF records on zones.
    0
  • grabyourhosting
    I have contacted them. I guess /usr/local/cpanel/scripts/enable_spf_dkim_globally I should chmod it to 000 for now so that it will stop until they find a fix? Thank you.
    0
  • cPanelLauren
    Hello @grabyourhosting I was able to find the ticket in which you reported this issue and the findings of the analyst who worked on it were as follows: [QUOTE]Within the cPanel account for 'youruser', under the section 'Email Deliverability', there is an option to customize the SPF record. Here the IP '192.XXX.XXX.9' has been included as an Additional IP Address Blocks (IPv4). As an attachment, In order to prevent the domains SPF record from being updated on upcp runs, you simply need to remove this IP from the additional IP's.
    the enable spf globally script shouldn't need to be modified in this case all that should be done is remove that IP address from the additional IP blocks to include. Thanks!
    0

Please sign in to leave a comment.