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

    May 19, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    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"

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    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:

    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:

    Let us know if you have any additional questions.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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