Results 1 to 3 of 3

Thread: Get External Email - java.net.UnknownHostException

  1. #1
    dusty_nz is offline Active Member
    Join Date
    Oct 2006
    Posts
    26
    Rep Power
    8

    Default Get External Email - java.net.UnknownHostException

    Just upgraded from 5.0.2 to 5.0.4 and now getting the following error when trying to get remote email. This is also with testing connection. Looks like a DNS issue however I can ping the address and config has not changes from the last working.

    Testing connection to data source
    javax.mail.MessagingException: Connect failed;
    nested exception is:
    java.net.UnknownHostException: mail.messagingengine.com
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3St ore.java:148)
    at javax.mail.Service.connect(Service.java:275)
    at com.zimbra.cs.datasource.Pop3Import.test(Pop3Impor t.java:107)
    at com.zimbra.cs.datasource.DataSourceManager.test(Da taSourceManager.java:71)
    at com.zimbra.cs.service.mail.TestDataSource.handle(T estDataSource.java:109)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:391)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:250)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:156)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:177)
    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$CachedCha in.doFilter(ServletHandler.java:1093)
    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:1084)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:360)
    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:205)
    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: java.net.UnknownHostException: mail.messagingengine.com
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:177)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:519)
    at com.sun.mail.util.SocketFetcher.createSocket(Socke tFetcher.java:218)
    at com.sun.mail.util.SocketFetcher.getSocket(SocketFe tcher.java:176)
    at com.sun.mail.pop3.Protocol.(Protocol.java:81)
    at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java :201)
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3St ore.java:144)
    ... 34 more

    If I change the URL for an ip address I get

    Testing DataSource: { id=TestId, type=pop3, isEnabled=false, name=Test, host=66.111.4.51, port=110, connectionType=cleartext, username=*********, folderId=-1 }
    2008-04-21 05:32:35,633 INFO [btpool0-9] [name=*********;mid=3;ip=*********;ua=ZimbraWebClie nt - IE7 (Win)/5.0.4_GA_2101.RHEL5;] datasource - Testing connection to data source
    javax.mail.AuthenticationFailedException: invalid command
    at com.sun.mail.pop3.POP3Store.protocolConnect(POP3St ore.java:146)
    at javax.mail.Service.connect(Service.java:275)
    at com.zimbra.cs.datasource.Pop3Import.test(Pop3Impor t.java:107)
    at com.zimbra.cs.datasource.DataSourceManager.test(Da taSourceManager.java:71)
    at com.zimbra.cs.service.mail.TestDataSource.handle(T estDataSource.java:109)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:391)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:250)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:156)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:177)
    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$CachedCha in.doFilter(ServletHandler.java:1093)
    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:1084)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:360)
    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:205)
    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)
    2008-04-21 05:32:35,634 INFO [btpool0-9] [name=********;mid=3;ip=*******;ua=ZimbraWebClient - IE7 (Win)/5.0.4_GA_2101.RHEL5;] datasource - Test failed: invalid command
    Last edited by dusty_nz; 04-22-2008 at 05:46 AM.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    Default

    You're using the wrong type of connection aren't you? Shouldn't you be using a secure pop3 connection, if I do this:

    Code:
    telnet mail.messagingengine.com 995
    I can connect to the server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dusty_nz is offline Active Member
    Join Date
    Oct 2006
    Posts
    26
    Rep Power
    8

    Default

    Sorry no.

    I can connect to the server on port 110 as well.
    I have 4 connections setup and they all have this issue.

    Manually validating the credentials is fine but testing or using the connection within zimbra causes issues.

    Looks like a DNS issue however its not.
    Maybe a java class?

    Paul

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Binding account with external email service?
    By wellofsouls in forum Administrators
    Replies: 8
    Last Post: 05-19-2008, 10:38 AM
  2. Zimbra Desktop External Email & Unified Inbox
    By juanfermin in forum Developers
    Replies: 1
    Last Post: 04-08-2008, 05:12 PM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •