[Rspamd-Users] Warning or Error when using configtest for User-defined ratelimits

P.V.Anthony anthony at mindmedia.com.sg
Tue Apr 23 17:30:38 UTC 2019


On 22/4/19 11:48 AM, P.V.Anthony wrote:
> Hi,
> 
> Now I trying to figure out how to use User-difined ratelimits in 
> ratelimit.conf. I was hoping to do it in settings.conf but I just could 
> not get it to work. It would have been great in settings.conf.
> 
> https://rspamd.com/doc/modules/ratelimit.html#user-defined-ratelimits
> 
> Anyway I followed the documentation and I am getting the following 
> warning or error when doing a test with "rspamadm configtest".
> 
> # rspamadm configtest
> old syntax for ratelimits: /etc/rspamd/local.d/outgoing_ratelimit.lua
> bad limit: /etc/rspamd/local.d/outgoing_ratelimit.lua
> old style rate bucket config detected for custom_keywords: 
> /etc/rspamd/local.d/outgoing_ratelimit.lua
> syntax OK
> 
> How to setup with the new syntax?
> 
> 

Any advice?

P.V.Anthony


More information about the Users mailing list