[exim] allow alias file to include aliases from another file

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jason Keltz
Data:  
Para: exim-users
Assunto: [exim] allow alias file to include aliases from another file
Hi.

I have an Exim aliases file that works fine (let's call it
/etc/aliases).  I want /etc/aliases to be able to include another
automatically generated aliases file (say, /etc/aliases.generated). 
According to the Exim documentation on the "redirect router":

> *
>
>     If an item is of the form

>
>     :include:<path name>

>
>     a list of further items is taken from the given file and included
>     at that point. Note: Such a file can not be a filter file; it is
>     just an out-of-line addition to the list. The items in the
>     included list are separated by commas or newlines and are not
>     subject to expansion. If this is the first item in an alias list
>     in an lsearch file, a colon must be used to terminate the alias
>     name. This example is incorrect:

>
>     list1    :include:/opt/lists/list1

>
>     It must be given as

>
>     list1:   :include:/opt/lists/list1

>
>     Tainted data may not be used for a filename.

>

I can use the third form (last1: :include:/opt/lists/list1) in my
/etc/aliases file.  However, I cannot use the first form:

:include:/etc/aliases.alternate

Am I misinterpreting the instruction?

Jason.