Some extra info:
ii kumomta 2024.09.02.062344.c5476b89
And I see this in the logs: #033[2m2024-11-04T11:06:55.113923Z#033[0m #033[31mERROR#033[0m localset-0 #033[1mrebind_all#033[0m#033[1m{#033[0m#033[3mrebind#033[0m#033[2m=#033[0mAdminRebindEntry { request: RebindV1Request { campaign: None, tenant: None, domain: None, routing_domain: None, reason: “Need to cleanup some domains”, suppress_logging: false, data: {}, trigger_rebind_event: true, always_flush: false } }#033[1m}#033[0m#033[2m:#033[0m #033[2mkumod::queue#033[0m#033[2m:#033[0m failed to apply rebind: runtime error: [string “/opt/kumomta/etc/policy/init.lua”]:227: attempt to index a nil value
And to be exact that is the line:
local mydomain = msg:from_header().domain
So I guess from_header() is not working when rebinding.
I did change the line to :
local mydomain = msg:sender().domain
That doesn’t give any errors when starting the rebind, but I still see no bounces. But I will monitor the logs a bit more to see if mail is send at all from those domains
I need to check the logs a bit better tonight, but I don’t see any bounces/deliveries for the domain anymore.. so it seems to work, but it did not log anything.