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

P.V.Anthony anthony at mindmedia.com.sg
Mon Apr 22 03:48:16 UTC 2019


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?


-- 
P.V.Anthony



More information about the Users mailing list