[exim] Help to logical OR two conditions

Góra strony
Delete this message
Reply to this message
Autor: Victor Sudakov
Data:  
Dla: exim-users
Temat: [exim] Help to logical OR two conditions
Dear Colleagues,

Could you please help me unite the following two ACL expressions into one:

accept condition      = ${lookup{$local_part@$domain}lsearch{/etc/dovecot/aliases}{yes}}
accept condition      = ${lookup{$local_part@$domain}lsearch{/etc/dovecot/users}{yes}}


Should be fairly simple but... I've tried variants of '${if or {...' by
the manual but all I got were errors like

"${or" is not a known operator (or a } is missing in a variable reference)

I'm probably miscounting brackets or something. Could you please suggest
a working tested example of a logical OR between such conditions?

TIA.

--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/