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
Thanks,
Rothmeier
--
Stadt Karlsruhe
Amt für Informationstechnik und Digitalisierung