Re: [exim] My IP in smtp transport?

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: Wakko Warner
CC: exim-users
Subject: Re: [exim] My IP in smtp transport?
Wakko Warner wrote:

> I have looked through the expansion variables and I can't figure out how
> retrieve the IP that my host is using to connect to another host. I'm doing


That's because Exim probably doesn't know itself. Client connections
usually don't care about this, as long as you dont enforce it with
bind(). To get the address, one could use getsockname() (maybe, I didn't
test), unless you use things like source routing (may be system
dependent, though).
Nobody seemed to want this before, so Exim seems not to have it. Maybe
you could convince Phil to add it to the wishlist. Shouldn't be too hard
to implement.

> Please keep politics out of this, I know why I want this (and it's not used


Politics? Never! :)