[exim] Condition in router

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Pawel Rutkowski
Data:  
Para: exim-users
Assunto: [exim] Condition in router
Hi,

        I have problem to construct condition in my router:
 condition = "${if and { \
    {!def:h_X-Spam-Flag:} \
    {!eq {$received_protocol}{spam-scanned}} \
    {!eq {$received_protocol}{local}} \
    {exists{/etc/exim/spam/$domain/user_prefs}} \
} {1}{0}}"


work ok, but I need to add:
${lookup{$local_part@$domain}lsearch{/etc/exim/direct/$domain}}
where I should put it?

Tried many combination and nothing :(

Thanks
Pawel R.