How to change disk quotas for multiple e-mail accounts to unlimited

2 posts / 0 new
Last post
#1 Thu, 04/05/2012 - 22:50
yngens

How to change disk quotas for multiple e-mail accounts to unlimited

I need to remove disk quotas for hundreds of e-mails at once. Is there any script or virtualmin cli command to set this value to unlimited?

Fri, 04/06/2012 - 08:26
andreychek

Howdy,

Well, using the command line tools -- you can modify the quota for an email account, though you can't actually remove it.

So you could set it to a very high value.

You can see that option by running:

virtualmin modify-user

You could make a script that loops through the output of "virtualmin list-users --all-domains", and changes the quota on each of them.

-Eric

Topic locked