[exim] Condition in router

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Pawel Rutkowski
Dátum:  
Címzett: exim-users
Tárgy: [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.