Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Desktop > Error Reports

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-29-2009, 12:41 AM
Special Member
 
Posts: 165
Default Fail to set up pop account: SSL connection failure.

In ZD I fail setting up pop accounts. When I click save on the setup screen, I get the message "SSL connection failure. Please check host and port settings.".

Even though I don't have the security option checked. The displayed port is 110. The pop settings work as I can set up the connection wit the same credentials in other e-mail programs. Even tried it with 2 different pop account on two different servers.

Also tried it with ZD on Windows XP SP3 and on Ubuntu 8.10.

When I do click on "security", I get a message to accept the self-signed certificate, after that the message "service.FAILURE: system failure: SMTP connect failure" is displayed. This may be correct behaviour as I'm not sure on wheter the mail server accepts ssl connections on port 995.

But the regular pop connection definitely has to work because it does in other programs...

-Bernhard
Reply With Quote
  #2 (permalink)  
Old 02-03-2009, 06:35 PM
dac dac is offline
Zimbra Employee
 
Posts: 63
Default

Do you see any SMTP trace messages in the log file? Even if you are not using SSL we will try to use TLS if it's advertised by the server. Some servers indicate that they support TLS but fail during TLS handshake. We should be able to tell if that is the case with your server by looking at zdesktop.log.
Reply With Quote
  #3 (permalink)  
Old 02-03-2009, 06:37 PM
Zimbra Employee
 
Posts: 1,688
Default

The regular pop connection issue is most likely TLS. Your POP server probably advertises TLS but doesn't really support it.
Reply With Quote
  #4 (permalink)  
Old 02-03-2009, 06:37 PM
Zimbra Employee
 
Posts: 1,688
Default

Sorry I didn't see that dac already made the same comment.
Reply With Quote
  #5 (permalink)  
Old 02-04-2009, 01:41 AM
Special Member
 
Posts: 165
Default

Here are the log entries:

2009-02-04 09:36:58,879 INFO [btpool0-11] [] datasource - Testing: DataSource: { id=d404dc95-3d52-4b2a-a774-c7095219e5c9, type=pop3, isEnabled=true, name=admin@kdz.eu, host=mail.kdz.eu, port=110, connectionType=cleartext, username=admin+kdz.eu, folderId=2 }
2009-02-04 09:36:59,130 WARN [btpool0-11] [] datasource - Test failed: DataSource: { id=d404dc95-3d52-4b2a-a774-c7095219e5c9, type=pop3, isEnabled=true, name=admin@kdz.eu, host=mail.kdz.eu, port=110, connectionType=cleartext, username=admin+kdz.eu, folderId=2 }
com.zimbra.common.service.ServiceException: system failure: Unable to connect to IMAP server: DataSource: { id=d404dc95-3d52-4b2a-a774-c7095219e5c9, type=pop3, isEnabled=true, name=admin@kdz.eu, host=mail.kdz.eu, port=110, connectionType=cleartext, username=admin+kdz.eu, folderId=2 }
ExceptionId:btpool0-11:1233736619130:c37250e1e8839e0c
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.datasource.Pop3Sync.connect(Pop3Sync .java:139)
at com.zimbra.cs.datasource.Pop3Sync.test(Pop3Sync.ja va:95)
at com.zimbra.cs.datasource.DataSourceManager.test(Da taSourceManager.java:64)
at com.zimbra.cs.account.offline.OfflineProvisioning. testDataSource(OfflineProvisioning.java:549)
at com.zimbra.cs.account.offline.OfflineProvisioning. createDataSourceAccount(OfflineProvisioning.java:6 41)
at com.zimbra.cs.account.offline.OfflineProvisioning. createAccount(OfflineProvisioning.java:446)
at com.zimbra.cs.service.admin.CreateAccount.handle(C reateAccount.java:58)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:429)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:286)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:160)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:269)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:362)
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:716)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.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(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.handler.RewriteHandler.handle(Re writeHandler.java:176)
at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:442)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.InputRecord.handleUnk nownRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unkn own Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec ord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.perform InitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHa ndshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHa ndshake(Unknown Source)
at com.zimbra.common.util.CustomSSLSocket.startHandsh ake(CustomSSLSocket.java:197)
at com.zimbra.cs.mailclient.MailConnection.startTls(M ailConnection.java:294)
at com.zimbra.cs.mailclient.MailConnection.connect(Ma ilConnection.java:90)
at com.zimbra.cs.datasource.Pop3Sync.connect(Pop3Sync .java:131)
... 32 more


Even if the POP server advertises TLS but doesn't really support it, other mailers I tried did not have a problem with that. So at least there should be a setting somewhere where I can tell ZD not to try it?

- Bernhard
Reply With Quote
  #6 (permalink)  
Old 02-06-2009, 02:20 AM
Zimbra Employee
 
Posts: 1,688
Default

you are correct that we need to provide some settings to turn this off, but right now we don't have this.
Reply With Quote
  #7 (permalink)  
Old 09-15-2009, 12:11 PM
New Member
 
Posts: 3
Default

So, if you don't have it now, when will Zimbra add this?
Reply With Quote
  #8 (permalink)  
Old 09-16-2009, 09:56 PM
New Member
 
Posts: 3
Default pop account

pop account now works on windows, but donīt works on ubuntu, both with latest release .1691
Reply With Quote
  #9 (permalink)  
Old 09-17-2009, 03:26 AM
New Member
 
Posts: 3
Default SSL error while setting up pop account

we downloaded the latest version yesterday.

Still there is a problem of setting up pop account. It give the SSL port error.


Seems Zimbra is still not ready for pop account.
Reply With Quote
  #10 (permalink)  
Old 09-17-2009, 08:38 AM
Starter Member
 
Posts: 2
Default

I just installed Zimbra and get the same issue. I am trying with IMAP not POP. Ports are correct. I dont use SSL so they are not checked. Yet I get this error. Mad.
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.