[GH-ISSUE #2183] Free quota doesn't upgrade when emails are deleted #1537

Closed
opened 2026-02-27 11:17:39 +03:00 by kerem · 2 comments
Owner

Originally created by @bpincaro on GitHub (Feb 20, 2021).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2183

Impacted versions

1.17.0

  • OS Type: Debian/Ubuntu
  • OS Version: 20.04.2 LTS (GNU/Linux 5.4.0-65-generic x86_64)
  • Database Type: MySQL
  • Database version: mysql V15.1 Distrib 10.3.25-MariaDB
  • Modoboa: 1.17.0
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

Current behavior

Quota keeps inflating even when emails are deleted

Configured my mail client, everything almost works as expected (can send and receive mails) except for the fact that the quota keeps inflating. Deleting emails doesn't free some space as it was supposed to. Tried also on the webmail platform, deleted the mails in quarantine there, everything stayed the same... quota haven't changed!!!!

Checked the DB, table admin_quota, it doesn't update on emails delete only on new mails received. Is it normal? I'm guessing this is the problem.

Expected behavior

Freeing quota on emails deletion

Video/Screenshot link (optional)

Originally created by @bpincaro on GitHub (Feb 20, 2021). Original GitHub issue: https://github.com/modoboa/modoboa/issues/2183 # Impacted versions 1.17.0 * OS Type: Debian/Ubuntu * OS Version: 20.04.2 LTS (GNU/Linux 5.4.0-65-generic x86_64) * Database Type: MySQL * Database version: mysql V15.1 Distrib 10.3.25-MariaDB * Modoboa: 1.17.0 * installer used: Yes * Webserver: Nginx # Steps to reproduce # Current behavior Quota keeps inflating even when emails are deleted Configured my mail client, everything almost works as expected (can send and receive mails) except for the fact that the quota keeps inflating. Deleting emails doesn't free some space as it was supposed to. Tried also on the webmail platform, deleted the mails in quarantine there, everything stayed the same... quota haven't changed!!!! Checked the DB, table admin_quota, it doesn't update on emails delete only on new mails received. Is it normal? I'm guessing this is the problem. # Expected behavior Freeing quota on emails deletion # Video/Screenshot link (optional)
kerem 2026-02-27 11:17:39 +03:00
Author
Owner

@kryskool commented on GitHub (Feb 24, 2021):

hi @bpincaro

Hev you try to recompute quota ?

regards,

<!-- gh-comment-id:784878983 --> @kryskool commented on GitHub (Feb 24, 2021): hi @bpincaro Hev you try to recompute [quota](https://modoboa.readthedocs.io/en/latest/manual_installation/dovecot.html?highlight=quota#forcing-recalculation) ? regards,
Author
Owner

@bpincaro commented on GitHub (Feb 24, 2021):

Hi @kryskool ,
no, hadn't done it yet...
Guess it worked running the command!!! All seems to be working for now!

Thanks.

<!-- gh-comment-id:784979546 --> @bpincaro commented on GitHub (Feb 24, 2021): Hi @kryskool , no, hadn't done it yet... Guess it worked running the command!!! All seems to be working for now! Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1537
No description provided.