[Rspamd-Users] replies module error "Attempt to perform arithmetic [on string]"
Steve Watt
steve at watt.com
Mon Sep 9 03:58:54 UTC 2024
Hi all,
I noticed an error via the web interface (pasted below) when there's an
outbound message being handled. I thought it might have been because my
local.d/replies.conf said
expire = "5d";
and maybe the quote marks were stringifying it somhow in the lua code. So I
tried
expire = 5d;
Which didn't improve the situation. So maybe the "d" suffix wasn't being
expanded correctly. So I changed it to
expire = 432000;
However, that also seems to have made no difference.
The exact error message
call to (REPLIES_SET) failed (2):
/usr/local/share/rspamd/plugins/replies.lua:276: attempt to perform
arithmetic on field 'expire' (a string value); trace:
[1]:{/usr/local/share/rspamd/plugins/replies.lua:276 - <unknown> [Lua]};
Any ideas?
--
Steve Watt KD6GGD PP-ASEL-IA factories.words.yappy
Don't let your schooling get in the way of your education.
More information about the Users
mailing list