Re: Code to reset Quota for mass accounts all around
Dear Ken: This convenience feature is what I have been hoping for for a long time... Glad to hear it's coming... >From one of your users that thinks vpopmail is a great product suite. Kittiwat - Original Message - > 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 50 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 >
Re: Code to reset Quota for mass accounts all around
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 50 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
Code to reset Quota for mass accounts all around
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