1

Topic: Roundcoube mailbox size

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version:  Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====

Hello!
I need help!
I don 't know I have a problem or is it a roundcoube failure?
Once the mail user, for example baduser@domain.com filled his mailbox with 90% (1024 MB limit) and was informed by the mail server.
He cleaned his mailbox of extra letters, spam and cleared the trashbin.
I connect by ssh to the server console and check that the directory size is vmail1/domain.com/baduser = 160 MB, but roundcoube still shows 90% -91% -92% of the 1024 MB and continues to increase.
Checked on different computers, different browsers, cleaned the cache. Tried to switch roundcoube graphics interfaces. None of it helped.
Now I just increased the limit to 2048 MB and now it shows 46%, but I don 't know how to make the runcoube show the correct mailbox size. (160 MB of 2048 MB)
Maybe I 'm doing something wrong? And the runcoube shows not the size of the vmail1/domain.com/baduser directory?
Or can I start some kind of data conversion mechanism? Or do you want to restart any service on the server?
Restarting the entire server (host) failed...:)
I apologize for my bad English! This is the translator
I will be grateful for any help to me!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roundcoube mailbox size

To recalculate specific user's usage:
doveadm quota recalc -u user@domain.tld

To recalculate all users:
doveadm quota recalc -A

3

Re: Roundcoube mailbox size

Yes!!!
It solved my problem! Thanks a lot!
Write down these bookmark commands.
You 've helped me a lot!

4

Re: Roundcoube mailbox size

You're welcome.
Another command you might find useful, if you want to check everyone's current usage with doveadm is:
doveadm -f table quota get -A | grep STORAGE
which gives you a table view showing the quota values & usage per user.
Also provides a simple way to check if the quota recalculation command was successful without running over to the user to check smile

5

Re: Roundcoube mailbox size

FYI: https://docs.iredmail.org/recalculate.m … quota.html