diff --git a/cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 b/cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 index f4b68f9e..d8965343 100644 --- a/cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 +++ b/cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 @@ -194,6 +194,15 @@ service imap-login { process_min_avail = 10 } +service anvil { + # We are disabling anvil penalty on failed login attempts + # because it can only detect brute forcing by IP address + # not by username. As the correct IP address is not handed + # to dovecot anyway, it is more of hindrance than of use. + # See for details. + unix_listener anvil-auth-penalty { mode = 0 } +} + ssl = required ssl_cert =