[exim] Concatenating condtions

Top Page
Delete this message
Reply to this message
Author: soumya tr
Date:  
To: exim-users@exim.org
Subject: [exim] Concatenating condtions
Hi,

How can I concatenate the below 2 conditions with an 'or'


condition = ${lookup {${sg{${extract{2}{@}{$h_from:}}}{>| .*}{}}} lsearch
{/etc/exim/exim-blacklisted-senders} {1}{0}}
condition = ${lookup {$authenticated_id} lsearch
{/etc/exim/exim-blacklisted-senders} {1}{0}}

I tried,

${if and{{${lookup {${sg{${extract{2}{@}{abc@???}}}{>| .*}{}}}
lsearch {/etc/exim/exim-blacklisted-senders} {1}{0}}} {${lookup {directi}
lsearch {/etc/exim/exim-blacklisted-senders} {1}{0}}}} {1}{0}}

but its generating error :(

Please assist

--
Regards,
Soumya
Linux Sytem Administrator
DirectI
<http://poornam.com>
"I like the dreams of the future better than the history of the past."