How to ignore emails/messages sent by CSF/LFD

Many peoples would like to ignore messages sent by CSF/LFD. So, we're writing a tutorial to guide them. Let's start!
Suppose you're receiving the email:

Time:         Sun Jun  7 09:00:51 2020 +0000
Account:      ossecr
Resource:     Process Time
Exceeded:     942465 > 43200 (seconds)

Executable:   /var/ossec/bin/ossec-remoted
Command Line: /var/ossec/bin/ossec-remoted
PID:          6038 (Parent PID:6038)
Killed:       No

So, here's the executable & command line is "/var/ossec/bin/ossec-remoted". Now edit the file: "/etc/csf/csf.pignore" and add the following:

exe:/var/ossec/bin/ossec-remoted

And lastly, save the file and restart LFD service with the command:

service lfd restart

You've done it! Thanks for your attention and for reading the tutorial.

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

CSF command not found in cPanel/WHM server

CSF – Config server firewall is a firewall configuration tool for WHM/cPanel server. CSF is...

Fix False Downtime Reports of Your Server

Many of our clients are using uptimerobot to ensure the uptime status of their servers. Some of...

DDoS/DOS Prevention Settings in CSF firewall

Denial of Service (DoS) and Distributed Denial of Service (DDoS) attacks are common threats that...

Useful CSF SSH Command Line Commands

This article covers some useful ConfigServer Firewall (CSF) SSH command line commands in a "cheat...

How To Open Ports via WHM or Command Line

This article will explain how you can open ports for your server in CSF.Please be aware that...