Autor: Peter Bowyer Data: Para: Exim Users Mailing List Assunto: Re: [exim] aliases file include syntax
On 23/05/05, Donovan Jones <d.jones@???> wrote: > Is it possible to include an alias file where the included file includes
> the local part not just the alias addresses?
>
> ie
>
> is it possible to have:
>
> ':include:<path name>'
>
> where path name links to a file which includes regular alias file
> entries versus
>
> 'foo: :include:<path name>'
>
> which just seems to be an included file full of aliases to the localpart
> foo.
>
> I want to have a script automatically update the alias file with many
> entries. It would be safer (for a number of reasons) to have the script
> write to a second file which is included by the main one than have it
> modify the real alias file. Is this possible?
I don't think so, but you could have a second router which references
the second file, and 'passes' if the file isn't there. Not quite as
flexible, but it might do what you want.