Topic: default throttling limits
==== Required information ====
- iRedMail version: latest
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS latest
- Related log if you're reporting an issue: n/a
====
We recently had a problem with a huge amount of spam being sent out from the server from 1 specific inbox. I dont think it was a server/iredmail compromise (at least i hope not), most probably just one of our clients having malware on their computer or something. When we checked our throttling limits for a lot of the inboxes on our installation and found that they were set to fairly high values. These seemed arbitrary at first but they were all identical.
some examples of the values;
incoming
=========
Enable sender throttling - ticked
Number of max outgoing emails - 512
Quota size of all outgoing emails - 250MB (the equivalent value in bytes in the input box)
outgoing
=========
Enable recipient throttling - ticked
Number of max incoming emails - 64
These values seemingly inserted themselves as they we're not the sort of values which would be entered by a human, so i just wondered where they are set and if anyone has experienced a similar problem at any point? In addition to this a lot of the "20 per domain per hour" rules we had inserted on our domains had been wiped.
I'm 50/50 yet on whether this is suspicious because im not sure if it could have happened during an upgrade and gone unnoticed.
As you can imagine, this created huge problems for us as our per-domain settings were set to be fairly conservative but were in the most part being completely ignored because the per-user settings were overriding them based on the priority system in ired. We have had our amazon SES account suspended twice now and it seems increasingly difficult to do things by the book so to speak.
For anyone who is interested, the throtling rules are stored in the throttle and throttle_rcpt tables respectively in the policyd mysql table. We have manipulated these tables manually to remove the offending rules and restore the desired ones.
If anyone can offer any explaination to the potential cause and/or permanent fix for this i would be extremely grateful.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.