Following the qmailadmin-1.0.10, and using (thanks!!!) Justin Hopper's code as starting framework, I've just realized a domain pooled quota management, that I'ld like could be integrated in the standard qmailadmin code.

I followed the advice someone did a lot of time ago in this list. I cannot find those messages, so I don't know who I should thank.

The base idea is the following:

postmaster has the pooled quota against which all user's quota are subtracted or added. So, when a domain is created, postmaster has the whole domain's quota. Each time a user is added, the user's quota is decreased from postmaster's quota. The contrary when a user is deleted. Same adjustements when a user's quota is modified, increasing or decreasing postmaster's quota depending on user modifications. Minimum quota for each user or postmaster is 1 MB.

This mechanism helps providers giving customers a fixed amount of space for the domain, then each domain administrator may manage users' quota as he needs.

It works if "--enable-quota=y" is specified, and "disable_pooled_quota" does not exist in .qmailadmin-limits.

Additionally, a small bug on quota handling have been fixed and a couple of additional .qmailadmin-limits flags ("bounce_mail" and "disable_smtp") have been added.

I've published both the integral tar, with all original sources and changes, and the tar with patches only, in:

www.interazioni.it/qmail

All is strictly based on qmailadmin-1.0.10.

I'ld like that Ken and Bill could insert these features in a next public version of qmailadmin.

Tonino




------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it [EMAIL PROTECTED]
------------------------------------------------------------


Reply via email to