Haraka icon indicating copy to clipboard operation
Haraka copied to clipboard

Limiting the sending speed for each recipient domain separately

Open rafaello9 opened this issue 3 years ago • 1 comments

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!

rafaello9 avatar Oct 20 '21 11:10 rafaello9

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

auzty avatar Apr 27 '22 02:04 auzty