No one has sent me a patch like that. Ken Jones
On Monday 13 January 2003 02:19 pm, tonix (Antonio Nati) wrote: > Ken, > > speaking as provider, it does not make sense to me just let postmasters to > decrease their user's quota (they will never do it), nor letting them to > increase as they want (I don't want it!). > > I've read here in the past that someone made a nice patch, using the > postmaster's quota as pool to use as general quota of the domain. Each new > user, or each increased quota value for any user would be decreased from > postmaster's quota, any deletion of user or any decrease of user's quota > would increase the postmaster's quota. > > I'ld like to see that patch included, it would solve my problems (and a lot > of other providers too, I think). > > It would enought to do that only within qmailadmin, without touching > vpopmail. > > Tonino > > At 13/01/03 13/01/03 -0600, Ken Jones wrote: > >On Monday 13 January 2003 01:41 pm, tonix (Antonio Nati) wrote: > > > Ken, > > > > > > one question. > > > > > > Which patch is this? The one using the postmaster's quota as pool from > > > which to add and subtract users quotas, or does just let postmaster > > > modify quota without any limit? > > > >I just checked the code, in user.c and it looks like the quota patch > >allows for setting the quota to any value. Just added new code to > >#ifdef ENABLE_MODIFY_QUOTA in the add and modify user code > >to completely disable setting quota's if --enable-modify-quota=n > > > >Also just updated the add_user template to use add_user_quota.html > >and add_user_noquota.html depending on MODIFY_ENABLE_QUOTA > > > >I wonder if we should change the code so it won't let the postmaster > >increase a quota above the default quota set in .qmailadmin-limits ? > > > >Ken > > > > > Tonino > > > > > > At 13/01/03 13/01/03 -0600, Ken Jones wrote: > > > >I've integrated all the patches people have sent in, > > > >including the quota support patch. > > > > > > > >ChangeLog: http://www.inter7.com/qmailadmin/ChangeLog > > > >Source: http://www.inter7.com/devel/qmailadmin-1.0.7.01132003.tar.gz > > > > > > > >A new configure option is available > > > >--enable-modify-quota=y/N (default is no) > > > > > > > >Enable this option to yes will display the quota change > > > >field in the modify user section to allow domain admins (postmaster) > > > >to change the quota for any user. The default is to not allow > > > >anyone to change to quota. Hopefully this should fit the needs > > > >of sites that want quota change and those sites who do not > > > >want to allow it. The default gives the old behavior. > > > > > > > >Please give this one a good work out! > > > >Once there are no problems found we can release > > > >this as the new stable version. > > > > > > > >Ken Jones > > > >inter7.com > > > > > > ------------------------------------------------------------ > > > Inter@zioni Interazioni di Antonio Nati > > > http://www.interazioni.it [EMAIL PROTECTED] > > > ------------------------------------------------------------ > > ------------------------------------------------------------ > Inter@zioni Interazioni di Antonio Nati > http://www.interazioni.it [EMAIL PROTECTED] > ------------------------------------------------------------
