Re: Cyrus IMAP mailboxes with LDAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
Onlight llc.                              www.onlight.com
219 N. Milwaukee St., Ste. 2A	          v. 414.272.4477
Milwaukee, Wisconsin  53202		  f. 414.290.0335

Attachment: cyrus-ldap-quota.tar.gz
Description: GNU Zip compressed data

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux