Score:0

rspamd SPAMTRAP module cannot add fuzzy rules

in flag

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;
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.