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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/scripts/enable_spf_dkim_globally - Question

Discussion in 'General Discussion' started by Arkaic, Feb 13, 2017.

Tags:
  1. Arkaic

    Arkaic Active Member

    Joined:
    Jun 23, 2015
    Messages:
    26
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Hey there,

    Where does the script "/scripts/enable_spf_dkim_globally" get the IP address to generate the SPF record?

    Is it from /etc/mailips or from the default IP of the server (as listed under Basic WebHost Manager Setup) or somewhere else?
     
  2. NOC_Serverpoint

    NOC_Serverpoint Well-Known Member

    Joined:
    Jul 3, 2016
    Messages:
    102
    Likes Received:
    6
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Hi,

    enable_spf_dkim_globally uses Cpanel::DnsUtils::AskDnsAdmin::askdnsadmin to parse keys in %$rform to find all dns zones of related to the request and determine user via Cpanel::AcctUtils::DomainOwner::getdomainowner.

    Thank you
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It automatically configures the correct SPF record by using the default IP address utilized by the server for sending email, or by using the account's dedicated IP address if it's configured in the /etc/mailips file.

    Thank you.
     
Loading...

Share This Page