Re: [exim] Express list in reduce?

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Express list in reduce?
On 05/04/2021 16:34, Felipe Gasper via Exim-users wrote:
> domainlist manualmx_domains = ${if exists {/etc/manualmx} {lsearch;/etc/manualmx} {} }


That's not a valid definition for a named list.

I suspect you've misread "lists are (string-) expanded before use" as meaning
that list *definitions* can have string-expansions. Not so. The string-expansion
is done on the text that should be a list, when some text is arrived at in the
context of a list being needed.

> I assume the issue is that the list is defined as dynamic … is there any expansion string that handles that?


Dynamic? What?

--
Cheers,
Jeremy