I’m looking for a way to get the IP/ehlo_domain that will be used to send a message (while having access to the message object to modify it), so just before it goes into the Ready queue ?
I’ve looked at the reference manual for the message object and the “Predefined Metadata” but i haven’t found what i was looking for
The messages my kumoMTA instance receives are already DKIM signed, i want to add an additional DKIM signature on additional headers added by my kumoMTA instance (signed by the ehlo_domain)
It won’t be able to work that way. By the time the queue maintainer sees the message to assign it to a ready queue the DKIM signing hook has already fired.
What you could do is set the tenant name to the EHLO domain to be used, and look at that when it’s time to sign the DKIM. Or you could set the DKIM for the tenant explicitly knowing what you want the signature to be.