On Mar 9, 2005, at 6:15 PM, [EMAIL PROTECTED] wrote:
the best aproach is to write a perl script that runs queries on a database, gets path to a user's mailbox on the server, uses File::Find to include only files in Maildir/cur and Maildir/new as well as :subfolders:/cur and :subfolders:/new with the exception of trash folders.
that should give a much clearer picture. in addition it can scale better.

How about using `vpopbull -n` (maybe `vpopbull -n -V`) to get a list of email accounts and then `vuserinfo -Q <emailaddress>` to get the quota usage?


I think that you could even use vuserinfo -d to get the path to the user's maildir, delete the maildirsize file, and then call vuserinfo -Q to have the file rebuilt.

--
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com


Reply via email to