Re: diplay quota for all users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the quick answer, Andrew.

what about any data corruption? I mean, is there a quota db?
----- Original Message ----- From: "Andrew Morgan" <morgan@xxxxxxxx>
To: "Rafael Mahecha" <mahecha@xxxxxxxxx>
Cc: "Cyrus Info List" <info-cyrus@xxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, December 21, 2006 3:13 PM
Subject: Re: diplay quota for all users


On Thu, 21 Dec 2006, Rafael Mahecha wrote:

I would like to see the quota for all my users and output that to a file... I tried the command bellow in a test server, but I'm still a little reluctant to try it on my production server.

su - cyrus -c "/usr/lib64/cyrus-imapd/quota" > /mailstore/quotas_list.txt


Is there anything to keep in mind while running the command?
Is there are quota database (I did not see one)?
Should cyrus be stopped while doing this?
Are teh any flags/options to the cyrus quota command?

We run the quota command nightly on each of our backends in order to generate a list of people that are nearing their email quota. It takes approximately a minute to run, and has no real performance impact on the servers. There are a few options for the quota command, which are documented in the manpage.

Andy

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux