Re: [exim] missing } in condition

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Pawel Rutkowski
Datum:  
To: exim-users
Betreff: 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.