Re: [Exim] Exim Originate SMTP from Set IP

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dave C.
Date:  
À: J Yunke
CC: Exim Users List
Sujet: Re: [Exim] Exim Originate SMTP from Set IP

From the spec file, under options for the SMTP transport:

interface              Type: string Default: unset


This option specifies which interface to bind to when making an
outgoing SMTP call. The string must be an IP address, for example:

      interface = 192.168.123.123


If "interface" is not set, the system's IP functions choose which
interface to use if there is more than one. In an IPv6 system, the type
of interface specified must be of the same kind as the address to which
the call is being made. If not, it is ignored.


On Wed, 13 Dec 2000, J Yunke wrote:

> Hello --
>
> I am running a server tha has multiple 'virtual' services on it. I have
> IP address eth0 with address w0.x0.y0.z0. I also have a virtual IP
> address eth0:1 with address w1.x1.y1.z1.
>
> I know how to configure exim to listen on an IP or set of IPs:
>
>     local_interfaces = w1.x1.y1.z1:127.0.0.1

>
> ...but is there a way to *originate* connections to other mail servers
> from the virtual IP address? Right now, despite the configuration above,
> my connections go out w0.x0.y0.z0 which is highly undesired.
>
> Thanks for all of the hard work, Philip & others. It's really
> appreciated (you probably don't hear that enough) :)
>
> /J
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--