cancel
Showing results for 
Search instead for 
Did you mean: 

IMAPS

dozyarmadillo
Champ on-the-rise
Champ on-the-rise
I've been able to setup IMAP however I'm struggling to get IMAPS setup (i.e. IMAP with SSL). Outlook complains that it cannot connect to the server.

Here's the config that I'm using:


imap.server.enabled=true
imap.server.host=myserver.mydomain.com
# note - we don't want to enable unencrypted IMAP access!
imap.server.port=1143

#email.inbound.unknownUser=
email.inbound.enabled=true
email.server.enabled=true
email.server.port=1025
email.server.domain=myserver.mydomain.com
email.server.allowed.senders=.*
email.server.blocked.senders=
#email.handler.folder.overwriteDuplicates=true
#email.server.connections.max=3
#email.server.auth.enabled=true
#email.server.hideTLS=false
#email.server.enableTLS=true
#email.server.requireTLS=false

#email.handler.folder.overwriteDuplicates=true

imap.server.imaps.enabled=true
#imap.server.imaps.port=993
# we won't want to use the standard IMAPS port - don't ask why..
imap.server.imaps.port=8080
#imap.server.attachments.extraction.enabled

#imap.config.server.mountPoints=AlfrescoIMAP
#imap.config.server.mountPoints.default.mountPointName=IMAP
#imap.config.server.mountPoints.default.modeName=ARCHIVE
#imap.config.server.mountPoints.default.store=${spaces.store}
#imap.config.server.mountPoints.default.rootPath=/${spaces.company_home.childname}
imap.config.server.mountPoints.default.rootPath=/app:company_home/st:sites
#imap.config.server.mountPoints.value.AlfrescoIMAP.mountPointName=Alfresco IMAP
imap.config.server.mountPoints.value.AlfrescoIMAP.modeName=MIXED


The log file contains the following snippet:


2013-03-22 13:12:06,067  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'imap' subsystem, ID: [imap, default]
2013-03-22 13:12:07,274  INFO  [repo.imap.AlfrescoImapServer] [localhost-startStop-1] IMAP service started on host:port now.synapps-solutions.com:1143.
2013-03-22 13:12:07,274  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'imap' subsystem, ID: [imap, default] complete


The above output only specifies that IMAP is set up on port 1143. I checked netstat & there's nothing listing on the IMAPS port that we specified in alfresco-global.properties (note: we've got IMAPS configured on port 8080 and Tomcat on port 18080).

Has anyone been able to get IMAPS to work?

Regards
3 REPLIES 3

benlawrence
Champ in-the-making
Champ in-the-making
I tried and failed using the conventional way…

alexisk
Champ in-the-making
Champ in-the-making
As the two post before, I configured alfresco for use IMAPS. It start correctly, and I have nothing in log that show IMAPS don't work. But Outlook don't synchronise the folder.
I try with IMAP and it's work correctly. Anyone have a solution for this ?

dbiggins
Star Contributor
Star Contributor
Francesco Corti had a good writeup on this that helped me out a lot:

http://fcorti.com/2013/06/06/how-to-activate-imaps-the-secure-imap-support-on-alfresco/

As long as there is a free port (1993, 2993, whatever), Alfresco will start IMAPS with no complaint.  But the subsystem running is one thing: being able to connect is another.

I assume that you also have the ability to see your server on whatever the imaps port.  I also assume that you set up your imaps config on your client to use that imaps server and port. 

In order for your client (in my case, outlook) to know that it can trust the imaps connection, a trusted cert, self signed or purchased, needs to be available via a keystore when the imaps connection is made.  This article mentions how to set it up in the setup script of the app server.
I have this working for 4.2.x and 5.
Good luck all!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.