[Dovecot] Dovecot proxy to Microsoft Exchange 2013

Timo Sirainen tss at iki.fi
Mon Jun 24 23:40:57 EEST 2013


On 19.6.2013, at 20.54, Ricardo Machini Barbosa <ricardomachini at 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(user at 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 "user at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 2387 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130624/99b636b8/attachment.obj>
-------------- next part --------------




More information about the dovecot mailing list