Dovecot login is slow
Aki Tuomi
aki.tuomi at dovecot.fi
Thu Jun 8 11:20:54 EEST 2017
Can you try adding blocking=yes to your dovecot-ldap.conf.ext
Aki
On 08.06.2017 11:15, Mitocariu Emilian wrote:
> No, other servers use the same LDAP and the response is fast. The
> weird part is that this morning i played a little with the
> configuration, but in the end i came back to the settings i had
> previously and now it works better, but from time to time it still
> hangs a little
>
> On Thu, Jun 8, 2017 at 11:07 AM, Aki Tuomi <aki.tuomi at dovecot.fi
> <mailto:aki.tuomi at dovecot.fi>> wrote:
>
>
>
> 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