[exim] Concatenating condtions

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