Re: [exim] Referring to files relative to main config file

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Dave Evans
Fecha:  
A: exim-users
Asunto: Re: [exim] Referring to files relative to main config file
On Wed, Jul 09, 2008 at 10:05:38AM +0200, Ralf Ertzinger wrote:
> I was wondering whether it is possible to refer to files used in the exim
> config (for example in lookups) relative to the directory the main config
> file was loaded from.
>
> Is this possible?


Not exactly, but you can always use a macro, e.g. "exim -DCONFDIR=/etc/exim
...". You have to remember to set the macro whenever you invoke exim, though.
(Or use a wrapper script).

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey