[exim] Reading the value of a macro from a shell script

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Terry Burton
Fecha:  
A: exim-users
Asunto: [exim] Reading the value of a macro from a shell script
Hi,

Exim has a useful feature to evaluate expansions from the shell: exim -be '....'

Is there a simiar feature to that will return the final value of a
macro after the configuration file has been parsed?

Something like:

exim.conf:
<...snip...>
EXIMDIR = /srv/exim
TABLES = EXIMDIR/tables
<...snip...>

$ exim -XX TABLES
/srv/exim/tables

I've examined the manpage but cannot see anything that would help with this.

Otherwise, is there a recommended way to obtain such values from a
shell script without having to hardcode the value or grep the Exim
config?


Thanks in advance,

Tez