Seperate email address for reports

Post Reply
Dizasta
Junior Member
Posts: 6
Joined: 19 Oct 2022, 12:47

Seperate email address for reports

Post 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
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Re: Seperate email address for reports

Post by Sarah »

Do you have anything set in LF_ALERT_TO in the firewall configuration? Did you restart csf and lfd?
Dizasta
Junior Member
Posts: 6
Joined: 19 Oct 2022, 12:47

Re: Seperate email address for reports

Post 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.
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Re: Seperate email address for reports

Post by Sarah »

IF there is anything set in LF_ALERT_TO, it will override what is in the templates.
Dizasta
Junior Member
Posts: 6
Joined: 19 Oct 2022, 12:47

Re: Seperate email address for reports

Post by Dizasta »

aha.

Thanks got it. Now works
Post Reply