Hi,

>> I need to build a condition with nested if-s, but I cannot get it work:
>>
>>     defer   condition     = ${if  and { \
>>                                           { \
>>                                                   ${if eq{}{} \
>>                                                   {true} \
>>                                                   {false} } \
>>                                           } \
>>                                           {eq{}{}} \
>                                             ^^^^^^^^
>
> I would say that is the problem. It needs to be an '${if' expression.
> Try replacing just that line with: {${if eq {} {} }} \

no, thats not the problem. Furthermore, this code works fine:

${if  and { \
        { eq{}{} } \
        { eq{}{} } \
}}}

But unfortunately it doesn't contain the nested if conditions which I 
really need, so this way is not an option for me.

Regards
Marten

-- 
## 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/

Reply via email to