Russell \"Elik\" Rademacher wrote:
>
> Okay guys. I want to ask if anyone written a code which goes though the
> entire /vpopmail/domains directory and cull all the email addresses in each
> domain and parse it to reset the quota size for all accounts, since it seems
> I set it wrong in the vpopmail compliation and there is like around 5,000
> email accounts which I need to correct.
>
> Anyone got anything something close to that which I can use to get this
> done quickly? Any help is appreciated.
>
> ----------------------------------------------
> Linux Administrator & Consultant
> Russell "Elik" Rademacher
4.9.7
Dec 14 - add quota flag to vmoduser for setting the quota
[kbo@orbital vpopmail-4.9.7]$ ./vmoduser -v -h
version: 4.9.7
vmoduser: usage: [options] email_addr or domain (for the entire domain)
options: -q (set quota)
For example:
[kbo@orbital vpopmail-4.9.7]$ ./vmoduser -q 500000 test.com
To set all the test.com user quota's to 5Mbytes
You can pick it up about 14 hours from now on the vpopmail page
Ken Joens