[Dovecot] Dovecot-ldap doesnt reconnect if openldap restarts

Peter Nixon listuser at peternixon.net
Tue Nov 7 11:35:25 UTC 2006


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[30935]: 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[30935]: warning: unknown[x.x.x.x]: SASL 
PLAIN authentication failed: Connection lost to authentication server
Nov  7 11:30:56 padme postfix/smtpd[30935]: lost connection after AUTH from 
unknown[x.x.x.x]
Nov  7 11:30:56 padme postfix/smtpd[30935]: disconnect from unknown[x.x.x.x]

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' folder.


Restarting dovecot after restarting ldap solves this problem. (Postfix does 
not need to be restarted)

Regards

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20061107/31928ae3/attachment.pgp 


More information about the dovecot mailing list