On Wed, Aug 01, 2007 at 12:24:40PM -0500, Brian Blood wrote: > set acl_c_pref_av_run = 1 > set acl_m_msg_av_allowed = true > > this: > > condition = ${if and {{$acl_c_pref_av_run} > {$acl_m_msg_av_allowed}} {true}{false}} > > is giving me the following error: > > "${if and {{$acl_c_pref_av_run}{$acl_m_msg_av_allowed}} {true} > {false}}": condition name expected, but found "$acl_c_pref_av_r" > inside "and{...}" condition
Exim's expansion syntax is not a programming language. It's just a set of string expansion operators. A valid condition is required in any ${if construct, such as eq{}. Certain condition= statements in ACL will accept values such as "true" or "1" to indicate a positive value, but that is only after regular string expansions have been performed on the value of the condition statement. -- Dean Brooks [EMAIL PROTECTED] -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/