Re: [Exim] problem with nested condition

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Wakko Warner
Dátum:  
Címzett: Andreas Gietl
CC: exim-users
Tárgy: 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