Cyrus IMAP mailboxes with LDAP
Nic Bernstein
nic at onlight.com
Fri Jul 3 13:59:40 EDT 2009
On 07/03/2009 07:55 AM, Evgeniy Arbatov wrote:
> I am looking for a way to store mailbox quotas and ACLs for Cyrus IMAP
> in LDAP. Is there a ready made solution for this purpose? If not, how
> can it be possibly done? Thank you!
>
Attached is a tar file with the tools we use for exactly this purpose.
The files are:
* cyrus_get_quota.pl: a perl script to generate an LDIF file
suitable for import into an LDAP directory with the current user
quotas from Cyrus. This is to bootstrap the directory. You must
already have the appropriate schema in place.
* cyrus_ldap_quota.pl: a perl script to be run periodically from
cron to search the directory for modified quotas and push those
into cyrus.
* cyrus-utils.conf: a configuration file for the above scripts.
The schema used is the Srivastava Draft described here:
http://www.watersprings.org/pub/id/draft-srivastava-ldap-mail-00.txt
You can download the schema here:
http://www.netfrag.org/webnews/article.php?id=89&group=nfo.links.computing
The code is well documented, but feel free to ask if you have any questions.
Best regards,
-nic
--
Nic Bernstein nic at onlight.com
Onlight llc. www.onlight.com
219 N. Milwaukee St., Ste. 2A v. 414.272.4477
Milwaukee, Wisconsin 53202 f. 414.290.0335
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090703/4d96311f/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-ldap-quota.tar.gz
Type: application/x-gzip
Size: 3079 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090703/4d96311f/attachment.bin
More information about the Info-cyrus
mailing list