Submitted by Hal9000 on Tue, 08/30/2016 - 18:39
For some reason, my OpenVZ container running Virtualmin did not enable quotas correctly on the previous reboot. As a result, the domain validation reported that all unix users became unlimited. To fix this, I shut down and restarted the container, now Quota work again (re-check configuration confirms).
Now, while domain quotas seem to work again, it appears that all mailboxes have the quota set to unlimited. Is there a way to restore those quota settings? Where is the quota information for the mailboxes saved in the backup files?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Tue, 08/30/2016 - 21:49 Comment #1
Howdy -- hmm, does the "virtualmin fix-domain-quota" option help? You could try running that against one of the domains that you're experiencing this issue with to see if that is able to resolve that problem.
Submitted by Hal9000 on Wed, 08/31/2016 - 08:39 Comment #2
Unfortunately that does not have any effect on the mailboxes. Even in Virtualmin all mailboxes show as having an unlimited quota. If I type the "quota -u mailbox_user" in shell, I will get "none" as a reply. So all mailbox quotas are gone. Question is, how do I get them back. I don't mind doing so manually, as long as I can get the data somehow out of a virtualmin backup.
Submitted by JamieCameron on Wed, 08/31/2016 - 22:53 Comment #3
Quotas are stored in the backup, in a file named like example.com_mail_users
Submitted by Hal9000 on Thu, 09/01/2016 - 02:51 Comment #4
Submitted by Hal9000 on Mon, 09/05/2016 - 12:24 Comment #5
Thanks!
Submitted by Hal9000 on Mon, 10/03/2016 - 06:49 Comment #6