[Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

SATOH Fumiyasu fumiyas at osstech.jp
Wed May 23 19:01:25 EEST 2012


Hi,

I'm using Dovecot 2.1.6 and LDAP server as a backend for
Postfix SMTP-Auth (SASL) on Debian GNU/Linux (wheezy),
Solaris 10 and AIX 6.1/7.1.

If Dovecot passdb is configured with LDAP (no TLS/SSL),
it is no problem. But if Dovecot passdb is configured with
LDAPS (or LDAP+TLS), Dovecot auth process has a problem
that Dovecot auth delays exiting about between 20 and
60 seconds when Dovecot dovecot (master) process is already
terminated by an administrator.

Is this known problem?

On AIX, this problem prevents restart Dovecot service by
the following error:

May 24 00:42:03 build-aix6 mail:warn|warning dovecot: master: Warning: Killed with signal 15 (by pid=11337890 uid=0 code=kill)
May 24 00:42:10 build-aix6 mail:err|error dovecot: master: Error: service(auth): Socket already exists: /opt/osstech/var/run/dovecot/auth-login
May 24 00:42:11 build-aix6 mail:crit dovecot: master: Fatal: Failed to start listeners

My Dovecot 2.1.6 platforms are:

  * Debian GNU/Linux wheezy + OpenLDAP 2.4.28 (linked with GNU TLS 2.12.18)
  * Solaris 10 + OpenLDAP 2.4.26 (linked with OpenSSL 0.9.7)
  * AIX 6.1 + OpenLDAP 2.4.31 (linked with OpenSSL 1.0.0)
  * AIX 7.1 + OpenLDAP 2.4.28 (linked with OpenSSL 1.0.0)

Because I see the problem on the all of above, there is a
bug in Dovecot 2.1.6, I think.

Thanks.

-- 
-- Name: SATOH Fumiyasu (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- Personal Home: http://www.SFO.jp/blog/



More information about the dovecot mailing list