Page 1 of 1
Seperate email address for reports
Posted: 12 Nov 2022, 04:03
by Dizasta
Hi guys,
How can I get the lfd blocked emails to go to a separate email address?
I have edited alert.txt and still they go to the default server address.
Thanks
Dizasta
Re: Seperate email address for reports
Posted: 12 Nov 2022, 08:38
by Sarah
Do you have anything set in LF_ALERT_TO in the firewall configuration? Did you restart csf and lfd?
Re: Seperate email address for reports
Posted: 13 Nov 2022, 08:19
by Dizasta
Emails are coming through fine.
I just want the emails that advise that an ip has been blocked to go to a different email address to the default.
This was working on a previous server, but I cannot recall where I made the change to that email to have it go to the new address.
I have edited the template at Edit /usr/local/csf/tpl/alert.txt
with my alternate email address and still the messages go to the default address.
Re: Seperate email address for reports
Posted: 13 Nov 2022, 08:52
by Sarah
IF there is anything set in LF_ALERT_TO, it will override what is in the templates.
Re: Seperate email address for reports
Posted: 13 Nov 2022, 11:40
by Dizasta
aha.
Thanks got it. Now works