[Dovecot] SQL + AUTH command bug?

Andrew Hutchings mail at a-wing.co.uk
Wed Dec 8 16:14:57 EET 2004


Hi,

Removing the 'if' line that receives the AUTH command (effectively
stopping dovecot responding to the auth command) has worked as a temp
fix, our mail cluster is now authing Thuderbirds, but I'm sure it could
stumble others in the future.

Regards
Andrew


On Wed, 2004-12-08 at 13:30 +0000, Andrew Hutchings wrote:
> Hi,
> 
> While investigating the problem with Thunderbird auths I found the
> following happening:
> 
> Escape character is '^]'.
> +OK Dovecot ready.
> CAPA
> +OK
> CAPA
> TOP
> USER
> UIDL
> RESP-CODES
> PIPELINING
> SASL PLAIN
> .
> AUTH PLAIN
> +
> +
> +
> -ERR Authentication failed.
> 
> This is what is happening during a Thunderbird connection, when each '+'
> happens dovecot does an sql query on the sql server for user '?'.  This
> was asserting mech.c until Timo did the bugfix last night.
> I currently have dovecot authing via 3 separate sql password tables as
> it is a migration from 3 old servers.
> 
> If you try any other auth method (which shouldn't work anyway in my
> case) it doesn't talk to the SQL servers and just comes back as:
> 
> -ERR Authentication failed.
> 
> 
> Regards
> Andrew
-- 
Andrew Hutchings
Systems Operator / Developer / Linux Guru
Netserve Consultants Ltd.
http://www.domaincity.co.uk/




More information about the dovecot mailing list