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?

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