Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limiting the sending speed for each recipient domain separately #53

Open
rafaello9 opened this issue Oct 20, 2021 · 2 comments
Open

Limiting the sending speed for each recipient domain separately #53

rafaello9 opened this issue Oct 20, 2021 · 2 comments

Comments

@rafaello9
Copy link

Hey!

I just started to study your very cool product - Haraka.

I have a few questions. I need to limit/increase the speed of sending letters for each recipient domain individually.
For example, for the domain @gmail.com - 10/min, @hotmail.com - 25/min, @yahoo.com - 50/min

I found the file /usr/lib/node_modules/Haraka/node_modules/haraka-plugin-limit/config/limit.ini
But I don’t understand what recording format should be done?

Please give me a sample of how to correctly write down the speed limit for sending letters for each recipient domain individually?

[rate_rcpt]
what should I write here?

Thanks!

@auzty
Copy link

auzty commented Apr 27, 2022

Same with me, I try to limiting speed every domain, using limit.ini from https://github.com/haraka/haraka-plugin-limit/blob/master/test/config/limit.ini , but nothing seems as expected (I set 1mail / 5minutes, but I still can sending 3 emails in 10seconds)

any documentation references?

Thanks..

[rate_rcpt_host]
enabled=true
delay=60
default=2/5m
gmail.com=1/5m

@msimerson msimerson transferred this issue from haraka/Haraka Dec 14, 2023
@msimerson
Copy link
Member

It sounds like you want rate limiting for Haraka outbound. Currently there's only one outbound limit: concurrency. Rate limiting for outbound would be a new feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants