Re: [exim] Which interface is used at remote_smtp transport?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ian Eiloart
Dátum:  
Címzett: Dave Evans, Marten Lehmann
CC: exim-users
Tárgy: Re: [exim] Which interface is used at remote_smtp transport?


--On 22 February 2011 19:17:09 +0000 Dave Evans
<exim-users-20081202@???> wrote:

>>
>> I know that it is possible to specify an interface address, but we don't
>> want to do this, because the configuration shall be identical on all
>> webservers.
>
> But the implication of your question is that you /do/ care what interface
> is used, so therefore you /do/ want to specify which interface to use.
>


One way around this is to specify a MACRO when launching Exim, eg

exim -DIPADDRESS=10.11.1.11

Then use the MACRO in the config file, to specify the interface. That way,
the launch script has to vary per machine, but the config file does not. Of
course, the script could determine the available interfaces, and choose
from a set of desirable interfaces, so you may be able to use the same
script on each host.

--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/