Control Web Panel

Security => CSF Firewall => Topic started by: changlee on April 10, 2020, 07:00:53 AM

Title: Disable email notifications like "lfd on vps: blocked ip..."
Post by: changlee on April 10, 2020, 07:00:53 AM
Hello,
Can you please advise on HOW TO TURN OFF in CWP the following email notifications with subject:

lfd on vps: blocked 123.456.789.123 (Location/-)

I receive it every two minutes.

Thank you in advnace.
Title: Re: Disable email notifications like "lfd on vps: blocked ip..."
Post by: ejsolutions on April 10, 2020, 08:59:55 AM
Hello,
Can you please advise on HOW TO TURN OFF in CWP the following email notifications with subject:

lfd on vps: blocked 123.456.789.123 (Location/-)

I receive it every two minutes.

Thank you in advnace.
It's documented and obvious in the csf.conf file. The official CSF GUI makes it even easier, if it's available to you.
DNA's repost of awsmonster documentation appears to spell things out for you, too.
Title: Re: Disable email notifications like "lfd on vps: blocked ip..."
Post by: changlee on June 11, 2020, 05:53:28 AM
I have try anithing and I am receiving every hour hundreds of email notifications.

I also whitelisted them in firewall by adding in the file: /etc/csf/csf.pignore

exe:/usr/local/bin/php-cgi

Why you are not specifing?
Title: Re: Disable email notifications like "lfd on vps: blocked ip..."
Post by: changlee on June 22, 2020, 08:22:21 AM
Is there any global solution for these emails? We are receiving hundreds of this for each VPS.
Should we receive every that notification?
Title: Re: Disable email notifications like "lfd on vps: blocked ip..."
Post by: mENT_au on October 23, 2024, 01:23:35 AM
It's documented and obvious in the csf.conf file. The official CSF GUI makes it even easier, if it's available to you.
DNA's repost of awsmonster documentation appears to spell things out for you, too.

Yes, very helpful. Obvious to you, maybe. not the person asking the question.
Official SCF GUI? in CWP? you mean the ugly-ass, unintuitive page with a stack of vertical blue buttons? lol.

anyway, for anyone still experencing this issue, i found this worked for me:

in cwp admin, search for csf
click on "CSF Firewall" in the search results
click "Firewall Configuration"
scroll roughly 1/3 down the text file and look for the headding "# SECTION:Reporting Settings"
first setting under that headding should be "LF_ALERT_TO" - remove the email address/s you no longer want alerted
save
go back to the "Firewall Configuration" page and click "Firewall Restart"