Skip to main content

Modify automatically generated SPF record

Comments

3 comments

  • cPanelMichael
    Hello :) The following file should still be active on your system: /usr/local/cpanel/Cpanel/SPF.pm
    Could you elaborate on the specific changes you made to this file that did not work? Thank you.
    0
  • optize
    Yep - that's the file. I've made the following changes to both references to this: my $mainip = "x.x.x.x"; #my $mainip = Cpanel::NAT::get_public_ip( Cpanel::DIp::getmainserverip() ); There was no impact to generating the SPF, it still used the main system IP. So, I tried changing $string as well to include an outbound statement. my $string = "v=spf1 +a +mx +include:outbound.xxxxxx.com +ip4:$mainip"; Again, no changes. I restarted cPanel after making those changes, is there anything else I need to do for this file to work correctly?
    0
  • optize
    I've also submitted a support ticket on this, but they told me to submit a feature request, they weren't able to help. Ticket 4408381
    0

Please sign in to leave a comment.