Topic: Domain quotas not enforced
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Debian 14.0.2 TLS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hi,
I am currently creating custom scripts to manage users and domains quota.
At first sight, it seems to work fine, everything appear in iRedAdmin interface and SQL tables as i set on my scripts (quota in mailbox table and maxquota in domain table).
The problem is that domain quota are not enforced, as I can set higher user quota.
Then when I send multiple mails to a user with an higher quota, even if the domain quota is reached, user quota prevails over it.
Here is an overly exaggerated screen
Is there anything that I am missing, restriction due to not using iRedAdminPro? Need to modify other things?
Thanks in advance
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.