Re: [exim] Express list in reduce?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: 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