I have a few mailboxes that are using a different amount of space in qmail’s eyes vs what the CP calculates with the “Calculate Box Size” features. For these mailboxes, the maildirsize shows a much higher usage number, certainly due to direct manipulation of the Maildir with rsync in the past.
I have tried many ways to recalculate that file, according to recommendations found elsewhere, but the file always comes back with the same values as if it is being duplicated from another source (perhaps the InterWorx SQL database). How can I accurately and permanently recalculate it?
That script will recalculate the mailbox quotas? The script name sounds like it only fixes permissions. Are there any negative side effects I should be aware of before running it?
I thought of varpermsfix as it could be a permission issue on the quota, but sorry if I’m wrong
Running the script I believe should not have any adverse effects as all it does is to correctly set the permissions on the var folder of the siteworx account
Appreciate if you could update your post once it’s been resolved
For future reference, in case anyone is looking for how to do this in the future, removing and recreating the maildirsize file forces it to update. ? To do so,first delete the file via the command line. Then, in SiteWorx, next to the mail account you would like recalculated, click “Edit” and then “save”–you don’t actually have to make any changes in the ‘Edit’ box. This will rebuild the file.