著者: Jeremy Harris日付: 2016-01-04 12:40 UTC To: exim-users題目: Re: [exim] Unable to authenticate at present (set_id=username):
missing or misplaced { or }
On 02/01/16 12:14, Thomas Stein wrote:
> Wrong user:
>
> exim # exim -be '${if exists{/etc/exim/passwd}
> {${lookup{eitadmin}lsearch{/etc/exim/passwd} {${if crypteq{test}
> {\{md5\}${extract{1}{:}{$value}{$value}fail}} {true}{false} }} {${if
> pam{eitadmin:${sg{MyPassw0rd}{:}{::}} } {true}{false}} } }} {${if
> pam{eitadmin:${sg{MyPassw0rdaaa}{:}{::}} } {true}{false}} }}'
> Failed: missing or misplaced { or }
Try laying out that with all the matching brackets carefully
vertically aligned. Does the layout match the syntax
and semantics of each component?
--
Cheers,
Jeremy