[Rspamd-Users] Ratelimit settings

P.V.Anthony anthony at mindmedia.com.sg
Mon Apr 15 17:32:31 UTC 2019


On 15/4/19 3:59 PM, P.V.Anthony wrote:

> Your syntax is correct. I can see it in the logs. Yahooooooo!
> 
> It seems to be working. I will test it further.
> 
> Wow!!! Thank you for helping. It has been really helpful.

Here are my configs that worked for me. Hope it helps others.

In file /etc/rspamd/local.d/logging.inc
debug_modules=[ratelimit];

In file /etc/rspamd/local.d/ratelimit.conf
rates {
       authenticated_user_limit = {
                                  selector = 'user.lower';
                                  bucket = [
                                           {
                                           burst = 60;
                                           rate = "1 / 1min";
                                           }
                                  ]
       }

}

Having the logging set was super useful.

P.V.Anthony



More information about the Users mailing list