Rohit Gupta writes:
 > Any any out to actually fix up a disk quota for allthe virtual usrers...
 > pls help

Yes.  You can use this code:

<li><a href="http:[EMAIL PROTECTED]">Paul Gregg</a> has a 
script
which runs from a .qmail file that checks a Maildir for a quota
(clearly only effective on a userless mailhub).  The script is called
<a
href="http://www.tibus.net/pgregg/projects/qmail/mailquotacheck/">mailquotacheck</a>.

or else you can use my friend's direct patch to qmail-local which adds 
up the sizes of the files in the Maildir, and bounces the mail if they 
add up to too big a number.  Unfortunately, he used standard C library 
string functions instead of djblib string functions.  He's going to
rewrite it, but it's not ready yet.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com | Government is the
Crynwr sells support for free software  | PGPok | fictitious entity by which
521 Pleasant Valley Rd. | +1 315 268 1925 voice | everyone seeks to live at
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | everyone else's expense.

Reply via email to