==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 9.9 MariaDB
- Deployed with iRedMail Easy or the downloadable installer: Probably downloadable version 9.7 or before
- Linux/BSD distribution name and version: CentOS Linux release 7.6.1810 (Core)
- 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 again,
After upgrading iRedMail, iRedAPD, iRedAdmin-Pro (SQL) we are seeing outside addresses being throttled as "outbound".
The emails we get about the quota are like this:
Subject: Throttle quota exceeded: account@anotherdomain.tld, max_msgs=200
Body:
- User: account@anotherdomain.tld
- Client IP address: <out mail gateway ip address>
- Throttle type: outbound
- Throttle setting: max_msgs
- Limit: 200
- Detailed setting: msg_size=0 (bytes)/id=1/account=@.; max_msgs=200/id=1/account=@.; max_quota=0 (bytes)/id=1/account=@.;
Related "account" from table iredapd.throttle:
MariaDB [(none)]> select * from iredapd.throttle where account = '@.'\G;
*************************** 1. row ***************************
id: 1
account: @.
kind: outbound
priority: 0
period: 86400
msg_size: 0
max_msgs: 200
max_quota: 0
1 row in set (0.00 sec)
As you can see it's kind is "outbound", we do not have "anotherdomain.tld" listed anywhere as ours, yet it shows up as "outbound". This is the only record where priority is 0, everything else is higher. Domains are 5 and individual accounts are 10. We only have one inbound throttle and it's for an individual account.
Edit: Also, outbound quotas do work, I have set up a test account with max_msgs = 2, when I hit this quota it acts appropriately, so it's not a simple inverted where clause or something like that... or so I assume.
Let me know if you need any other information and thanks for the help!