[Rspamd-Users] symbol insertion issue: unknown symbol

Philip Paeps philip at trouble.is
Wed Sep 9 11:41:07 UTC 2026


On 2026-09-09 17:55:40 (+0800), Vsevolod Stakhov wrote:
> 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.

Thank you!  That made the diagnostic go away.

And everything still works too. :)

Philip


More information about the Users mailing list