MailFolderNameLDAP

I've added a mailFolder attribute to the LDAP schema for projects. Formely the projects name was used as a project mail folder for the project account. But when using certain characters like ".", "/" or "&", we ran into some problems, the default mail folder seperator for Courier-IMAP is "." (as it should be according to the RFC afaik). In order to prevent this problem from happening and not limiting the user/mail server settings I've added the mailFolder attribute so a mailFolder can be specified.

Update in CreateACL tool

CreateACL tool will now use mailFolders from LDAP to create/add ACLs to folders, if no mailFolder attribute is found it is generated from the project name. In this process all special characters will be stripped from the name, so it won't cause any problems and still looks like the project name, so it can be easily found in an e-mail client programm.

Note: For the CreateACL tool to be able to set the mailFolder attribute in LDAP the project user, which it uses to authenticate with, should have write rights. To set these rights you will need to edit slapd.conf on the LDAP server and add these lines:

access to attrs=mailFolder
        by dn="uid=project,ou=Users,dc=linops01,dc=func,dc=nl" write
        by * read

Instructions on how to use the CreateACL tool can be found here.

-- BastiaanGrutters - 19 Oct 2005

Perhaps you can point to some documentation on the CreateACL tool and say something about how it will work in the future.

-- ZoranKovacevic - 20 Oct 2005

Another problem occured with IMAP folder names, when containing any non-standard character like "é" the removal of ACL failed because of a workaround for a JavaMail issue. The JavaMail issue has been resolved and a jar in which it is fixed will be supplied with the CreateACLTool until Sun releases it's next JavaMail version containing the fix.

-- BastiaanGrutters - 08 Nov 2005

Topic revision: r5 - 23 Dec 2008 - 17:09:20 - IvanaCace

tip TWiki Tip of the Day
Creating a Table of Contents
The TWikiVariables % nop TOC% will automatically create a table of contents for a topic based on the ... Read on Read more

 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback