IRedMail/FAQ/Recalculate.Mailbox.Quota

From iRedMail

Revision as of 16:47, 28 June 2011 by ZhangHuangbin (Talk | contribs)
Jump to: navigation, search

iRedMail enables dict quota since v0.7.0, dict quota is recalculated only if the quota goes below zero.

For MySQL backend:

Terminal:
mysql> USE vmail;
mysql> UPDATE mailbox SET bytes=-1,messages=-1 WHERE username='user@domain.ltd';

For OpenLDAP backend:

Terminal:
mysql> USE iredadmin;
mysql> UPDATE used_quota SET bytes=-1,messages=-1 WHERE username='user@domain.ltd';

Re-login to webmail will get correct quota size.

Personal tools