SMTP

----------------------------------

SMTP configure CSF

# csf.conf

SMTP_BLOCK = "1"

SMTP_ALLOWLOCAL = "1"

SMTP_REDIRECT = "0"

SMTP_PORTS = "25,465,587"

SMTP_ALLOWUSER = ""

SMTP_ALLOWGROUP = "mail,postfix,postdrop,mailman"

SMTPAUTH_RESTRICT = "1"

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.

csf -r

--------------------