Re: [exim] Bug in Exim->Dovecot Auth SMTP

Top Page
Delete this message
Reply to this message
Author: Chris Laif
Date:  
To: exim-users
Old-Topics: [exim] Bug in Exim->Dovecot Auth SMTP
Subject: Re: [exim] Bug in Exim->Dovecot Auth SMTP
On Jul 31, 2007 11:42 AM, Chris Laif <chris.laif@???> wrote:
> Hi.
>
> I'm using SMTP auth with Exim authenticating against Dovecot's auth
> socket. The (excellent) SMTP test tool "swaks"
> (http://jetmore.org/john/code/#swaks) tries multiple auth mechanismus
> consecutively which leads to the following message in Dovecot's log
> file:
>
> Error: auth(default): BUG: Authentication client gave a PID 6738 of
> existing connection
>


This bug can be fixed by adding a "close(fd);" in src/auths/dovecot.c.
Without the close()-call Exim does not shut down the connection and a
subsequent connection (announcing the same client PID during
handshake) will fail. You'll most likely see the above warning message
if a SMTP client tries multiple auth mechanisms with a wrong password.

Would be nice to have this fixed upstream in the Exim source.

Please also have a look at:
http://www.exim.org/lurker/message/20071127.164551.f35ace1e.ja.html

Chris