Re: [exim] String expansion in version 4.85

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users
Asunto: Re: [exim] String expansion in version 4.85
On 30/03/16 17:53, Konstantin wrote:
> I have a condition which seem worked on old exim server version 4.72.
>
> condition = ${if match_address{$local_part@$domain}{
> ${lookup{$sender_address}wildlsearch{/etc/exim/allow_senders}} }
> {yes}{no} }
>
> Content of /etc/exim/allow_senders
> sender@???: *@gmail.com : *@yahoo.com
> ...
> sender2@???: rcpt1@??? : *@yahoo.com : rcpt2@???
>
> On the new exim version 4.85 it is failed with error:
> Failed: missing or misplaced { or }
>
> Can someone please help me to find where is the problem in this rule.



http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpcond

on match_address (via match_local_part)

"Note that <string2> is not itself subject to string expansion".

(the usage was a common security problem). Consider using "inlisti"
or "inlist" instead. Since 4.77.
--
Cheers,
Jeremy