<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Look at fail2ban.<br>
Should be able to do that for you.<br>
<br>
Jan Hugo<br>
<br>
<br>
<div class="moz-cite-prefix">On 5/23/22 21:11, Lloyd Zusman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAK1LP6=PPcpd_yTEiDdjOuZ+jTpz5yYWCZE5L1RAsO073J0LMQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>I'm running dovecot 2.2.13 under Debian 8.</div>
<div>
<p>I'd like to force an immediate TCP socket disconnect after
any imap login attempt that fails.</p>
<p>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.</p>
<p>I haven't been able to find any <code>dovecot</code>
configuration setting which could control this behavior, but
I'm hoping that I just missed something.</p>
<p>Thank you very much for any suggestions.</p>
</div>
<div>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>-- <br>
<a href="mailto:hippoman@gmail.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">hippoman@gmail.com</a><br>
Take a hippopotamus to lunch today.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>