would it not be easy to use the du command on ~/vpopmail/domains/

-John


-----Original Message-----
From: vol [mailto:vol] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, October 17, 2002 3:47 PM
To: Brendan McAlpine
Cc: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Getting a list of all mailboxes and their size?


No such command exists, but a simple shell script
should do the trick.

Use vuserinfo to list all the users, parse out the user's directory from
the output and check the size of the directory.

Brendan McAlpine wrote:
> 
> Is there a vpopmail command for listing all the mailboxes in a domain 
> along with their size?
> 
> All I need is the mailbox username and its current size.
> 
> Thanks
> 
> Brendan

-- 
mailto:vol@;inter7.com
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices






Reply via email to