Page 1 of 1

Changing Address in Alert Template

Posted: 22 May 2009, 23:15
by Bobsie
Recently, my provider installed CSF on one of my linux-based WHM/cPanel VPS. This was done primarily to help track down heavy loads occurring on the server (I own the VPS but resell them to clients). I wanted to ensure that my VPS client received the heavy load alert messages in addition to myself.

I went into the CSF configuration in WHM and used the Edit Template on the loadalert.txt template. I changed it like this:

root,second address (no space after comma)
root, second address (space after comma)
new address

None of these work. The alert messages continue to go to root's address defined in WHM. It should be notied, the 'new address' is setup on my server to forward the message to my VPS client.

My VPS provider also looked at this issue and cannot figure out what to do. They stated:

"I believe it is a problem with the csf software. While the software may be designed to be able to send alerts to multiple different addresses, it does not appear to be working. I have looked though the csf configuration on your server, and I can see nothing that can be done that you have not already attempted to configure in your templates."

I am not trying to ger the software to send to multiple addresses any longer. I am just trying to get it to send to an address other than 'root'. The new address would then deliver to multiple addresses. I cannot get it to work.

Posted: 27 May 2009, 10:21
by chirpy
Try using adding a CC: field to the template instead

Posted: 27 May 2009, 17:02
by Bobsie
Thank you for the suggestion. I fixed the problem. I discovered the LF_ALERT_FROM and LF_ALERT_TO settings. I blanked them out so that I can customize the addresses in the templates themselves.