On Tue, 2001-12-04 at 11:51, Mike Rogers wrote: > Hi Guys, > I am interested in enabling quota support on a per-user and per domain > basis and I do not want to set a default. Of course, in the configure > arguments, it's either a numerical value or n (disable) [no y- y is bad. > Don't use y]. Is there any way to compile in the quota support to be > enabled on a per-domain and per user@domain basis only when set manually by > vmoduser or while creating the domain? > -- > Mike > >
Per domain quotas should be handled by setting OS user quota's and placing the domain in the users home directory. vadddomain -u user domainname Per user quotas are always active. Quota checking can be enabled or disabled on a per user basis. Setting the quota to "NOQUOTA" disables it. Setting it to any number enables quota and sets it to that number. Bill Shupp is working on 5.1.1 development version which switches the quota code over to using maildirquota's as per MrSam's sqwebmail, courier code. So they will be compatible. To answer your question, don't use --enable-hardquota. Then it will default to NOQUOTA. Then you can manually change the quota per user with vsetuserquota. For domain quota's use the OS's user disk quota. It's much more efficent than having vpopmail check for space. If you setup domain quota's in this way it would also apply to web sites hosted under the user's home dir. Ken Jones