Every time I restart my node, it prints the following message. I don’t have a webhook2 in my configuration, but I remember using that once.
Aug 07 11:49:37 Ubuntu-2204-jammy-amd64-base kumod[1956636]: stack traceback:
Aug 07 11:49:37 Ubuntu-2204-jammy-amd64-base kumod[1956636]: [string "/opt/kumomta/etc/policy/init.lua"]:114: in function <[string "/opt/kumomta/etc/policy/init.lua"]:111>. Ignoring message until kumod is restarted.
Aug 07 11:49:37 Ubuntu-2204-jammy-amd64-base kumod[1956636]: 2025-08-07T11:49:37.049377Z ERROR spoolin-0 kumod::spool: failed to resolve queue webhook2.log_hook: runtime error: [string "/opt/kumomta/etc/policy/init.lua"]:114: attempt to concatenate a nil value (local 'zoneId')
Aug 07 11:49:37 Ubuntu-2204-jammy-amd64-base kumod[1956636]: stack traceback:
Aug 07 11:49:37 Ubuntu-2204-jammy-amd64-base kumod[1956636]: [string "/opt/kumomta/etc/policy/init.lua"]:114: in function <[string "/opt/kumomta/etc/policy/init.lua"]:111>. Ignoring message until kumod is restarted.
the error message suggests that zoneId is nil in that particular case. How is it assigned/derived? If you can fix that assignment, then I suspect that the message will then immediate age out and expire. Most likely this message is something that landed in your spool in some earlier (broken) version of your policy logic and has lingered since then.
you can’t operate on the message until it can be successfully loaded up, which should be possible by fixing up your policy logic to handle zoneId being nil