As a few folks pointed out in private email, the whole point of PG's
mailquotacheck is to check the size of pop toaster accounts. My bad.
Saw $HOME, and immediately thought of what $HOME usually means.
Why is it not working though? I've got 10's of megabytes of files in
my delivery directory (just to test this out) and all deliveries are
proceeding normally. All test messages are 20k or larger (so the 1k
thing isn't stopping them). mailquotacheck.sh is in the correct
directory, and is executable. /bin/sh is in the correct place. ??
Jon
At 12:50 PM -0700 10/7/99, Jon Rust wrote:
>I was going to use Paul Gregg's mailquotacheck.sh for managing
>mailbox sizes on my pop toaster. However, I noticed this line:
>
> # Get the users 'home' directory - where there .qmail file is
> dir="$HOME"
>
>Bah! All of my delivery directories are in
>/var/qmail/popboxes/domain/userid, and all use Maildir for delivery.
>Since there is no $HOME for that user, I don't think this will work.
>How can I get mailquotacheck.sh to check the size of ./Maildir/ in
>these user-less mailboxes?
>
>The .qmail files look like so for each mail directory:
>
> |/var/qmail/bin/mailquotacheck.sh
> ./Maildir/
>
>Each .qmail file is a link to a master file:
>
> mail0:/var/qmail/popboxes/domain1/user{274} # ls -l
> total 5
> lrwxr-xr-x 1 root qmail 28 Oct 1 23:52 .qmail ->
> /var/qmail/control/dot-qmail
>
>
>Thanks,
>jon