Re: [exim] missing } in condition

Pàgina inicial
Delete this message
Reply to this message
Autor: Pawel Rutkowski
Data:  
A: exim-users
Assumpte: 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.