Re: [Exim] Specifying outgoing interface

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Peter Bowyer
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Specifying outgoing interface
schulte@??? wrote:
> Hello,
>
> i've got a problem with my exim 4.3.
> My Server has bound 3 IP-adresses to its eth0, which is also the
> connection to the rest of the world.
> But (!) I yust want to use 1 special ip-address for outgoing
> connections. I know (and did so) how to configure the
> "local_interfaces" in my config. With netstat I can see that exim
> listens on those ip-adresses, but does not use one of this
> ip-adresses for outbound connections to send mail to next MTA.
> I already tried to use the "-oX" command line options, but here I can
> only specify one IP and I really need at last two IPs (always
> including 'localhost').


You need something like this

interface 1.2.3.4

on your smtp transport.

http://www.exim.org/exim-html-4.30/doc/html/spec_30.html#IX2087

Peter