1

Is it possible to configure LFD in ConfigServer Security & Firewall for cPanels WHM to not block failed logins for e-mails? My legitimate users are being blocked more than hack attempts for e-mail accounts.

I've tried googling this but cannot find anything, and don't want to disable LFD entirely as I still want it to block all other types of failed login attempts.

Is there a configuration file that controls what LFD blocks for that can tell it not to block for e-mails?

Styphon
  • 213

1 Answers1

2

After looking in the configuration for something else I stumbled across the answer for this and thought I would leave the answer for someone else, should they ever need it. To change this modify the CSF config file and search for LF_SMTPAUTH. You can set this to 0 to disable it, or increase the number before a ban kicks in. You can also change LF_SMTPAUTH_PERM from 1 to a larger number to make it a temporary permanent ban for that number of seconds. I changed it to 20 attempts and 1800 (30 minutes).

Styphon
  • 213