[exim] Condition in router

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Pawel Rutkowski
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [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.