I think I haven't explained it well :-)

I want to check quota for incoming mails and reject emails if quota is over.

I already use this script for sending 'quota exceeded' to my users

anyway thank you for your link


[EMAIL PROTECTED] wrote:

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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrice
Sent: Tuesday, September 20, 2005 2:30 PM
To: info-cyrus@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





----
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

Reply via email to