1) Login to Server as a root user.
2) Open the csf config file using the text editor like vi, vim.
vi /etc/csf/csf.config
3) Then find the following entries.
To change FTP login failed attempt value.
LF_FTPD = “10”
To change the value failure detection of SMTP AUTH connections.
LF_SMTPAUTH = “5”
To change login failure detection value of courier pop3 connections.
LF_POP3D = “5”
To change login failure detection value of courier imap connections
LF_IMAPD = “10”
To change login failure detection value of cPanel, webmail and WHM connections.
LF_CPANEL = “5”
4) Then save this config file after changing these values.
5) You have to restart csf and lfd services.
6) Flush CSF
csf -r
service csf restart.
service lfd restart.