cancel
Showing results for 
Search instead for 
Did you mean: 

IMAP - once more

zokstuzla
Champ in-the-making
Champ in-the-making
Hello,

Sorry, but I have to put this post for the second time because I am not sure where to post it, hope this is the right forum.


I wonder is it possible to configure Alfresco IMAP server that it can actually be used on a some larger systems ( couple of thousends of documents )

The problem is that IMAP is working very fine when the repository is empty, but as soon as you put some data in it, it becomes totally unusable. It works very slow, sometimes could not read all the folders at all, moving messages to folders takes forever etc.

Is there any solution for this problem ? Is there a way to force IMAP not to read all the folders ? I tried to create some mount points but without success.


I just could not believe that there is no solution for this, because I could not see the point for putting this very usefull functionallity in Alfresco if it can not be used !

Thank you very much for any ideas and information.

Best Regards,
Zoran Kuret
11 REPLIES 11

invictus9
Champ in-the-making
Champ in-the-making
Which version of Alfresco are you using? What kind of server are you running on? What database management system?

zokstuzla
Champ in-the-making
Champ in-the-making
Sorry, here are some technical info :

Alfresco 3.2r2 Community
Windows server 2003
Hardware : Intel Core2Duo CPU, 4 Gb RAM, SATA HDD 250 GB

Database MySQL

Hope this is enough information

Thanks,
Zoran

mikaso
Champ in-the-making
Champ in-the-making
Hello everyone.
Does anyone can explain how to make a mount point to another space? I have default settings in alfresco-global.properties:

imap.config.home.store=${spaces.store}
imap.config.home.rootPath=/${spaces.company_home.childname}
imap.config.home.folderPath=Imap Home
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.value.AlfrescoIMAP.mountPointName=Alfresco IMAP
imap.config.server.mountPoints.value.AlfrescoIMAP.modeName=MIXED

I want to know what to write instead ${spaces.store} or /${spaces.company_home.childname}.

Thanks!

zokstuzla
Champ in-the-making
Champ in-the-making
I also tried to chage this mount point to another space, but without success. It seems that you have to use some internal variables for accessing the spaces, or some other syntax, which is not documented.

So I hope that someone will give us a clue in how to deal with this issue.

Best,
Zoran

gravitonian
Star Collaborator
Star Collaborator
Hi,

Here is an example of how to create 2 mount points (Docs, MyEmails) that point to the following folders:
1) /Company Home/Documentation (is VIRTUAL meaning it will wrap doc metadata in emails on the fly)
2) /Company Home/User Homes/martin (is ARCHIVE so can be used to drag and drop emails into)

You can also use MIXED mode if you want to both store emails and view doc metadata.
Rememer to make folders writeable for the user to be able to see doc metadata (if they are read-only to the user then the wrapping emails will not be created and you will not see any emails with doc metadata)

# Set default ImapConfigMountPointsBean property values
imap.config.server.mountPoints.default.store=${spaces.store}
imap.config.server.mountPoints.default.rootPath=/${spaces.company_home.childname}
imap.config.server.mountPoints.default.modeName=VIRTUAL

# Define mount points (i.e. ImapConfigMountPointsBean beans)
imap.config.server.mountPoints=Docs,MyEmails

# Set mount point specific properties (per ImapConfigMountPointsBean bean)
imap.config.server.mountPoints.value.Docs.mountPointName=Docs
imap.config.server.mountPoints.value.Docs.folderPath=Documentation
imap.config.server.mountPoints.value.Docs.modeName=VIRTUAL
imap.config.server.mountPoints.value.MyEmails.mountPointName=My Emails
imap.config.server.mountPoints.value.MyEmails.modeName=ARCHIVE
imap.config.server.mountPoints.value.MyEmails.folderPath=User Homes/martin

Martin Bergljung
Opsera (http://www.opsera.com)
OpsMailmanager for enterpise email management

zokstuzla
Champ in-the-making
Champ in-the-making
Hello,

Thank you very much, it works fine.

The only problem I have now is that when I try to connect to Alfresco using some other username other then 'admin' I am getting error message :

"Task 'Synchronizing subscribed folders for zoran@tet.ba.' reported error (0x800CCCD2) : 'Outlook cannot synchronize subscribed folders for zoran@tet.ba. Error: The server responded: 'LSUB failed. 01120112 Zabranjen pristup. Nemate odgovarajuću razinu prava za izvođenje ove akcije.'. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'"

It seems that other alfresco users have no access rights to these IMAP folders. I tried to create new user and grant it with all rights to IMAP Home and all subfolders, including 'Docs' and 'MyEmails' folders from your example which I use in configuration.

When I create new account in Outlook with user 'admin' everything works fine, I can see spaces 'Docs' and 'MyEmails' and work with it as expected, but when I put username of the user I created, it gives me the same error, and I could not see any of these spaces.

What else should be granted for user in order to work with IMAP ?


Thank you once more for your assistance,

Best,
Zoran Kuret

gravitonian
Star Collaborator
Star Collaborator
What exact 3.2 version are you using?

zokstuzla
Champ in-the-making
Champ in-the-making
Hi,

I am using Community 3.2r2 version on Windows.

Best,
Zoran

zokstuzla
Champ in-the-making
Champ in-the-making
Hello,

Still researching this issue and could not find any solution.

When I add user into the 'Administrator' group everything works just fine, IMAP folders can be read and all messages as well.

But this is not what I want, of course, the question is what should be done for ordinary users, not the administrator, so that they can login to IMAP server.

It has to do something with privileges, that is for sure

Any ideas ?

Best,
Zoran