On 26/05/17 12:13, Uwe Rothmeier wrote: > condition = ${if
> or{{match_address{$local_part@$domain}{lsearch;CONFDIR/ldapdir}} \
>
> {match_local_part{$local_part}{lsearch;/etc/exim4/aliases/$domain}}}{1}{0}}
>
> Works with Exim 4.72
>
>
> With Exim 4.89 $domain ist not expanded:
> failed to open /etc/exim4/aliases/$domain for linear search: No such
> file or directory
Can you show an execution of that with
expand and lookup debug enabled?
--
Thanks,
Jeremy