Setup Email alert for ssh, port scan, excess process usage via CSF
First you need to edit the file /etc/csf/csf.conf and add your email address beside the entry LF_ALERT_TO
LF_ALERT_TO = "[email protected]"
To send an Email alert if an IP us blocked change LF_EMAIL_ALERT to 1 Buy default it will be 1
# Send an email alert if an IP address is blocked by one of the [*] triggers
LF_EMAIL_ALERT = "1"
Send an alert if log file flooding is detected which causes lfd to skip log
LOGFLOOD_ALERT = "0"
Send an email alert if anyone logs in successfully using SSH
LF_SSH_EMAIL_ALERT = "1"
Send an email alert if anyone accesses WHM/cPanel via an account listed
LF_CPANEL_ALERT = "1"
Send an alert email if more than LF_SCRIPT_LIMIT lines appear change to
LF_SCRIPT_ALERT = "0"
Send an email alert if an account exceeds LT_POP3D/LT_IMAPD logins per hour
LT_EMAIL_ALERT = "1"
Monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more for just $59
[sep][/sep][button size=”large” color=”green” title=”Server Management from iServersupport” link=”http://iserversupport.com/cpanel-server-management/”]Server Management at just $59[/button]