How to Change in Contact Manager

shamstarek

Member
Mar 17, 2013
9
0
1
cPanel Access Level
Website Owner
Hello everybody

I want to change on "Contact Manager" But not from whm
i need to edit it from SSH ,, I have access on more 10 server of my clients and i need to do this from terminal

so where is the file save this settings ?! :confused:
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

The following files can be modified to alter the email addresses normally configured in "WHM Home » Server Contacts » Edit System Mail Preferences" for "root" and "cpanel":
Code:
/root/.forward
/var/cpanel/userhomes/cpanel/.forward
Thank you.
 

shamstarek

Member
Mar 17, 2013
9
0
1
cPanel Access Level
Website Owner
Not found :/

root@server:~# ls -al /root/.forward
ls: cannot access /root/.forward: No such file or directory
root@server:~# ls -al /var/cpanel/userhomes/cpanel/.forward
ls: cannot access /var/cpanel/userhomes/cpanel/.forward: No such file or directory
??
 

quietFinn

Well-Known Member
Feb 4, 2006
2,040
550
493
Finland
cPanel Access Level
Root Administrator
I can create them .. but what are files content ?
As cPanelMichael told in his reply above:
"The following files can be modified to alter the email addresses normally configured in "WHM Home » Server Contacts » Edit System Mail Preferences" for "root" and "cpanel".
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
The alert priorities configured in the "Contact Manager" are not adjustable from the command line. Feel free to open a feature request for this via:

Submit A Feature Request

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Edited to update: You can update these values by editing the following files:

/var/cpanel/iclevels.conf > Alert Priority Assignment
/var/cpanel/clevels.conf > Alert Contact Priority Assignment

Thank you.
 

totalchoice

Member
PartnerNOC
Dec 28, 2004
9
1
153
Upon researching the issue, I found that the alert priorities configured in the "Contact Manager" are not saved in a file on the server. You must change the values via Web Host Manager.

Thank you.
We were presented with this same question from a client today and the information posted here is incorrect.
You can adjust the "Alert Priority Assignment" for Contact Manager via the file located at /var/cpanel/iclevels.conf

Code:
# cat /var/cpanel/iclevels.conf
Notice 3
cPHulk 1
checkperlmodules 3
cpbackup 2
disabledigest 3
hackcheck 1
ipcheck 2
kernelcheck 2
killacct 0
newmailcgi 3
oopscheck 1
parkadmin 0
rpmcheck 3
smartcheck 3
suspendacct 0
unsuspendacct 0
upacct 0
wwwacct 0
You can also adjust the "Alert Contact Priority Assignment" via /var/cpanel/clevels.conf

Code:
# cat /var/cpanel/clevels.conf
CONTACTAIM 0
CONTACTUIN 0
CONTACTEMAIL 1
CONTACTPAGER 0
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Thanks, I have updated the previous post to reflect this information.
 

totalchoice

Member
PartnerNOC
Dec 28, 2004
9
1
153
No problem.

Also note that if you don't see these files, it means you have never saved or altered the default settings. Just save the settings you want via WHM and then push out the files to as many servers as you like.