Re: [exim] alias file syntax check

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Chris Lightfoot
CC: exim-users
Subject: Re: [exim] alias file syntax check
On Thu, 15 Jun 2006, Chris Lightfoot wrote:

> I would like to check the syntax of an alias file (as read
> by the redirect router) in a script, before replacing the
> live alias file which exim reads. I can't see an easy way
> to call exim to do this -- should I give up and just do a
> simple syntax check within my script, or have I missed
> something?


You are right, there isn't a convenient way of doing this.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}