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

Emanuel Gonzalez emanuel_gonzalez at live.com.ar
Wed Jun 19 12:24:28 UTC 2019


I remove in /etc/rspamd/override.d/actions.conf the option "reject = null".

I believed that this option only deactivated the rejection of emails when they exceeded a score.


________________________________
De: Emanuel Gonzalez
Enviado: miércoles, 19 de junio de 2019 9:06
Para: User questions
Asunto: Rspamd multimap message "unknown action reject"

Hello everyone.!

I create this rule:

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

# cat body_reject.map.inc
/baja[0-9][0-9]\@yopmail\.com/
/baseconstruccion\@hotmail\.com/
/formu9\@hotmail\.com/
/(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?

Regards,

Emanuel.


More information about the Users mailing list