Alert Template Sent to CPanel User
Posted: 06 Aug 2014, 03:02
I'd like to edit the the following alert template in CSF to CC the contact email address listed in CPanel
/usr/local/csf/tpl/resalert.txt
I tried to add CC field as shown below but suspect this will just send to the default CPanel user on the domain cpaneluser @ serverhostname . com instead of their email address in CPanel > Contact Info.
==============================
From: root
To: root
CC: [user]
Subject: lfd on [hostname]: Excessive resource usage: [user] ([pid])
Time: [time]
Account: [user]
Resource: [resource]
Exceeded: [level]
Executable: [exe]
Command Line: [cmd]
PID: [pid]
Killed: [kill]
==============================
Any suggestions on how I can get this working? I know with CXS I can use a custom template and I can use "CC: [user]" which sends to the contact email address listed in CPanel. Seems like [user] for CSF is a bit different though.
/usr/local/csf/tpl/resalert.txt
I tried to add CC field as shown below but suspect this will just send to the default CPanel user on the domain cpaneluser @ serverhostname . com instead of their email address in CPanel > Contact Info.
==============================
From: root
To: root
CC: [user]
Subject: lfd on [hostname]: Excessive resource usage: [user] ([pid])
Time: [time]
Account: [user]
Resource: [resource]
Exceeded: [level]
Executable: [exe]
Command Line: [cmd]
PID: [pid]
Killed: [kill]
==============================
Any suggestions on how I can get this working? I know with CXS I can use a custom template and I can use "CC: [user]" which sends to the contact email address listed in CPanel. Seems like [user] for CSF is a bit different though.