Re: [exim] Combining conditions with and

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jakob Hirsch
日付:  
To: Alex Charrett
CC: exim-users
題目: Re: [exim] Combining conditions with and
Alex Charrett wrote:

> The following seems to be my best attempt, but generates a "Failed:
> missing 2nd string in {} after "eq" inside "and{...}" condition" error.


>             {eq{${lookup{$2}lsearch{/etc/exim/auth_users}{1}{0}}}} \


Like it sais: equal to _what_? So just put a {1} at the end:

{eq {${lookup{$2}lsearch{/etc/exim/auth_users}{1}}}{1}} \

>             {eq{${if saslauthd{{$2}{$3}}{1}{0}}}} \


same here, but since saslauthd is condition already you can leave out
the eq and if stuff:

{saslauthd{{$2}{$3}}} \