Most situations would be fine with this, however, the reason
I stated my method, rather than the alternative, is because
some people specify other directories to add domains into.

>From the vadddomain usage:
         -u user (sets the uid/gid based on a user in /etc/passwd)
         -d dir (sets the dir to use for this domain)
         -i uid (sets the uid to use for this domain)
         -g gid (sets the gid to use for this domain)

John Johnson wrote:
> 
>  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

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