PGmail recalculate mailbox quota

Print Friendly

There are some occasions where you might want to recalculate the quota and the total number of messages existing in a mailbox, for a single user or maybe for all your users. This can be accomplished with deleting the record/s in the table used_quota.

mysql> USE vmail;
mysql> DELETE FROM used_quota WHERE username='user@domain.ltd';

OR

mysql> USE vmail;
mysql> DELETE FROM used_quota ;
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published.