Re: [Exim] Colon in PW & SMTP AUTH

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Tamas TEVESZ
CC: ian, exim-users
Betreff: Re: [Exim] Colon in PW & SMTP AUTH
On Wed, 9 Jan 2002, Tamas TEVESZ wrote:

>  >         server_condition = "${if pam{$1:$2}{1}{0}}"

>
> this is the problem. after expansion it'll look like:
>
> ${if pam{usernev:pass:word}{1}{0}}
>
> which would be wrong, quite obviously (did a little research with exim
> -be and fixed strings as arguments, and this is what it shows)
>
> no idea how to circumvent it, though. i tried several wild guesses
> now, but none of them works...


The solution is to write, instead of $2

${sg{$2}{:}{::}}

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.