quota warning problem - Is it a bug of cyrus imap?

Rob Siemborski rjs3 at andrew.cmu.edu
Wed Jul 2 12:58:28 EDT 2003


On Wed, 2 Jul 2003, John Alton Tamplin wrote:

> Rob Siemborski wrote:
>
> >We're using 32-bit numbers to track the quota.  We'd need to be more
> >clever than that to get around it.
>
> Other than a conversion issue on existing mailstores, couldn't this be
> solved by just using the same units IMAP does, ie 1k rather than bytes?

Not without some loss of information (or a great increase in the expense
of calculating quotas).

Cyrus tracks current usage on a quota root separately from the actual
files in that quota root.  To do this reasonably you need to use the
actual space used, not some rounding of it to the nearest K.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper





More information about the Info-cyrus mailing list