[Dovecot] Dovecot-ldap doesnt reconnect if openldap restarts
listuser at peternixon.net
Tue Nov 7 11:43:04 UTC 2006
On Tue 07 Nov 2006 13:35, Peter Nixon wrote:
> On Sat 04 Nov 2006 13:16, Timo Sirainen wrote:
> > On Fri, 2006-11-03 at 16:35 +0200, Peter Nixon wrote:
> > > However, I am seeing that dovecot-ldap doesnt reconnect if openldap
> > > restarts. Is there an options I am missing or is this a know problem?As
> > > I am using dovecot for sasl with postfix and pop/imap this basically
> > > completely stops my mail sytem...
> > What messages do you see in Dovecot's log files? As far as I know the
> > reconnection code should be working, at least for most people.
> Hi Timo
> Here is postfix's log after ldap is restarted:
> Nov 7 11:30:45 padme postfix/smtpd: TLS connection established from
> unknown[x.x.x.x]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
> Nov 7 11:30:56 padme postfix/smtpd: warning: unknown[x.x.x.x]: SASL
> PLAIN authentication failed: Connection lost to authentication server
> Nov 7 11:30:56 padme postfix/smtpd: lost connection after AUTH from
> Nov 7 11:30:56 padme postfix/smtpd: disconnect from
> Here is the log from kmail:
> Sending failed:
> Your SMTP server does not support PLAIN.
> Choose a different authentication method.
> The server responded: "5.7.0 Error: authentication failed: Connection lost
> to authentication server"
> The message will stay in the 'outbox' folder until you either fix the
> problem (e.g. a broken address) or remove the message from the 'outbox'
> Restarting dovecot after restarting ldap solves this problem. (Postfix does
> not need to be restarted)
Oh. And prior to the postfix errors there is:
Nov 7 11:30:20 padme dovecot: auth(default): LDAP: ldap_result() failed:
Can't contact LDAP server
Nov 7 11:30:20 padme dovecot: auth(default): LDAP: Can't connect to server:
Nov 7 11:30:21 padme dovecot: auth(default): dovecot-auth: sbind.c:75:
ldap_simple_bind: Assertion `ld != ((void *)0)' failed.
Nov 7 11:30:21 padme dovecot: child 22172 (auth) killed with signal 6
PGP Key: http://www.peternixon.net/public.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20061107/be820526/attachment.pgp
More information about the dovecot