checking quota

lkolchin at univ.haifa.ac.il lkolchin at univ.haifa.ac.il
Tue Sep 20 09:04:40 EDT 2005


Hi,

I would suggest to use the solution from web-cyradm list:
http://www.web-cyradm.org/pipermail/web-cyradm/2004-November/017965.html

There is very nice and multipurpose script to deal with  quotas.
It's abaut integration of quota management for MTA (postfix) + Cyrus.

Regards,
Leon Kolchinsky

-----Original Message-----
From: info-cyrus-bounces at lists.andrew.cmu.edu [mailto:info-cyrus-bounces at lists.andrew.cmu.edu] On Behalf Of Patrice
Sent: Tuesday, September 20, 2005 2:30 PM
To: info-cyrus at lists.andrew.cmu.edu
Subject: checking quota

Hi,

I would like to implement the quota checking within my MTA which is exim and not use cyrus quota

what would be the less consuming way to do it ?

- check the quota.db  and extract the current mailboxe size for a particular user ?
- connect with tcp on imap and read the current quota value for the user ?

if the effective quota is > of a value defined into my ldap I deny the delivery to cyrus-imap

Thank you for you advices

Patrice

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



More information about the Info-cyrus mailing list