==== Required information ====
- iRedMail version: 0.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Linux/BSD distribution name and version: CentOS 7
- Related log if you're reporting an issue:
====
I set global throttling using iRedAdmin-Pro 2.0 to max 5 emails per day and then tried sending more than 5 emails with a single account, which worked. Cluebringer didn't stop me and when I check the database it seems like Cluebringer is not even tracking the outgoing emails:
MariaDB [cluebringer]> select * from quotas;
+----+----------+------------------+--------------------+--------+---------+----------------------------------------------+---------+----------+
| ID | PolicyID | Name | Track | Period | Verdict | Data | Comment | Disabled |
+----+----------+------------------+--------------------+--------+---------+----------------------------------------------+---------+----------+
| 1 | 2 | default_outbound | Sender:user@domain | 86400 | reject | Quota exceeded (5 messages in 86400 seconds) | NULL | 0 |
+----+----------+------------------+--------------------+--------+---------+----------------------------------------------+---------+----------+
1 row in set (0.00 sec)
MariaDB [cluebringer]> select * from quotas_limits;
+----+----------+--------------+--------------+---------+----------+
| ID | QuotasID | Type | CounterLimit | Comment | Disabled |
+----+----------+--------------+--------------+---------+----------+
| 1 | 1 | MessageCount | 5 | NULL | 0 |
+----+----------+--------------+--------------+---------+----------+
1 row in set (0.00 sec)
MariaDB [cluebringer]> select * from quotas_tracking;
Empty set (0.00 sec)
I got this to work on a previous installation but I had to manually configure it using the cluebringer UI.. which I don't have now, as I'm using Nginx and I won't install Apache just for this. It was the only solution on the old version as RedAdmin-Pro didn't support global throttling yet.