Disable email notifications like "lfd on vps: blocked ip..."

Started by changlee, April 10, 2020, 07:00:53 AM

Previous topic - Next topic

changlee

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.
You may use our FREE SMTP Newsletter APP at https://www.emailbat.com

ejsolutions

Quote from: 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.
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.

changlee

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?
You may use our FREE SMTP Newsletter APP at https://www.emailbat.com

changlee

Is there any global solution for these emails? We are receiving hundreds of this for each VPS.
Should we receive every that notification?
You may use our FREE SMTP Newsletter APP at https://www.emailbat.com

mENT_au

Quote from: ejsolutions on April 10, 2020, 08:59:55 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"