Re: [Exim] Dynamic helo_data based on outgoing IP?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Oleg Cherevko
CC: exim-users
Tárgy: Re: [Exim] Dynamic helo_data based on outgoing IP?
On Fri, 30 May 2003, Oleg Cherevko wrote:

> Well, according to the section "11.8. Expansion variables":
>
> $host_address: This variable is set to the remote host's IP address
> whenever $host is set for a remote connection.
>
> Perhaps I was not clear enough, but I need _my own_ IP address for this
> outgoing connection. While $host_address seems to keep IP of the remote
> end. Or the doc is wrong?


Sorry, I wasn't paying enough attention. There is no variable with your
own IP address. I kind of assumed you would know it. :-) If you have
multiple interfaces, you can select which one is used by setting the
"interface" option in the SMTP transport, but the value doesn't get into
a variable. However, since you have set it, again you must know it.

What have I missed this time?

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book