Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-18-2010, 01:27 AM
New Member
 
Posts: 3
Default External account test fails with FastMail/IMAP

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
Reply With Quote
  #2 (permalink)  
Old 01-18-2010, 03:28 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by yraber View Post
And here is the mailbox.log :

(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
Quote:
Originally Posted by yraber View Post
Any ideas ? Suggestions ?
A few questions to start with: why do you think 6.0.4 is installed when the log entry says different?; can you telnet to the external IMAP account via ssl & non ssl connections without problems?; is this a new install or an upgrade?; has this ever worked?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-18-2010, 04:52 AM
New Member
 
Posts: 3
Default

Quote:
why do you think 6.0.4 is installed when the log entry says different?;
I intended to upgrade to 6.0.4 a while ago but didn't do it ... I should have checked before writing this post, sorry.
zimbra@zimbra:~$ zmcontrol -v
Release 6.0.3_GA_1915.UBUNTU8 UBUNTU8 FOSS edition.

Quote:
can you telnet to the external IMAP account via ssl & non ssl connections without problems?;
Yes, both are working

Quote:
is this a new install or an upgrade?;
An upgrade, it was a 5.0.x system that I upgraded to 6.0, 6.0.1, 6.0.2 and now 6.0.3

Quote:
has this ever worked?
No, but I've never tried before
Reply With Quote
  #4 (permalink)  
Old 02-23-2010, 06:57 AM
New Member
 
Posts: 3
Default

This problem is still present with the last version:
Release 6.0.5_GA_2213.UBUNTU8 UBUNTU8 FOSS edition.
Reply With Quote
  #5 (permalink)  
Old 05-01-2010, 04:21 PM
Active Member
 
Posts: 49
Default

I am having the same problem with the latest release. I can create/connect just fine to an external IMAP account from the same network. However when trying to ad the IMAP account to Zimbra, I also get the "error: datasource test failed" message
Reply With Quote
  #6 (permalink)  
Old 05-28-2010, 11:04 AM
Active Member
 
Posts: 35
Default Me three!

I have the same issue when attempting to create a new IMAP external account.
Reply With Quote
  #7 (permalink)  
Old 05-30-2010, 01:22 PM
Member
 
Posts: 13
Default

Looks like it's exactly the same issue for me, on a hosting provider's imap (mail.gandi.net / Gandi).

My ZCS 6.0.6/Ubuntu64 work on other imap like gmail, but I also get a "error: datasource test failed" when adding an external account on this particular imap (mail.gandi.net), both in ssl/non-ssl; but external account works in pop. and this imap works in ssl on a Thunderbird.

I opened a bug on Zimbra's bugzilla with imho every relevant info (plateform and server logs) :
https://bugzilla.zimbra.com/show_bug.cgi?id=47602

Vote for it if you think you got the same issue.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.