Re: [exim] alias file syntax check

Etusivu
Poista viesti
Vastaa
Lähettäjä: Christian Schmidt
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] alias file syntax check
Hello Tony,

Tony Finch, 15.06.2006 (d.m.y):

> 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.


Well, I would try it with a "tuned" startup script that does the
following:
1. Check the syntax of the aliases file (maybe by invoking another
script)
2. Replace the "live" alias file with the checked one
3. fire up exim

Regards,
Christian Schmidt

-- 
Wir lassen uns beide von unseren Frauen scheiden und ziehen zusammen.
        -- Toni Polster (über sein verbessertes Verhältnis zu Trainer Peter Neururer)