I have recently seen various mails regarding "quota modification privilege"
on manager accounts (allowing designated "manager" accounts to modify
quotas), stuff that should only be done by the postmaster account. To solve
this, I have hacked the qmailadmin-1.0.6 (quota patched) source to add the
following functionality for service providers:

+ Only allow "postmaster" to modify quota field.
+ "manager" accounts can still add/delete/modify accounts (except
postmaster).
+ "manager" accounts can see quota usage for their domain.

When we sell a mail hosting service, the customer specifies the number of
email accounts he/she wants and this value is configured in the
.qmailadmin-limits file (plus 1 for postmaster).  Each account is setup with
the "default" quota (in my case 10MB) by specifying this value in vpopmail
before compilation via configure script.  We require that at least one
master account be specified, and that account is given "manager" privileges
so they customer can manage all accounts in the domain.

If any particular user requires more space in their account, this is done by
either charging an additional fee for the additional storage, or sacrificing
one or more accounts and using that quota to increase the requested space
requirements for the customer.  In any case, quota modification requests
*must* be submitted in writing to avoid future disputes.

Problem:
+ how to make .patch file for summital.

Jorge Valdes
[EMAIL PROTECTED]


Reply via email to