[exim] String expansion in version 4.85

Top Page
Delete this message
Reply to this message
Author: Konstantin
Date:  
To: exim-users
Subject: [exim] String expansion in version 4.85
Hi

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.

Thank you.

--
This message was delivered using 100% recycled electrons.