Re: [exim] string expansion failure exim 4.80

Góra strony
Delete this message
Reply to this message
Autor: Uwe Rothmeier
Data:  
Dla: Exim-users
Temat: Re: [exim] string expansion failure exim 4.80
Thanks Jeremy,

i read the release notes but could not recognize the item.

Any hint how to put that statement in 4.80? I am not so familiar with exim and do not want to
compile from source.


Uwe



Am 01.08.2014 um 18:27 schrieb Jeremy Harris:
> On 01/08/14 11:13, Uwe Rothmeier wrote:
>> Debian 7 (wheezy), Debian-Package exim4-daemon-heavy, 4.80-7
>> in rcpt-acl:
>>
>> condition = ${if
>> or{{match_address{$local_part@$domain}{lsearch;CONFDIR/some/file}} \
>>
>> {match_local_part{$local_part}{lsearch;/etc/exim4/aliases/$domain}}}{1}{0}}
>>
>> This condition causes an error:
>> search_open: lsearch "/etc/exim4/aliases/$domain"
>> failed to open /etc/exim4/aliases/$domain for linear search: No such
>> file or directory
>>
>> The domain-variable ist not expanded
>
> This was changed deliberately in 4.77 because it was a common security
> hole. The relevant item in the Change Log:
>
> PP/11 match_* no longer expand right-hand-side by default.
>        New compile-time build option, EXPAND_LISTMATCH_RHS.

>
>