[Exim] Problems with condition and lookup in 2 files

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Oliver Fischer
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Problems with condition and lookup in 2 files
Hi,

I try to setup a condition with a lookup in to files. Here is what I have
written:

condiftion = ${if and\
                  {lookup{$local_part}lsearch{fileA}}\
                  {lookup{$domain}lsearch{fileB}}\
                  {yes}{no}}


Somehow I got always the message:
director: subcondition in {} expected inside "and{...}" condition

Maybe someone know the correct syntax? BTW, there is the complete
description of the condition systax including things as 'and'?

BYe

Oliver