Re: [Exim] problem with nested condition

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Wakko Warner
Date:  
À: Andreas Gietl
CC: exim-users
Sujet: Re: [Exim] problem with nested condition
> i'm trying to set up a nested condition with an and but simply can't manage to
> do it the right way. maybe one of you can push me into the right direction.
> (i'm using exim-4.24).
>
> this is the condition i use:
>
>   condition =\
>                 ${if and\
>                         {\
>                                 {!eq {$h_X-Relay:}\

                                                   ^^
Unless that was a typo when you pasted, there should be another } there.

>                                 {}\
>                         }\
>                         {\
>                                 {!eq \
>                                         {${lookup mysql {insert into log SET
> test='aaa'}}\

            ^^
Another } here as well.


>                                         {1}\
>                                 }\
>                         }\
>                         {yes}{no}\
>         }


Other than those 2 errors, I see nothing else wrong

--
Lab tests show that use of micro$oft causes cancer in lab animals