Hello,
> On 02/18/2010 11:25 PM, Marten Lehmann wrote:
>> John proposed to use two "condition = ..." lines which would be "and"ed
>> by exim. It just doesn't look as clear. Is there any way to do this in
>> one "condition = ..." line?
>
> Of course there is. But all your "whatevers" are just too confusing.
but they all can be reduced to one simple question: How can I use an
${if } block within an and{} condition?
Whenever I use something like
and {
{ ${if eq{}{} {this}{that} } }
{ ${if eq{}{} {this}{that} } }
}
I get this error:
condition name expected, but found "${if eq{}{} {tru" inside "and{...}"
condition
While this works fine:
and {
{ eq{}{} }
{ eq{}{} }
}
but does not allow for nested conditions since there is no "else". So I
need an if-condition so I can extend the "that" later.
Regards
Marten