On 19.6.2013, at 20.54, Ricardo Machini Barbosa <ricardomach...@gmail.com> 
wrote:

> I am trying to do a proxy with dovecot to IMAP backend server that are using 
> Microsoft Exchange 2013.
> I already did this with Microsoft Exchange 2007 and Microsoft Exchange 2010 
> and it works perfectly! But with Microsoft Exchange 2013 I can not perform 
> LOGIN.
> 
> The error log message is:
> /imap-login: Error: proxy(u...@domain.com.br): Login for 
> exchange2013.domain.com.br:143 timed out in state=4 (after 30 secs, 
> local=x.x.x.x:59640)/
> 
> My troubleshoot was:
> 
> - tcpdump on dovecot server side:
>    I can see the commands sent/received by Microsoft Exchange. But no the "OK 
> LOGIN" response.
> 
> /* OK The Microsoft Exchange IMAP4 service in xxxx is ready.//
> //C CAPABILITY//
> //L LOGIN "u...@domain.com.br" "123456"//
> //* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN STARTTLS UIDPLUS CHILDREN IDLE 
> NAMESPACE LITERAL+//
> //C OK CAPABILITY completed./

Looks like Exchange 2013 IMAP has broken command pipelining :( See if it gets 
fixed by http://hg.dovecot.org/dovecot-2.2/rev/6e8bbc150fa9 and the attached 
patch on top of that? If it works, I'll commit that patch too.

Attachment: diff
Description: Binary data


Reply via email to