Try using system quotas instead. This is what I use.
Put each virtual domain under a separate unix user.
Impose a system quota on that user. Then set per-user
quotas from qmailadmin.
There's a -u option to vadddomain to set it to the specified
unix userid and setup the "domains" directory under that user's
This is a workable approach (I've been using it for years),
and I'm delaying patching vdelivermail to implement it
so I can finish up on qmailadmin.
> Hi Brian!
> I have installed Qmail+vpopmail+swwebmail on Redhat Linux 8.0
> Now, I want to implement disk quota per virtualdomain.
> when I add a virtualdomain ./vadddomain manish.com -q 2000000
> this option works as
> -q quota_in_bytes (sets the quota for postmaster account)
> Sets the quota for postmaster account.
> But as I have 25 virtualdomains, I want to allocate specified disk quota
> to each virtualdomain.
> And the postmaster of that virtualdomain can use that disk space as per
> his requirement with any number of users.
> Please give the workable answer...
> Manish Jain
> System Admin
> ERDCI Noida
Galaxy Networks, Inc.