Change firewall email alerts
I am attempting to change the email address where the "HG:DED lfd" email addresses get mailed to but am not finding them anywhere within the system. I have LF_ALERT_TO sent to my email address and my email address set up in Edit System Mail Preferences, and yet they are still going to the wrong email address. Where am I missing this setting? Thank you
-
Guess you restarted CSF after the change of LF_ALERT_TO :rolleyes: 0 -
@efanning - it's important to note that cPanel doesn't provide support for the CSF/LFD firewall, as that isn't something we create or distribute. As @quietFinn mentioned, you would want to restart CSF with the "csf -r" command after making any changes to that configuration on the command line. 0 -
@quietFinn - I did, several times. @cPRex - Thank you, I did not realize that. I guess this could be closed then. Thank you 0 -
We may still be able to help, I just wanted that to be known before we got too deep :D When you say it's going to the "wrong" email address, it's being sent to somewhere different than the address you have configured in the WHM >> Basic WebHost Manager Setup page? 0 -
I forgot about that page, but after checking, yes. They are going to alerts@mydomain.com rather than efanning@mydomain.com. I have checked everywhere that I am aware of and cannot find that email address being used at all. Now, alerts was fine, but we're redoing some things and need to change that address. 0 -
Here's the relevant configuration option from the /etc/csf/csf.conf file: ############################################################################### # SECTION:Reporting Settings ############################################################################### # By default, lfd will send alert emails using the relevant alert template to # the To: address configured within that template. Setting the following # option will override the configured To: field in all lfd alert emails # # Leave this option empty to use the To: field setting in each alert template LF_ALERT_TO = ""
Do you have anything specified in that area of the file?0
Please sign in to leave a comment.
Comments
6 comments