Re: [exim] missing } in condition

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Pawel Rutkowski
Data:  
Para: exim-users
Asunto: Re: [exim] missing } in condition
Hello,

> Better formatting is the answer to questions like this.
>
> condition = \
>   ${if and{{ eq{${lookup {$sender_address_domain} \
>                   lsearch {/etc/exim/ze_skrzynkami} \
>                   {0} {1} }} \
>                {1} \
> # here you have {0}{1} which makes no sense
> # since eq{}{} takes only two parameters
>           }{ eq{${lookup {$sender_address_domain} \
>                   lsearch {/etc/exim/ze_skrzynkami} \
>                   {0} {1} }} \
>                {1} \
> # here you have another spurious {0}{1}
>           }} \
>        {1} {0} }

>


Thanks, of course it works.

Pawel R.