from mailquotacheck.sh :
<snip>
...
# Get the users 'home' directory - where there .qmail file is
dir="$HOME"
...
</snip>
make sure 'dir' somehow points to the actual user directory
and
<snip>
...
# What is the maildir's current disk usage
du=`$du -sk $dir/Maildir | $awk {'print $1'}`
...
</snip>
notice the addition of '/Maildir' after the '$dir'. this will only check
the Maildir directory below the actual home directory.
(sorry don't know about vchkpwd)
-marlon
At 09:26 PM 6/14/99 -0400, Kelvin Koh wrote:
>Hi,
>
>I am using vchkpw, my email directories are as follows:
>
>/home/vpop/domains/blah.org/ , /home/vpop/domains/abc.com
>
>Recently, there is a need to set a 5mb quota to all mailboxes in my
>system. Using Paul Gregg's mailquotacheck script, I tried to accomplish
>the task. It didn't work; running the script in
>/home/vpop/domains/abc.com/.qmail-default will limit the abc.com up to
>5mb of space for all emails together.
>
>How can I set the quota for each individual mailbox? I wish to use a
>single UID/GID for my email system only. Please advice.
>
>Thanks,
>Kelvin Koh
>[EMAIL PROTECTED]
> -- 0 1 - just my 2 bits. --
>
>
>
>
>