- 论坛徽章:
- 0
|
qmailadmin quota问题,已经是第四天了啦!版主帮帮心忙吧!!
这个不就在README.quota文件中吗,说的多详细。
* DOMAIN QUOTAS
If you want to implement a quota for a whole domain, you have 2 options. You can either put the domain under a unique system id and implement system quotas, or (as of 5.3.1 you can use a non-system domain quota. To implement the rmer, just use 'vadddomain -u <system user>; <domain>;' and set the system quota for that user. To implement the latter, you must first compile vpopmail with "--enable-domainquotas=y". Then, you can add this to your .qmailadmin-limits file
quota 50
maxmsgcount 1000
This would set a total domain quota of 50MB , and a maximum message count of 1000 messages for the entire domain. Modification of domain quotas should be done with the vmoddomlimits program.
NOTE: Non-system domain quotas are only enforcable when vdelivermail is the local delivery agent. If you pipe your mail into anything else, like maildrop, then the non-system domain quota will be ignored. An alternative would be to install the domain under a unique system user (vadddomain -u) and set system quotas on that account. |
|