Know sending IP during stage with message object

Hey! Had a quick question; is it possible in some way to know the sending IP during some stage where you can interact with the message object?

For example; you can interact with the message (setting meta, headers, etc) during smtp_server_message_received but you don’t know the sending IP yet. Is there another stage where both are available?

What specifically are you looking to do?

I was looking in a way to add the used sending IP as a custom header to the final message

Besides the obvious received header that will be there of course :grinning_face_with_smiling_eyes:

That information is in the logs, what does it achieve being in the headers?

I was looking into the possibilities for this due to ISIPP mentioning this in their docs:

In addition, although not required, IADB listees may choose to include “X-IADB-IP:” and
“X-IADB-IP-REVERSE:” headers in the email they send (followed by the sending IP address, and sending IP address reversed, respectively). This provides a notice to receiving systems that a) the IP address in the X-IADB header should match the sending IP address, and b) the sending IP address and additional information about the sender can be found in IADB.

Not required and we’re not there yet - but it just sparked my interest to learn more of the possibilities of the lifecycle in Kumo in general

Aah, SuretyMail.

Yeps!

Wanted to double check if it’s correct that this is currently not possible, possibly related to this issue External IP Awareness · Issue #29 · KumoCorp/kumomta · GitHub

Currently not possible, but not related to that issue.

Check, thanks!