On Sunday 12 January 2003 04:41 am, Honti Miki wrote: > > My problem is, I don't want people will can put no quota or have a quota > > greater than --enable-defaultquota parameter in vpopmail. >
domain quota's have always been supported via the following method 1) Create file system quota on a directory. In RedHat it would normally be the /home directory 2) Create a regular /etc/passwd system user account 3) Assign a quota to the users home directory 4) Create the domain under the users home dir. example: /home/vpopmail/bin/vadddomain -u username domainname 5) Change qmailadmin to be setuid root Example: -rwsr-sr-x 1 root root 104424 Jan 10 14:36 qmailadmin This will allow qmailadmin to manage the domain owned by the user. The OS will then efficently control the quota on the domain. This is the most efficent way we have found to handle domain based quotas. Any method that counts incoming emails and deletion of emails via sqwebmail/pop/imap carries a much high transaction level cost. For small sites this processing cost will probably not be noticed. But as the number of transactions increase, this cost can become prohibitive. > also would be grate the per-domain-quota, what about this? i remember, > that was on the list some mail about this, but i did not find any doc > about .qmailadmin-limits in the 1.0.7 tar. shuld i use the latest vqadmin? I always do :) > also would be good if in .qmailadmin-limits would be available > for example an disable_quota_modify, and the root could set this per > domain. Perhaps someone can write a patch to the lastest vqadmin to support all the new qmailadmin 1.0.7 features. Ken Jones > > in the changelog the version number 1.0.6 missed. > > thank you for your work, qmailadmin is a realy good stuff. > > bye > > Miki
