Topic: User mailbox quotas do not update after doveadm-expunge
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.3 with iRedAdminPro 1.8.1
- Linux/BSD distribution name and version: Ubuntu 12.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====
I don't know if this is a problem with iRedAdminPro admin panel, or with the actual mail server, so forgive me if I post this to the wrong section of the forum.
I have some users with large amounts of mail in the Sent, Trash and Junk mailbox folders and they need to be expunged. They are using Thunderbird, and do not have the "Expunge Inbox on exit" setting set in their client, and I cannot easiliy control this setting for each one of them (and I am not sure if it actually handles Trash and Junk as well?)
I can however, easily expunge mails centrally from the server with commands such as:
doveadm expunge -A mailbox Sent savedbefore 60d
doveadm expunge -A mailbox Junk savedbefore 60d
doveadm expunge -A mailbox Trash savedbefore 60d
which does this for all users, and that is working completely fine.
However, the iRedAdminPro admin panel quota display still shows exactly the same figures as before that expunge. Restarted the server, no change still.
How do I rerfresh it? Why doesn't it do it automatically? Any better way to do that expunge?
Peter
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.