1

Topic: Inbound throttling ignored when sending between local accounts

Throttling inbound emails is ignored when sending between local accounts

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer? No
- Linux/BSD distribution name and version: Centos 7.9
- 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.

Today i noticed that throttling for inbound emails not working when sending emails bettwen local accounts.

In iredadmin I set throttle settings for ONE SPECIFIC USER - example@domain.com (please see the picture in attachment).

Test 1
sent one email from my gmail to this account example@domain.com. I was rejected with message:
554 5.7.1 <END-OF-MESSAGE>: End-of-data rejected: Throttling quota exceeded (in reply to end of DATA command)
This is OK.


Test 2
send one email from account which is hosted on the same server as example@domain.com. Email was received into example@domain.com.
This is NOT OK.

What am i doing wrong?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Inbound throttling ignored when sending between local accounts

the picture

Post's attachments

Screenshot from 2021-10-11 16-14-03.png
Screenshot from 2021-10-11 16-14-03.png 78.54 kb, 2 downloads since 2021-10-11 

You don't have the permssions to download the attachments of this post.

3

Re: Inbound throttling ignored when sending between local accounts

Add this in /opt/iredapd/settings.py, then restart "iredapd" service:

THROTTLE_BYPASS_LOCAL_RECIPIENT = False

4

Re: Inbound throttling ignored when sending between local accounts

Works. Thank you.