[exim] String expansion in version 4.85

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Konstantin
Date:  
À: exim-users
Sujet: [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.