Hi,
We are running Dovecot proxies in front of our Dovecot IMAP servers, and were
having problems with Windows Mobile clients not being able to connect. The
clients would send a LOGIN command, and immediately after the succes reply a
LOGOUT command.
It turns out the Windows Mobile IMAP client gets confused by the IMAP proxy
first sending the command tag in the reply and then, in a seperate packet, the
rest of the line. Although not being able to handle this looks like a very bad
design to me (how can one ever expect to read a full line in a single read()
call?) I fixed it in our Dovecot proxies because we do have clients that want
to use it.
Attached is my fix for the problem.
Onno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-windows-mobile-proxy-fix.patch
Type: text/x-patch
Size: 855 bytes
Desc: not available
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20080422/4657c82a/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20080422/4657c82a/attachment-0005.bin>