CSF – CSF to send email notification?

CSF – CSF to send email notification?

In this tutorial, we will learn CSF – CSF to send email notification?

An wide range of settings are accessible in CSF configuration file. We have as of now talked about a lot of points related with CSF. Here I am talking about email alert setup for unapproved Login Failures and Port Scanning. In CSF predefined emails are put away under the location ‘/usr/local/csf/tpl/’.

See Also:

Enable/Disable Login Failures Email Alert

You can manage its by changing the value of the directive LF_EMAIL_ALERT in CSF configuration file.

# vim /etc/csf/csf.conf

Enable/Disable Port Scanning Email Alert

Similarly use the directive PS_EMAIL_ALERT to manage Port scanning email alerts.

# vim /etc/csf/csf.conf
1 – To enable
0 – To disable

After change in configuration file restart the CSF.

# csf -r

Login Failures and Port Scanning notices – Email alert setup for CSF

Some sample email templates are:


Was this Tutorial helpful? Help others share on Facebook, Twitter, and Google Plus!

Enjoyed this video?
CSF - CSF to send email notification?
"No Thanks. Please Close This Box!"