Autor: Pawel Rutkowski Datum: To: exim-users Betreff: Re: [exim] Condition in router
>OK, so you have a condition, which is a logical "and" of four other
>conditions ...
>
>> but I need to add:
>> ${lookup{$local_part@$domain}lsearch{/etc/exim/direct/$domain}}
>
>and you have a string expansion which does a lookup for some reason ...
>
>> where I should put it?
>
>I don't know - what do you want to do with that lookup? Test that it's not
>blank? That it gives some particular value? Something else?
if he found user@domain in file /etc/exim/direct/$domain and all these:
{!def:h_X-Spam-Flag:} \
{!eq {$received_protocol}{spam-scanned}} \
{!eq {$received_protocol}{local}} \
{exists{/etc/exim/spam/$domain/user_prefs}} \
expression is true then the email is accepted in that router.