[Rspamd-Users] Rspamd multimap message "unknown action reject"

Emanuel Gonzalez emanuel_gonzalez at live.com.ar
Wed Jun 19 12:06:46 UTC 2019

Hello everyone.!

I create this rule:

       type = "content";
       filter = "body";
       map = "${LOCAL_CONFDIR}/local.d/body_reject.map.inc";
       action = "reject";
       regexp = true;

# cat body_reject.map.inc
/(nomasmails \@ gmail\.com)/

2019-06-19 08:59:51 #24127(normal) <9dc2f3>; task; lua_metric_symbol_callback: call to (BODY_CONTENT_RJT) failed (2): /usr/share/rspamd/plugins/multimap.l
ua:571: unknown action reject; trace: [1]:{[C]:-1 - set_pre_result [C]}; [2]:{/usr/share/rspamd/plugins/multimap.lua:571 - callback [Lua]}; [3]:{/usr/shar
e/rspamd/plugins/multimap.lua:459 - match_element [Lua]}; [4]:{/usr/share/rspamd/plugins/multimap.lua:585 - match_rule [Lua]}; [5]:{/usr/share/rspamd/plug
ins/multimap.lua:706 - match_content [Lua]}; [6]:{/usr/share/rspamd/plugins/multimap.lua:823 - process_func [Lua]}; [7]:{/usr/share/rspamd/plugins/multima
p.lua:888 - multimap_callback [Lua]}; [8]:{/usr/share/rspamd/plugins/multimap.lua:896 - <unknown> [Lua]};

Will the backslash to escape the special characters be causing a problem?

Should I force the action through the force_actions.conf file?



More information about the Users mailing list