[Rspamd-Users] rate limit one sender domain
P.V.Anthony
anthony at mindmedia.com.sg
Tue Nov 12 16:53:02 UTC 2019
On 7/11/19 4:16 pm, Wiethoff, Helge wrote:
> Hello there,
>
> I would like to configure the rate limit module for a specific sender domain.
>
> While reading the documentation I have the following questions:
> - Does "burst" mean the size of the bucket?
> - Why can multiple buckets be configured for one ratelimit record?
> - Restricting the selector to the domain:
> selector = 'from.lower.substring(1,-11.in("example.com")';
> doesn't make sense, does it? That would mean that the whole domain gets one bucket, right?
> - Using "from.lower" as selector would rate limit all senders in all domains right?
>
> # local.d/ratelimit.conf
> rates {
> some_limit = {
> selector = 'from.lower';
> bucket = [
> {
> burst = 100;
> rate = "10 / 1min";
> }]
> }
> }
>
> Any advice or example-snippet would be appreciated.
>
> Regards
> Helge
I too would like the answer to the above question.
P.V.Anthony
More information about the Users
mailing list