On May 21, 2008, at 11:41 PM, Mike Abbott wrote:
Some of my IMAP clients hang when connecting to Dovecot 1.1.rc5. I
believe the problem is that imap-login reads eagerly rather than
sparingly. If a client sends a login user password b select Inbox all at once, without waiting for the login reply before sending the
select, imap-login eats the second command (reads it from the socket
and does nothing with it; system call tracing confirms this) and the
client hangs waiting for a reply to the select command. I can
reproduce this simply using telnet to the dovecot on localhost, as
long as I send both lines at once (I paste them in together).
I've known about this for several years, but since the fix isn't too
simple and I haven't before heard of any clients actually doing this,
I haven't bothered to fix it yet. I think Courier-IMAP has/had also
the same problem. What client is this with?