[Exim] condition question

Top Page
Delete this message
Reply to this message
Author: George Schlossnagle
Date:  
To: exim-users
Subject: [Exim] condition question
I am trying to to require two conditions to be met on a specific
transport:

"${if and {{${lookup mysql{select login from accounts where
login='${local_part}'}{$value}fail}}{${perl{attach_check}{${message_body}}}}}}

I keep getting misplaced { }'s errors. Any thoughts/suggestions?