i've upgraded dovecot on my server to 2.3.9 works properly but saslauthd that uses it for rimap authentication over 127.0.0.1 works SLOW. You need to wait 15-20 seconds before authentication. only imap login over 127.0.0.1 is slowed down, while over any other IP is quick. i had this problem with older version of dovecot but it was about adding login_trusted_networks = 127.0.0.1 but i already have this and logins is slow. how to disable throttling (or better - put other limits) for 127.0.0.1?
> On 16/12/2019 16:54 Wojciech Puchar <wojtek at puchar.net> wrote: > > > i've upgraded dovecot on my server to 2.3.9 > > works properly but saslauthd that uses it for rimap authentication over > 127.0.0.1 works SLOW. You need to wait 15-20 seconds before > authentication. > > only imap login over 127.0.0.1 is slowed down, while over any other IP is > quick. > > i had this problem with older version of dovecot but it was about adding > login_trusted_networks = 127.0.0.1 > > but i already have this and logins is slow. > > how to disable throttling (or better - put other limits) for 127.0.0.1?Can you turn on auth_debug=yes and provide logs? Aki
* Wojciech Puchar, 16.12.19 15:54> i've upgraded dovecot on my server to 2.3.9 > > works properly but saslauthd that uses it for rimap authentication over 127.0.0.1 works SLOW. You need to wait 15-20 seconds before authentication. > > only imap login over 127.0.0.1 is slowed down, while over any other IP is quick. > > i had this problem with older version of dovecot but it was about adding > login_trusted_networks = 127.0.0.1 > > but i already have this and logins is slow. > > 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" HTH, Thomas
>> 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?