Re: [exim] $local_part_data is empty

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: Re: [exim] $local_part_data is empty
On 20/12/2021 18:35, Leon Fellows via Exim-users wrote:
>   local_parts = lsearch;/etc/mail/domains/$domain_data


> But the $local_part_data is empty.


If your file just has the word in it once, that is the key
for a lookup returning the rest of the line... which is empty.

Look at the definition of lsearch in the docs.

You could probably use a variant of the lookup which returns
the key, assuming a recent Exim version.
--
Cheers,
Jeremy