This guide will show you how to disable LFD email alerts in cPanel. LFD, or Login Failure Daemon, is a Linux server software that checks system logs for failed login attempts. It sends an email alert to the server administrator when it detects a given number of failed login attempts from a specific IP address.
While LFD email notifications can be valuable for identifying possible security issues, they can also be overwhelming, resulting in an inbox clogged with irrelevant emails. Fortunately, cPanel makes it simple to stop LFD email alerts, allowing you to limit the quantity of email you receive while still keeping your server’s security.
We will walk you through the process of disabling LFD email notifications in cPanel step by step in this article. You’ll be able to follow along and switch off these notifications in no time if you’re a server administrator or a website owner with cPanel access. Well, let’s get this party started!
What is the LFD (Login Failure Daemon)?
Login Failure Daemon is a program that runs continuously (every second) and examines all login attempts against your server using log file entries, blocking all entries that fail after a short period of time. These types of attacks are often known as “Brute-Force Attacks”. The Daemon process runs every second and responds rapidly to these patterns, blocking any problematic IP addresses.
It is strongly advised to always enable the LFD (Login Failure Daemon) to protect your server and clients from further security breaches and assaults. You can disable LFD email alerts in cPanel by following the instructions below.
Steps to Disable LFD Email Alerts in cPanel
Follow these steps to disable LFD email alerts in cPanel:
Method 1 :
# COMMAND LINE :
First of all, we need to log into SSH.
Then we need to open the CSF configuration file & search for the directive ‘PT_USERMEM’.
# vi /etc/csf/csf.conf – for open csf config file
We found that the value of PT_USERMEM was set to 200.
To disable this feature we set it to 0.
We need to open the CSF configuration file & search LF_EMAIL_ALERT and set the value with 0.
# vi /etc/csf/csf.conf
Then we need to restart CSF & LFD alerts.
Method 2 :
#FROM WHM PANEL :
First we need to login in WHM
Then open ‘ConfigServer Security & Firewall’ under plugin section
Now we need to modify the value of directives PT_USERMEM & PT_USERTIME to 0
After that we need to save it.
First, we need to login into WHM
Then open ‘ConfigServer Security & Firewall’ under the plugin section
Now we need to click on the ‘Firewall Configuration’ button to modify the CSF configuration file.
Next, we search for ‘LF_EMAIL_ALERT’ & change it from ON to OFF
At last, we click on the ‘change’ button to save the changes.
After that, we need to restart CSF & LFD services.
When you disable LFD email alerts in cPanel, it can help reduce the amount of unnecessary emails you receive while still maintaining the security of your server. By following the steps outlined in this tutorial, you can easily turn off these alerts and customize your server’s security settings to better suit your needs.
Remember that while disabling LFD email alerts can be useful for reducing inbox clutter, it’s important to regularly monitor your server’s logs for any unusual activity. By staying vigilant and taking proactive security measures, you can help ensure the safety and stability of your website and server.
We hope that this tutorial has been helpful in showing you how to disable LFD email alerts in cPanel. If you have any questions or concerns, don’t hesitate to reach out to your server administrator or cPanel support for assistance. You can always contact us if you need any assistance from us. You can checkout more such informative blogs in our blog section.