[Rspamd-Users] symbol insertion issue: unknown symbol

Vsevolod Stakhov vsevolod at rspamd.com
Wed Sep 9 09:55:40 UTC 2026


On 09/09/2026 04:33, Philip Paeps 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";
> }

It should be plural: "symbols". However, even an unknown symbol should 
be inserted, so there is no functional difference.


More information about the Users mailing list