23 May
2022
23 May
'22
11:23 p.m.
Look at fail2ban. Should be able to do that for you.
Jan Hugo
On 5/23/22 21:11, Lloyd Zusman wrote:
I'm running dovecot 2.2.13 under Debian 8.
I'd like to force an immediate TCP socket disconnect after any imap login attempt that fails.
Right now, if invalid credentials are supplied during an imap login, the client can keep retrying logins with different credentials. However, I want to prevent that from occurring by causing the socket connection to be closed as soon as there is any failed login attempt.
I haven't been able to find any |dovecot| configuration setting which could control this behavior, but I'm hoping that I just missed something.
Thank you very much for any suggestions.
-- hippoman@gmail.com Take a hippopotamus to lunch today.