Email Alert Setup for CSF

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/’.
Email Alert Setup for CSF

See Also:

  • Install CSF (ConfigServer Firewall) on Linux
  • Use of CSF Firewall in Linux
  • Block Countries using CSF Firewall On Linux
  • CSF Configuration Files in Linux
  • 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:


    Enjoy it !!

    No Responses

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

    The reCAPTCHA verification period has expired. Please reload the page.