Re: Patch to vqadmin 2.3.6 (dir_control fix, vlimits, pretty quotas, maildirsize)
Ken Jones <[email protected]> Tue, 16 Dec 2003 12:18:49 -0600
| Newsgroups | gmane.mail.vqadmin |
|---|---|
| Organization | inter7 |
| Message-ID | <[email protected]> |
On Saturday 13 December 2003 3:02 pm, Casey Zacek wrote: > 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). This looks really good. I'll add it to the schedule for release testing. Ken Jones > > 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.