1

Topic: When upgrading to Debian 13 Roundcube does not recognize user quotas.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.4 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Debian 13.3 (Trixie)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I'm upgrading from Debian 12 to 13. During the upgrade, I left all the configuration files as they were.
I followed the steps in the document "Fixes you need after upgrading Debian from 12 to 13 (trixie)".
I can access emails through Roundcube, but Roundcube returns 0 for the user quota.
If, in the Dovecot configuration file, under Virtual Mail Accounts, I change the line "CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule \" to "mailbox.quota*1048576 AS quota_storage_size \", Roundcube does display each user's quota. When a user exceeds their quota percentage, they receive a message indicating the percentage exceeded.

However, in iRedAdmin, when viewing the user list, it always shows 0% and 0 email addresses, although the quota limit is displayed correctly.
Is there a missing step in the operating system update, a step in the document, or a modification to the configuration files that hasn't been considered?

----

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

2

Re: When upgrading to Debian 13 Roundcube does not recognize user quotas.

pamartin64 wrote:

If, in the Dovecot configuration file, under Virtual Mail Accounts, I change the line "CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule \" to "mailbox.quota*1048576 AS quota_storage_size \", Roundcube does display each user's quota.

You're correct, this is indeed a bug of the dovecot config file offered in iRedMail git repo.
Thanks for the feedback.

I fixed the sample dovecot config files mentioned in doc and iRedMail repo moment ago.