1

Topic: Recalculating All Quota

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? No
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

We want to recalculate all the quota for all mailboxes and domains. Is truncating used_quota table in mysql and running "doveadm quota recalc -A" good practice? Will "doveadm quota recalc -A" put correct entries in used_quota table in database?

Thanks.

----

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

2

Re: Recalculating All Quota

cihan wrote:

Is truncating used_quota table in mysql and running "doveadm quota recalc -A" good practice?

It's ok.

cihan wrote:

Will "doveadm quota recalc -A" put correct entries in used_quota table in database?

Yes.