Receive email notifications of successful login alerts only - CSF

Configuring  to stop receiving unwanted email notifications from CSF
First log onto ssh via putty.


1. Install nano on your server

  sudo yum install nano

2. After successfully installing nano type the following to get csf email related details.

  grep -ni email /etc/csf/csf.conf

3. Now you have to note the query number which was generated from the above query, and search the line number by issueing this command.

  nano -c /etc/csf/csf.conf

4. Go to line 1017 which says LF_EMAIL_ALERT = "1" and change it to


Login alert

5. Press the follwing to write into file

Ctrl + O

6. Exit by pressing the following.

Ctrl + X

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Install VNC client in a VPS server (linux)

Today we are going to install a VNC on our ubuntu server . VNC will give you a interface to work...

Get SMS Notifications

Requirements: - Android or iOS smartphone - A phone number - A server you wish to log the SSH...

Install Direct Admin On your VPS Server

Today we are going to install Direct Admin on our CentOS 7 server . Direct Admin is a popular...

Install Windows on a KVM Server

Today we are going to install Windows OS on our KVM VPSFirst log into VPS Control Panel and...

Configure IPv4 on a Windows Server

Today we are going to configure a IPv4 Address for your Windows OS so we can log through Remote...

Powered by WHMCompleteSolution