[Exim] a condition is doing my head in

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