IMAP connection to Exchange 2003 server over VPN from a Mac running Snow Leopard. Will try the same setup on Ubuntu 9.10 and Win7.


Code:
Debug message: Unexpected end of stream

Exception:

com.zimbra.common.service.ServiceException: system failure: Synchronization of folder 'Outbox' failed
ExceptionId:btpool0-20:1261961312963:4d0d1e771000c961
Code:service.FAILURE
	at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:253)
	at com.zimbra.cs.datasource.ImapSync.syncFailed(ImapSync.java:298)
	at com.zimbra.cs.datasource.ImapSync.syncRemoteFolders(ImapSync.java:221)
	at com.zimbra.cs.datasource.ImapSync.syncFolders(ImapSync.java:193)
	at com.zimbra.cs.datasource.ImapSync.importData(ImapSync.java:152)
	at com.zimbra.cs.offline.OfflineImport.importData(OfflineImport.java:88)
	at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:157)
	at com.zimbra.cs.mailbox.LocalMailbox.importData(LocalMailbox.java:417)
	at com.zimbra.cs.mailbox.LocalMailbox.syncAllLocalDataSources(LocalMailbox.java:389)
	at com.zimbra.cs.mailbox.LocalMailbox.sync(LocalMailbox.java:431)
	at com.zimbra.cs.service.offline.OfflineSync.handle(OfflineSync.java:49)
	at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:429)
	at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:286)
	at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:160)
	at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:275)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:187)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:716)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.handler.RewriteHandler.handle(RewriteHandler.java:176)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:313)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.io.EOFException: Unexpected end of stream
	at com.zimbra.cs.mailclient.MailInputStream.peekChar(MailInputStream.java:128)
	at com.zimbra.cs.mailclient.imap.ImapInputStream.readText(ImapInputStream.java:234)
	at com.zimbra.cs.mailclient.imap.ImapInputStream.readText(ImapInputStream.java:228)
	at com.zimbra.cs.mailclient.imap.ImapResponse.readResponse(ImapResponse.java:48)
	at com.zimbra.cs.mailclient.imap.ImapResponse.read(ImapResponse.java:41)
	at com.zimbra.cs.mailclient.imap.ImapConnection.readResponse(ImapConnection.java:628)
	at com.zimbra.cs.mailclient.imap.ImapConnection.nextResponse(ImapConnection.java:622)
	at com.zimbra.cs.mailclient.imap.ImapConnection.waitForResponse(ImapConnection.java:541)
	at com.zimbra.cs.mailclient.imap.ImapConnection.sendRequest(ImapConnection.java:475)
	at com.zimbra.cs.mailclient.imap.ImapRequest.send(ImapRequest.java:77)
	at com.zimbra.cs.mailclient.imap.ImapRequest.sendCheckStatus(ImapRequest.java:81)
	at com.zimbra.cs.mailclient.imap.ImapConnection.doSelectOrExamine(ImapConnection.java:187)
	at com.zimbra.cs.mailclient.imap.ImapConnection.select(ImapConnection.java:174)
	at com.zimbra.cs.datasource.RemoteFolder.select(RemoteFolder.java:236)
	at com.zimbra.cs.datasource.ImapFolderSync.createLocalFolder(ImapFolderSync.java:511)
	at com.zimbra.cs.datasource.ImapFolderSync.syncFolder(ImapFolderSync.java:125)
	at com.zimbra.cs.datasource.ImapSync.syncRemoteFolders(ImapSync.java:216)
	... 34 more