1

Topic: Rate Limit / Throttling

Good afternoon,

Managed to get Rate limits working via iredapd throttling, however I have noticed that automated Emails to the user aren't working when a user has hit the limit. Would you be able to implement this into iredapd / throttle.py ? I have had a test on a staging Server but I can't seem to get this figured out.

Regards

----

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

2

Re: Rate Limit / Throttling

When limit reached, iRedAPD rejects further emails.
What action do you expect?

3

Re: Rate Limit / Throttling

ZhangHuangbin wrote:

When limit reached, iRedAPD rejects further emails.
What action do you expect?

I was wondering if it's possible when the limit is hit that it sends a email to the users inbox saying something like the limit is reached please try later.

Regards

4

Re: Rate Limit / Throttling

Is the reject you saw a 5xx code? or 4xx code?

5 (edited by jackb 2025-06-27 18:28:08)

Re: Rate Limit / Throttling

chris.23lo wrote:

Is the reject you saw a 5xx code? or 4xx code?

It's a 5xxx code, when limit is hit you see this code in the bottom right of the Roundcube Webmail when sending mail. I want to implement a Automated Message so when a user has hit the limit of sending emails they get a automated message in their inbox.

Regards

6

Re: Rate Limit / Throttling

Check this out:
https://github.com/iredmail/iRedAPD/blo … le.py#L181

7

Re: Rate Limit / Throttling

I thought it was something to do with that, so what is it i need to add.

Regards