Jeremy Kitchen writes:
On Thursday 23 December 2004 09:37 am, Tom Collins wrote:On Dec 23, 2004, at 12:49 AM, Peter Nilsson wrote:
> I have vpopmail installed and about 2000 domains hostet, the system is
> filbased (no mysql used) and is working perfekt :-)
> Now i want to give ekstra space to all users so they have 100 MB quota
> instead of 50 MB.
> I have .qmailadmin-limit file in every dir with the old quota settings.
> Is there any way i can change quota on all accounts in one command or
Write a script to go through the output of `vdominfo -n`, which should
give you a list of domains. Then call vmoddomlimits for each domain
and set the new quota.
If you're not good at shell scripting, perhaps someone else on the list
can contribute a script that accomplishes your goals.
for i in `~vpopmail/bin/vdominfo -n` ; do ~vpopmail/bin/vmoddomlimits -whatever $i ; done
-- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]