On 30/06/2020 15:19, Jason Keltz via Exim-users wrote:
> All I want to know is whether the following line alone in an existing
> /etc/aliases file should or should not allow me to include aliases from
> an additional external file:
> 
> :include:/etc/aliases.alternate
> 
> My system_aliases is defined as:
> 
> system_aliases:
>   driver = redirect
>   allow_fail
>   allow_defer
>   data = ${lookup{$local_part}lsearch{/etc/aliases}}

                                ^^^^^^^
You're doing an lsearch.

I said:
>> The item itself
>> takes the "first form".  If you are doing an lsearch to get the item,
>> then the line in the file for lsearch (which needs both a key to
>> search for, and the data to be returned) needs to terminate the
>> key with a colon.

Your line:
:include:/etc/aliases.alternate

does not have a key for the lsearch.

-- 
Cheers,
  Jeremy

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to