slow logins over login_trusted_network
Wojciech Puchar
wojtek at puchar.net
Mon Dec 16 19:04:34 EET 2019
>> how to disable throttling (or better - put other limits) for 127.0.0.1?
>
> https://wiki2.dovecot.org/Upgrading/2.3 - look for "Localhost Auth Penalty"
>
that's certainly this.
but i am not an expert in this passdb system
my current config is
passdb {
driver=passwd-file
args= username_format=%Lu /usr/local/etc/dovecot/aliasy
}
passdb {
driver = pam
# [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
# [cache_key=<key>] [<service name>]
#args = dovecot
}
userdb {
# <doc/wiki/AuthDatabase.Passwd.txt>
driver = passwd
# [blocking=no]
#args =
# Override fields from passwd
#override_fields = home=/home/virtual/%u
}
where /usr/local/etc/dovecot/aliasy is a list of e-mail names to user
account names like this
wojtek at puchar.net:::::::user=puchar-wojtek
how to properly do this?
More information about the dovecot
mailing list