Quoting Jochen Schug <[EMAIL PROTECTED]>:
> Alexander Bruns wrote:
> >I am traying to get quota work for my installation og vpopmail stable
> I don't know how reliable the quota support in vpopmail-5.2.1 is, in the
> developement branch it's working pretty good. One big improvement is the
> per-domain quota, and not just on a per-user basis (I don't want my
> users to create 100 accounts per domain that take up 20 megs each).
> I tried to reproduce the behaviour you mentioned in your other mail, but
> I have vpopmail compiled with a default quota size, so the maildirsize
> file is created automatically when I add a user.
> >>Unless I'm not getting this right, vmoddomlimits should be exactly what
> >>you need:
> >>vmoddomlimits: usage: [options] domain
> >>options: -v ( display the vpopmail version number )
> >> -S ( show current settings )
> >> -Q quota ( set domain quota )
> >> -q quota ( set default user quota )
> >>So a one-time "vmoddomlimits -q 20971520 domain2.com", together with a
> >>"vmoduser -q 20971520 [EMAIL PROTECTED]" for the postmaster
> >>account, and you're done.
> >I do not have the command /home/vpopmail/bin/vmoddomlimits.
> >Is this a feature of the develment versions of vpopmail?
> Yes, it is indeed. I'm currently running 5.3.27.
If I understand vmoddomlimits correctly, that sets a TOTAL quota on the domain.
Say I set the domain quota for domain2.com to 20m, that means that the entire
domain can only use 20m to be split between all their users.
So for domain2.com, I need a way to set vmoduser for each user created under
domain2. However, you must remember that this needs to be entirely automated
for that domain. The admins cannot constantly be overlooking that domain to
vmoduser that account manually.
Perhaps the authors of vpopmail could add another column to mysql for per-domain
domain1 -> each user created gets a 10m quota
domain2 -> each user created gets a 15m quota
Does this seem to clarify at all?
This mail sent through IMP: http://horde.org/imp/