Re: [exim] My IP in smtp transport?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Wakko Warner
Dátum:  
Címzett: Jakob Hirsch
CC: exim-users
Tárgy: Re: [exim] My IP in smtp transport?
Jakob Hirsch wrote:
> Wakko Warner wrote:
>
> >>you could convince Phil to add it to the wishlist. Shouldn't be too hard
> >>to implement.
>
> actually, it's not that easy. The problem is, that all the expansions
> are done _before_ the connection is initiated, but getsockname() has to
> be called _after_ connect().


I guess the expansion could be deferred. I like Peter's idea of using
the current routing table to guess where $host_address will be going. I
could write a perl routine to use ip route and figure out from that which
source address would be used.

--
Lab tests show that use of micro$oft causes cancer in lab animals
Got Gas???