Both plugins/lua/neural.lua and plugins/lua/phishing.lua has been updated in GIT to fix some errors. Error with plain 2.4 neural.lua: call to (NEURAL_LEARN) failed (2): /usr/share/rspamd/plugins/neural.lua:517: attempt to index field 'ann' (a nil value); trace: [1]:{/usr/share/rspamd/plugins/neural.lua:517 - ann_push_task_result [Lua]}; [2]:{/usr/share/rspamd/plugins/neural.lua:1212 - [Lua]}; Error with plain 2.4 phishing.lua (using openphish): <>; ; rspamd_lua_check_udata_common: lua type error: expected rspamd{text} at position 2, but userdata has userdata metatable; trace: [1]:{/usr/share/rspamd/plugins/phishing.lua:438 - <unknown> [Lua]}; stack(2): [1: ud=(NULL)] [2: ud=userdata] Reproducible: Always Replacing files in /usr/share/rspamd/plugins/ with files from GIT (src/plugins/lua/neural.lua and phishing.lua) fixes the error. According to mailing list fixed in 2.4-2 release, but don't know how/where to download/test.
The source notes even version 2.5 on https://github.com/rspamd/rspamd however it was not yet released? The maintainers will know it better.
Version 2.5 has not been released yet, I'll make version bump as soon as it will be available. It is a little bit unfortunate with 2.4-2 as it is debian? package release made by Vsevolod Stakhov himself but I was unable to find which fixes he applied. I don't understand why he does not publish those changes in git. I currently see those possibilities: 1) let's pickup fixes for 2.4 and I'll do the revbump, 2) let's wait for 2.5 to be released.
FYI, 2.5 was released yesterday.
I know, I submitted the PR 15198 with version bump few hours after the announcement.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b8f52d70569ce5009cf8dff1576f6dceb12022 commit f6b8f52d70569ce5009cf8dff1576f6dceb12022 Author: Petr Vaněk <arkamar@atlas.cz> AuthorDate: 2020-04-01 14:38:30 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-04-04 07:51:31 +0000 mail-filter/rspamd: bump to 2.5 Closes: https://bugs.gentoo.org/711972 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Joonas Niilola <juippis@gentoo.org> mail-filter/rspamd/Manifest | 1 + mail-filter/rspamd/rspamd-2.5.ebuild | 114 +++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+)