cancel
Showing results for 
Search instead for 
Did you mean: 

IMAP configuration?

gronfelt
Champ in-the-making
Champ in-the-making
I'm trying to set up IMAP in 3.2, but it seems like I'm missing out on something, because I just can't get it to work.

I've uncommented the IMAP lines in alfresco-global.properties:
#
# IMAP
#————-
imap.server.enabled=true
imap.server.port=143
imap.server.host=<my-external-ip>

In alfresco.log it looks like the service is started correctly:

10:40:15,393 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
10:40:15,534 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:40:15,617 INFO  [org.alfresco.repo.imap.AlfrescoImapServer] IMAP service started on host:port <my external ip>:143.
10:40:15,617 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete

However, netstat -an shows nothing listening at port 143 and I'm not able to connect to the server (using it's FQDN or external ip) with either Thunderbird or Apple Mail.

Any ideas on what's wrong?

I'm really not sure if I'm setting up the mail client the right way, since there's not that much written about that in the documentation, but I've tried setting it up just as I would with a normal e-mail account. The install and config pdf says to connect to localhost, but that doesn't make much sense to me, surely it must mean that I should connect to the Alfresco server?

What's odd is the fact that the server doesn't appear to listen on port 143, have I missed any step in enabling and setting up the service?
3 REPLIES 3

mikef
Champ in-the-making
Champ in-the-making
Can't see anything obviously wrong. Enable the debug in log4j.properties:

log4j.logger.org.alfresco.repo.imap=debug

Just for testing, try using localhost as the host and see if it's listening. Then try connecting by creating a test account in Outlook Express (I assume you're running windows as you are using netstat for testing). Maybe a firewall, blocked port issue?

gronfelt
Champ in-the-making
Champ in-the-making
Actually I'm running linux, but I changed to localhost and tried connecting using Thunderbird on the server. This time the connection worked, so I seem to have an issue with my firewall settings or something else beyond Alfresco. That's good to know.

However, in Thunderbird I still recieved an error:
The mail server responded: LIST failed. Node does not exist:
workspace://@<tenant-name>@SpacesStore/<node-id>

Is the IMAP interface not tenant-aware?

mikef
Champ in-the-making
Champ in-the-making
Sorry no, Multi-Tenant does not support IMAP.