Re: [Exim] local_interfaces ques . . .

Etusivu
Poista viesti
Vastaa
Lähettäjä: Sheldon Hearn
Päiväys:  
Vastaanottaja: Konrad Michels
Kopio: exim-users
Aihe: Re: [Exim] local_interfaces ques . . .
On (2003/07/25 11:19), Konrad Michels wrote:

> I've used the local_interfaces option to set exim to listen to eth0:0 as
> follows:
>
> local_interfaces = <; 127.0.0.1 ; xxx.xxx.xxx.xxx
>
> This seems to force Exim to listen only on eth0:0 (the x's being eth0's
> IP address). However, outgoing mail is still emanating only from eth0,
> which is exactly the thing I want to change.


You need to set the "interface" option for the "smtp" transport:

interface (smtp) _option_
-------------------------

Type: string list, expanded
Default: unset

This option specifies which interface to bind to when making an
outgoing SMTP call. [...]

Ciao,
Sheldon.