Re: [exim] missing } in condition

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Pawel Rutkowski
日付:  
To: exim-users
題目: 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.