[Rspamd-Users] ratelimit.conf not working
P.V.Anthony
anthony at mindmedia.com.sg
Wed Apr 15 15:26:41 UTC 2020
On 15/4/20 11:15 pm, Chris Kruijntjens via Users wrote:
> When i only use this config:
>
> rates {
> user = {
> bucket = [
> {
> burst = 3;
> rate = "1 / 5m"; # leak 1 message per minute
> }]
> }
> }
>
> And is send mails rate limit is not being used??? What can be going on here?
>
> Seems user bucket is not being recognised.
Please post below the email when replying to emails.
Here is my config,
cat /etc/rspamd/local.d/ratelimit.conf
symbol = "RATELIMIT"; # <-- not sure about this. Might want to remove it.
rates {
only_40_per_hour = {
selector = 'user.lower';
bucket = {
burst = 40;
rate = "1 / 1min";
}
}
}
Hope it helps.
P.V.Anthony
More information about the Users
mailing list