[Exim] a condition is doing my head in

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Drav Sloan
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] a condition is doing my head in
Howdy all.

A quick condition master, got a quick second to have a look at the
following condition. All I want is a simple if ... and ... but
I've been going around in circles and pulling alot of hair...

  condition = ${if \
     and {\
        { ${lookup \
           {$interface_address} \
           lsearch {Exim_Tables/aaa_file} \
        } }\
        { ${lookup \
           {$domain} \
           lsearch {Exim_Tables/bbb_file} \
        } }\
     } {1}{0} }


Gives the error:

condition name expected, but found "${lookup {$inter"


So what craziness do I need to make it work? :)

D.