I have uploaded a patch against vqadmin-2.3.6 to sourceforge:

    http://tinyurl.com/z3sm

Here's the summary:

This is a patch to vqadmin 2.3.6 that does 3 things:

1) 2.3.6 added bogus entries to dir_control (at least 
if vpopmail is built with --enable-many-domains=y) when 
trying to get a count of users in a domain. Fixed by 
copying code from qmailadmin for counting users 
instead.

2) vlimits support. I'm not sure which version of 
vpopmail introduced vlimits, but vqadmin doesn't need 
to modify/know about .qmailadmin-limits (if it even 
exists) anymore.

3) Quotas are now displayed and can be entered in the 
formats: nnM, nnK, or nn (bytes).

4) Adds a call to vsetuserquota() after vauth_setpw() to
ensure (starting with vpopmail-5.4.0-pre2) that the user's
maildirsize gets updated after (possibly) changing a quota.

I can now trust vqadmin to work with recent versions of 
vpopmail and qmailadmin without screwing up my quotas, 
not setting quotas, adding garbage to dir_control (I 
don't think it hurt anything, though), etc.

-- 
Casey Zacek
Senior Engineer
NeoSpire, Inc.

Reply via email to