[Rspamd-Users] set_metric_action?
Aki Kyo
aki.2kyo at gmail.com
Sat Nov 17 21:24:28 UTC 2018
hi, I was using task:set_metric_action in a custom post-filter lua script:
task:set_metric_action('', 'add header')
the reason to use it is complex, force_action module could not
suffice. In recent rspamd release, is set_metric_action deprecated? It
has gone missing from Lua Task documentation page:
https://www.rspamd.com/doc/lua/rspamd_task.html
also it's broken:
task; lua_metric_symbol_callback_error: call to (my_postfilter_script)
failed (2): /etc/rspamd/rspamd.local.lua:143: attempt to call method
'set_metric_action' (a nil value);
What's the new way to do this?
More information about the Users
mailing list