Re: [exim] Conditional file include?

Pàgina inicial
Delete this message
Reply to this message
Autor: Ian Eiloart
Data:  
A: dante, exim-users
Assumpte: Re: [exim] Conditional file include?


--On 24 August 2007 16:34:26 -0500 "D. Dante Lorenso" <dante@???>
wrote:

>
> Thanks for your RTFM suggestion. Did that. Was hoping someone might
> have an architecture recommendation on how I CAN do what I'm trying to
> do ...


I'm not sure what you're trying to do, since I don't know what's in your
machine specific include file.

However, I do something like this:

Start exim with

exim -DIPADDRESS=139.184.14.94

which sets the macro IPADDRESS to the value shown. Clearly, a startup
script could set a macro value to the machine name. I'm not sure if that's
early enough to use the macro value to load an include file, but it might
be.

Perhaps you could start exim with

exim -DHOSTNAME=`uname -n`

then use "include HOSTNAME.conf" in your config.


--
Ian Eiloart
IT Services, University of Sussex
x3148