quotas and usage

Andrew Morgan morgan at orst.edu
Tue Sep 28 14:02:59 EDT 2004


On Tue, 28 Sep 2004, Philip Chambers wrote:

>
> On Tue, 28 Sep 2004 17:13:49 +0200 Sebastian Hagedorn <Hagedorn at uni-koeln.de> wrote:
>
> > -- Philip Chambers <P.A.Chambers at exeter.ac.uk> is rumored to have mumbled
> > on Dienstag, 28. September 2004 15:28 Uhr +0100 regarding quotas and usage:
> >
> > > How do I get cyrus to re-calculate the usage figure in a quota file.
> >
> > quota -f
>
> The man page for quota says "Running quota with both the -f option and
> mailbox-prefix arguments is not recommended".
>
> It is out of the question for me to run it without a mailbox-prefix because I have
> over 20,000 users and it would put a massive load on the system and take hours.
>
> Why is that combination not recommended?

The last two steps of my procedure for restoring mail for a user are:

12. Run "su cyrus -c '/usr/local/cyrus/bin/reconstruct -f user.username'".
13. Run "su cyrus -c '/usr/local/cyrus/bin/quota -f user.username'".

This has been working fine for me on many restores over the past year.

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