quota on number of message
Ken Murchison
ken at oceana.com
Wed Oct 22 11:44:47 EDT 2003
Actually, this looks like it would be more invasive and involved than I
first thought. You can start by doing a
find . -name '*.c' -print | xargs egrep -i quota
in the imap/ directory to see where the quota gets touched. You'd have
to extend the format of the quota files and the quota struct and then
modify all of the surrounding code to use it. It also looks like a lot
of the code makes the assumption that the one and only quota will be
STORAGE. This would probably not be a trivial task, albeit not an
exceedingly difficult one.
If you have money to throw at the problem, I could be convinced to
tackle this for you ;)
Brasseur Valéry wrote:
> where should I look to begin such a patch ?
>
>
>>-----Original Message-----
>>From: Ken Murchison [mailto:ken at oceana.com]
>>Sent: Wednesday, October 22, 2003 3:45 PM
>>To: Brasseur Valéry
>>Cc: info-cyrus at lists.andrew.cmu.edu
>>Subject: Re: quota on number of message
>>
>>
>>Brasseur Valéry wrote:
>>
>>>is there a way to put a limit on the number of message a
>>
>>mailbox can contain ?
>>
>>>I know I can put a quota on the storage space, I would like
>>
>>such a thing but on the number of message !
>>
>>>is it possible ?
>>
>>Cyrus currently does not support a MESSAGE quota, but I
>>wouldn't expect
>>it to be too difficult to add. I'm sure a well-written patch
>>would be
>>excepted.
>>
>>--
>>Kenneth Murchison Oceana Matrix Ltd.
>>Software Engineer 21 Princeton Place
>>716-662-8973 x26 Orchard Park, NY 14127
>>--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
>>
>>
>
>
>
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
More information about the Info-cyrus
mailing list