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!

Location of some config files

Discussion in 'General Discussion' started by shazde, Mar 15, 2018.

  1. shazde

    shazde Active Member

    Joined:
    May 19, 2014
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    We are trying to automate whm process and customization at our end and for that I need to the location of the following configuration files:

    1. Config files for DNS cluster
    2. Config file where we can set whm "Update Prefernece"
    3. Config files to setup backup
    4. Server timezone (does it use centos timezone or it has its own internal config file)
    5.A config file where we can set "Apache SpamAssassin™: Forced Global ON: on"


    Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,966
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    1. This information is available on the following thread:

    Add a new DNS cluster using commandline

    2. The update preferences are stored in /etc/cpupdate.conf.

    3. The backup configuration settings are stored in /var/cpanel/backups/config.

    4. Here's a third-party URL on how to manage your system's time at:

    How To Change Timezone on a CentOS 6 and 7 - nixCraft

    Note that for the system to reflect the change in the cPanel and WHM interfaces, you must restart the cpservd daemon. To do this, run the following command as the root user:

    Code:
    service cpservd restart
    5. This setting is stored as "globalspamassassin=1" in /etc/exim.conf.localopts, and also stems from an empty touch file at /etc/global_spamassassin_enable. Additionally, you'd need to use the following command after adding or changing the value:

    Code:
    /scripts/buildeximconf
    Let us know if you have any additional questions.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice