Re: [Exim] Colon in PW & SMTP AUTH

Top Pagina
Delete this message
Reply to this message
Auteur: ian
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] Colon in PW & SMTP AUTH
On Wed, Jan 09, 2002 at 09:41:04PM +0000, Philip Hazel wrote:
> 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}{:}{::}}


I'm still working on how to understand how to use the -be for testing.

However in the mean time..

I'm still having difficulty. That ${sg} fixed the : in the password but
I have noticed that if there is a $ in the password it doesn't work either.

example pw: $iguy:iguy

Thanks
ian