Re: [exim] Set local_interfaces to contents of a file?

Top Pagina
Delete this message
Reply to this message
Auteur: Jim Cheetham
Datum:  
Aan: exim-users
CC: jwexler
Onderwerp: Re: [exim] Set local_interfaces to contents of a file?
Quoting jwexler@??? (from 17/07/10 15:21):
> I have been trying to set local_interfaces equal to the contents of a file
> on the file system. OS is Ubuntu 10.04 Lucid. Exim is 4.71.


Well, you could just use ".include" to add the file contents ... note
that ".include" likes to be the only directive on a line, so using line
continuations is needed ...

local_interfaces = \
.include /etc/fulcrumIpSettings

I'm not quite sure why this is useful for you; I suppose if the local IP
addresses changed a lot you might get value out of a process updating
that simple file for you. Or if you were copying the same config file
out to multiple servers, if would help -- but under those circumstances
a config management tool would probably be a better long-term choice.

-jim