Re: [exim] $local_part_data is empty

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: 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