Re: [exim] string expansion

Etusivu
Poista viesti
Vastaa
Lähettäjä: Phil Pennock
Päiväys:  
Vastaanottaja: Uwe Rothmeier
Kopio: exim-users
Aihe: Re: [exim] string expansion
On 2017-05-26 at 13:13 +0200, 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


To use the config unmodified, rebuild Exim with EXPAND_LISTMATCH_RHS
defined. This was a change in Exim 4.77 for security, because many
people had security vulnerabilities in their configurations.

This is called out in "README.UPDATING", which should be read before
updating. Exim 4.77 was released in October 2011.

-Phil