[Dovecot] [IDEA] Shared Folders via LDAP Lookups

Gavin Henry ghenry at suretecsystems.com
Thu Nov 30 14:55:14 UTC 2006

Hi All,

We've been thinking a lot about the 2 different ways dovecot implements
shares; namespaces and symlinks.

We currently use the symlink version for our clients and they use the
create_dovecot_shares.pl tool we did at:


Our idea is either in the namespace declaration or if a folder has a
dovecot-shared file/symlink, have a ldap lookup defined in say,
dovecot-ldap-shares.conf or dovecot-ldap.conf, that queries a dn and looks
for memberUID or a group dn, then those uids/groups can get into the IMAP

Obviously the original folder would need to be owned by some predefined
user, e.g dovecot etc.

Then it's just a simple matter of adding a new memberUID/group to the
share listing.

We can do a custom dovecot.schema if needed (for say a dovecotShare
attribute etc.), as long as we get dovecot a Private Enterprise Number


If Timo hasn't already got one, but I can't see one in:



Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry at suretecsystems.com

Open Source. Open Solutions(tm).


More information about the dovecot mailing list