Trying to add an external account with my Fastmail email address, the test fails (Error: datasource test failed). I didn't find any information on this problem on this forum or anywere else.

Details :
  • Running Zimbra 6.0.4GA
  • Same setup with POP3 instead of IMAP works
  • SSL or no SSL generate the same error
  • I tested a Gmail IMAP account, and it works


And here is the mailbox.log :

2010-01-18 09:22:05,101 INFO [btpool0-59:https://myzimbra/service/soap/TestDataSourceRequest] [name=myemail@myzimbra;mid=3;ip=194.230.41.233;ua=Z imbraWebClient - FF3.0 (Linux)/6.0.3_GA_1915.UBUNTU8;] soap - TestDataSourceRequest
2010-01-18 09:22:05,103 INFO [btpool0-59:https://myzimbra/service/soap/TestDataSourceRequest] [name=myemail@myzimbra;mid=3;ip=194.230.41.233;ua=Z imbraWebClient - FF3.0 (Linux)/6.0.3_GA_1915.UBUNTU8;] datasource - Testing: DataSource: { id=TestId, type=imap, isEnabled=false, name=Test, host=mail.messagingengine.com, port=993, connectionType=ssl, username=myemail@fastmail.fm, folderId=-1 }
2010-01-18 09:22:06,008 WARN [btpool0-59:https://myzimbra/service/soap/TestDataSourceRequest] [name=myemail@myzimbra;mid=3;ip=194.230.41.233;ua=Z imbraWebClient - FF3.0 (Linux)/6.0.3_GA_1915.UBUNTU8;] datasource - Test failed: DataSource: { id=TestId, type=imap, isEnabled=false, name=Test, host=mail.messagingengine.com, port=993, connectionType=ssl, username=myemail@fastmail.fm, folderId=-1 }
com.zimbra.common.service.ServiceException: system failure: Unable to connect to IMAP server: DataSource: { id=TestId, type=imap, isEnabled=false, name=Test, host=mail.messagingengine.com, port=993, connectionType=ssl, username=myemail@fastmail.fm, folderId=-1 }
ExceptionId:btpool0-59:https://myzimbra/service/soap/TestDa...e62922418dd21a
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:247)
at com.zimbra.cs.datasource.ImapSync.connect(ImapSync .java:196)
at com.zimbra.cs.datasource.ImapSync.test(ImapSync.ja va:121)
at com.zimbra.cs.datasource.DataSourceManager.test(Da taSourceManager.java:144)
at com.zimbra.cs.service.mail.TestDataSource.handle(T estDataSource.java:125)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:418)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:272)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:156)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:291)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:212)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:502)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132)
at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1148)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:379)
at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.handler.DebugHandler.handle(Debu gHandler.java:77)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:525)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:882)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:387)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)
Caused by: java.lang.NullPointerException
at com.zimbra.cs.datasource.ImapSync.checkImportingSe lf(ImapSync.java:206)
at com.zimbra.cs.datasource.ImapSync.connect(ImapSync .java:189)
... 36 more

Any ideas ? Suggestions ?

Thanks