Re: [exim] Conditional file include?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ian Eiloart
Date:  
À: dante, exim-users
Sujet: 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