[exim] Condition in router

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Pawel Rutkowski
Date:  
À: exim-users
Sujet: [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.