Location of some config files

shazde

Active Member
May 19, 2014
29
0
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.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
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!