[Rspamd-Users] ratelimit.conf not working
Chris Kruijntjens
chris at ckruijntjens.nl
Wed Apr 15 05:40:07 UTC 2020
Hi Anthony,
I see what the issue is. When i send a mail it uses the limit to_ip bucket.
How can i tell it to user the user bucket?
Rg,
Chris Kruijntjens.
2020-04-15 07:36:30 #15080(rspamd_proxy) <a81318>; ratelimit;
ratelimit.lua:684: updated limit
to_ip:1000:chriskruijntjens at hotmail.com:127.0.0.1 ->
RL3i9iueuo5j445q5ya3xj44y5 (100/0.25), burst: 51.7568238, dyn_rate:
3.162007, dyn_burst: 9.923784
-----Oorspronkelijk bericht-----
Van: Users <users-bounces at lists.rspamd.com> Namens P.V.Anthony
Verzonden: woensdag 15 april 2020 06:57
Aan: users at lists.rspamd.com
Onderwerp: Re: [Rspamd-Users] ratelimit.conf not working
On 15/4/20 4:16 am, Chris Kruijntjens via Users wrote:
> I hope that someone can help me. I want to enable the ratelimit module
> on rspamd. However it not seems to work. I have no config errors. This
> is my /local.d/ratelimit.conf file
>
>
>
> rates {
>
> to = {
>
> bucket = [
>
> {
>
> burst = 100;
>
> rate = "100 / 1min"; # leak 1 message per minute
>
> }]
>
> }
For testing try setting the burst to 3 and rate to 1. Then try sending out
about 10 emails quickly.
I have this activated too so that I can see it in the logs.
/etc/rspamd/local.d/logging.inc
debug_modules=["ratelimit"];
I am not an expert so I am not sure what the rest of the config shown does.
If possible, please share what the other buckets do.
P.V.Anthony
--
Users mailing list
Users at lists.rspamd.com
https://lists.rspamd.com/mailman/listinfo/users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5549 bytes
Desc: not available
URL: <https://lists.rspamd.com/pipermail/users/attachments/20200415/ec8f4b96/attachment.bin>
More information about the Users
mailing list