[vchkpw] Quota domain
Hi people The vpopmail package has the domain quota default but, if apply the default quota in 1000 bytes por example in domain.com, it apply in each mailbox 1000 bytes. Well is possible put 1000 bytes in a domain, not in a each mailbox? Per example if i have 10 mailbox, the maximum total of all mailbox is 1000 bytes in this domain. Thanks Marcos Dutra
Re: [vchkpw] Quota domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 28 Aug 2002, Marcos Dutra wrote: The vpopmail package has the domain quota default but, if apply the default quota in 1000 bytes por example in domain.com, it apply in each mailbox 1000 bytes. Well is possible put 1000 bytes in a domain, not in a each mailbox? Per example if i have 10 mailbox, the maximum total of all mailbox is 1000 bytes in this domain. Use a per-user domain basis, aplying system quotas to each user. as vpopmail user do: - -- $ sudo adduser quotauser # (add user setting it's homedir to \ ~vpopmail/domains/quotauser) $ sudo edquota quotauser # (set quota do 1000) $ ~vpopmail/bin/vadddomain -u quotauser virtualdomain.psi.br - -- Best Regards, - -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Eduardo A. Alvarenga - Analista de Suporte #179653 Secretaria de Segurança Pública do Estado do Pará Belém - Pará - (91) 223-4996 / 272-1611 eduardo@{thrx.dyndns.org,segup.pa.gov.br} - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= OpenBSD Consultant: www.openbsd.org/support.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9bOEapKK2uJoGDlMRAoSkAKCcszHiDog+2YmmZpz3Muyig/wiFQCfUDN/ lIhP+8lSG4anAI7Cq66RvmA= =gU0n -END PGP SIGNATURE-
Re: [vchkpw] Quota domain
Hi Eduardo, I will write in english because the other people didn't understand nothing =] Well, i don't understand very well what you wrote but, i think in another solution them this... Domain quota is very different then user quota, because i will management these domains, think more or less in 2000 domains, h this is the dead :-) Marcos Dutra Em Qua 28 Ago 2002 11:41, você escreveu: On Wed, 28 Aug 2002, Marcos Dutra wrote: The vpopmail package has the domain quota default but, if apply the default quota in 1000 bytes por example in domain.com, it apply in each mailbox 1000 bytes. Well is possible put 1000 bytes in a domain, not in a each mailbox? Per example if i have 10 mailbox, the maximum total of all mailbox is 1000 bytes in this domain. Use a per-user domain basis, aplying system quotas to each user. as vpopmail user do:
Re: [vchkpw] Quota domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 28 Aug 2002, Marcos Dutra wrote: I will write in english because the other people didn't understand nothing =] Since this is a vchkpw list, and vchkpw is written in english. It's ok to write just in english. If you mind write me in portuguese in private. Well, i don't understand very well what you wrote but, i think in another solution them this... Domain quota is very different then user quota, because i will management these domains, think more or less in 2000 domains, h this is the dead :-) I do not understand what is the problem behaving adding a user to each domain. Aren't *YOU* going to manage this? So why not creating a script such as #/bin/sh /usr/sbin/adduser -batch $1 vchkpw $1 -shell /sbin/nologin /usr/sbin/edquota -p prebuild10mbuser $1 /home/vpopmail/bin/vadddomain -u $1 $2 running it like 'sh adddomainscript.sh quotauser domain.psi.br'. IMHO it is not so hard to run this simple script to manage your domains in conjunction with an web administration interface, suck as qmailadmin. 2000 simple users, *NOT* logging to your machine won't interfere on the system's reliability. Best Regards, - -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Eduardo A. Alvarenga - Analista de Suporte #179653 Secretaria de Segurança Pública do Estado do Pará Belém - Pará - (91) 223-4996 / 272-1611 eduardo@{thrx.dyndns.org,segup.pa.gov.br} - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= OpenBSD Consultant: www.openbsd.org/support.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9bPMMpKK2uJoGDlMRAoHIAJ9L9JRNaEn1f67rRysNpZxqugSGIACglSop Xkm8Q2UAl6z6l81roV7JpUc= =Owxg -END PGP SIGNATURE-