0

I like to use the rspamd Spamtrap module, but it seems it cannot add rules for fuzzy matches. I get the following error

call to (SPAMTRAP_CHECK) failed (2): /usr/share/rspamd/plugins/spamtrap.lua:54: attempt to index field 'fuzzy_check' (a nil value); trace: [1]:{/usr/share/rspamd/plugins/spamtrap.lua:54 - do_action [Lua]}; [2]:{/usr/share/rspamd/plugins/spamtrap.lua:135 - [Lua]};

Configuration:

/etc/rspamd/local.d/spamtrap.conf

action = "no action";
score = 5.0;
learn_fuzzy = true;
learn_spam = true;
map = file://$LOCAL_CONFDIR/local.d/maps.d/spamtrap.map;

enabled = true;

/etc/rspamd/local.d/worker-fuzzy.inc

count = 1;
backend = "redis";
allow_update = ["localhost", "127.0.0.1", "::1"];
read only = no;
allo
  • 1,620
  • 2
  • 22
  • 39

0 Answers0