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

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 05-11-2007, 05:57 AM
Member
 
Posts: 10
Question POP3 polling does not work (yet)

Hi all,

I've just set up my zimbra installation and am able to send emails.

I'm now trying to poll a POP3 account using the new feature build in v4.5.

When I try to test my settings I get an instant 'Error: Connect failed'.

I tried using IP and DNS, with and without SSL (port 110 / 995, AFAIK my pop3-hoster supports SSL just fine, although I don't know if the certificate is valid they use).

Does anybody know which log-files I should check for more verbose error messages? Is there a list what kind of messages/components are logged where?
Reply With Quote
  #2 (permalink)  
Old 05-11-2007, 09:28 AM
Zimbra Employee
 
Posts: 78
Default

The error would be in /opt/zimbra/log/mailbox.log. We don't currently support POP3 servers that don't have valid certificates. If you need this functionality, please file a bug.
Reply With Quote
  #3 (permalink)  
Old 05-11-2007, 10:28 AM
Member
 
Posts: 10
Default

Thanks.

It looks like I haven't got the correct CA Certificate.

Is it correct that I have to install it into tomcat's keystore?
(documentation)

If yes, that would propably mean I would have to restart tomcat right?

Last edited by philzli; 05-11-2007 at 10:29 AM.. Reason: doc link was broken.
Reply With Quote
  #4 (permalink)  
Old 05-11-2007, 11:31 AM
Zimbra Employee
 
Posts: 78
Default

I don't think you need to add the certificate on the client side. I was able to POP my GMail account without having to do this. The only requirement is that the POP3 server has to have a signed certificate.
Reply With Quote
  #5 (permalink)  
Old 05-11-2007, 03:04 PM
Member
 
Posts: 10
Cool

Err, I truly hope this is not the case (or I'm misunderstanding you or the other way around):

If I would not need the CA Certificate, then I could make a POP3 Server using a certificate which I could sign using a 'fake' verisign or trustcenter or what ever CA Cert. My connection would be encrypted etc., but then I should also allow self-signed and invalid (no longer valid for example) certificates as they feature the same amount of Man-in-the-middle protection ( = none).

For fetchmail (no zimbra needed) you need to download the Equifax CA Certificate, so I guess you have to place the CA Cert in Zimbra _somewhere_.

My question is... where? :-)

Update/Added:
The problem is described here. I get the "unable to find valid certification path to requested target" which for sounds like I need the CA Cert, but it does not have be that..

Last edited by philzli; 05-11-2007 at 03:22 PM..
Reply With Quote
  #6 (permalink)  
Old 05-11-2007, 03:33 PM
Member
 
Posts: 10
Default

To answer my own question:

The CA Certificates / Trusted Public Keys are to be found at:
/opt/zimbra/jdk1.5.0_08/jre/lib/security/cacerts


To list the contents go to that directory and type:
../../../bin/keytool -list -keystore cacerts

(when asked for the password just press enter)

Mine contains 44 certificates, 4 by equifax, which explains why Gmail works just fine while my server does not.

To add a certificate you currently have to use the keytool that comes with the JDK. There are also GUI tools out there to help, like keyman by IBM and portcle which is GPL'd and quit nice.

I'll file a request for enhancement for this as it is a not-to-uncommon thing to do. Even big CAs like verisign change/add new certificates once in a while.

Link to bug/enhancement: Bug #16753

Last edited by philzli; 05-11-2007 at 03:44 PM.. Reason: added link to bugzilla
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.