[exim] Condition

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Konstantin
Date:  
À: exim-users
Sujet: [exim] Condition
Hi,

I need to make recipient check against two files.

condition = ${if or{\

{${lookup{$local_part\@$domain}lsearch{/etc/exim/list1}{false}{true}}} \

{${lookup{$local_part\@$domain}lsearch{/etc/exim/list2}{false}{true}}} } }

But it does not work. The error is:
Failed: condition name expected, but found "${lookup{$local_" inside
"or{...}" condition

Condition for singe file does work.
condition =
${lookup{$local_part\@$domain}lsearch{/etc/exim/list1}{false}{true}}

Exim version is 4.82.

Can someone help me what i did wrong in that condition?

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