Unfortunately adding a unique user per domain is not a viable solution
for a lot of people especially when there are thousands of domains.

I have implemented domain quota by tweaking old vpopmail code before
maildirquota was implemented.  Basically disabling user quota and
recalculate quota for the entire domain when new mail arrives.  Then
comparing this number to the value MaxQuota inside .qmailadmin-limits to
determine whether the entire domain is over quota or not.  It is rather
inefficient but it mostly works.

Now I want to do the same with new vpopmail but I don't understand
enough about the new way in which it calculates quota.

If someone is more well verse and willing to do this, let me know and I
can help.  Otherwise, I will still attempt it but it will take a looong
time to study the code.



> -----Original Message-----
> From: Claudio Nieder [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, January 28, 2003 1:53 AM
> Subject: Re: [vchkpw] disk quota per domain
> Hi,
> > Please give the workable answer...
> Use vaddoains -u option to assign to each domain a different 
> user and use your OS quota facility to assign each user the 
> desired quota.
>                               claudio
> -- 
> Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 
> 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212
> mailto:[EMAIL PROTECTED]                http://www.claudio.ch

Reply via email to