[Rspamd-Users] How to get current status of rate limits

Yvan Masson yvan.masson at algoo.fr
Thu Oct 26 08:25:24 UTC 2023


Hi list,

I would like to get status of some rate limits I defined in rspamd, for 
example to know if the "rate" is exceeded:
- do you know if some script already exists for this purpose?
- if not, how can I know which redis key stores a specific bucket ID?

Here is an example of a rate limit I use:

some-id = {
   selector = from('smtp'):domain.regexp("^(domain\.com)$").id('some-id')
   bucket = [{burst = 52; rate = "35 / 1j";}]
}

Regards,
Yvan



More information about the Users mailing list