Autor: Phil Pennock Datum: To: exim-users Betreff: Re: [exim] Reading the value of a macro from a shell script
On 2007-12-20 at 17:37 +0000, Terry Burton wrote: > 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?
With well-defined data syntaxes and exiting after first match (anchored
to the start of the line) grep is good. It's certainly going to be
faster than launching the full MTA; further, a broken config file may
cause the MTA to complain, so your error handling logic just got a lot
harder.