[exim] Condition in router

Top Page
Delete this message
Reply to this message
Author: Pawel Rutkowski
Date:  
To: exim-users
Subject: [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.