[Rspamd-Users] symbol insertion issue: unknown symbol

Michelle Sullivan michelle at isux.com
Wed Sep 9 09:39:19 UTC 2026


Stupid question, you did check the output of checkconf? Didn't you?  (hint if you were using tablespace, you need to update your code.)

Michelle Sullivan
http://www.mhix.org/
If we don't find a way out of this soon, I'm gonna lose it. Lose it... It means go crazy, nuts, insane, bonzo, no longer in possession of ones faculties, three fries short of a Happy Meal, wacko!

> On 9 Sep 2026, at 13:54, Philip Paeps <philip at trouble.is> wrote:
> 
> We apply a ALLOW_DKIM_SIGN symbol to mail we want signed and check for it in rspamd.lua:
> 
> local.d/rspamd.lua:
> -- Disable dkim signing for all the cases except specific ones
> rspamd_config:add_condition("DKIM_SIGNED", function(task)
>    return task:has_symbol('ALLOW_DKIM_SIGN')
> end)
> 
> The symbol is defined in local.d/groups.conf:
> 
> local.d/groups.conf
> symbol "ALLOW_DKIM_SIGN" {
>    score = 0.0;
>    weight = 0.0;
>    name = "ALLOW_DKIM_SIGN";
>    description = "Allow DKIM signing";
> }
> 
> In local.d/settings.conf we set the symbol.  E.g.:
> 
> bugzilla_outbound {
>        from = '/^bugzilla-noreply at freebsd.org$/i';
>        ip = ["2610:1c1:1:606c::19:3"];
>        apply { symbols_enabled = ["DKIM_SIGNED", "ARC_SIGNED", "ARC_CALLBACK" ] };
>        symbols = ["ALLOW_DKIM_SIGN"];
>        priority = low;
> }
> 
> 
> I upgraded from rspamd-3.11.0 to rspamd-4.1.0_1 this morning (yes yes ... big jump) and we are now seeing this in our logs:
> 
> /var/log/rspamd/rspamd.log:2026-09-09 00:26:19 #42979(rspamd_proxy) <4hfhSC>; proxy; lua_task_insert_result_common: symbol insertion issue: unknown symbol ALLOW_DKIM_SIGN; trace: [1]:{/usr/local/share/rspamd/plugins/settings.lua:422 - fun [Lua]}; [2]:{/usr/local/share/rspamd/lualib/fun.lua:34 - call_if_not_empty [Lua]}; [3]:{/usr/local/share/rspamd/lualib/fun.lua:192 - each [Lua]}; [4]:{/usr/local/share/rspamd/plugins/settings.lua:421 - <unknown> [Lua]};
> 
> Curiously, mail seems to be signed that we don't expect to see signed.  I guess that's better than not signing email that ought to be signed but ... still not ideal.
> 
> Could someone please gently hit me with a clue mallet?
> 
> Thank you. :)
> 
> Philip
> --
> Users mailing list
> Users at lists.rspamd.com
> https://mailbox.isux.net/_safelink?u=https%3A%2F%2Flists.rspamd.com%2Fmailman%2Flistinfo%2Fusers&h=1f7e3e3448e627364907b7c8fb678b22



More information about the Users mailing list