Dovecot login is slow

Aki Tuomi aki.tuomi at dovecot.fi
Thu Jun 8 11:07:04 EEST 2017



On 07.06.2017 16:34, Mitocariu Emilian wrote:
> Hi,
>
> I have an Ubuntu 16.04 server with dovecot 2.2.22 configured as an imap
> server with an LDAP backend for authentication. This is the output of
> "dovecot -n":
> # 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf
> The problem i'm having is that when i try to login it takes more than 10
> seconds, making my webmail very slow. For testing i login to imap like this
> "openssl s_client -connect localhost:993" and sometimes i get this message
> "* OK Waiting for authentication master process to respond..". I saw at
> other people, one of the problem was because they didn't disabled pam
> authentication when using another backend (like ldap or sql), but i already
> did that.
>
> Does anyone know what could cause such long login times and how to fix it?

Does your LDAP take long time to respond?

Aki


More information about the dovecot mailing list