Re: [Exim] smtp auth problem with exim-4.10

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nico Erfurth
Dátum:  
Címzett: Ben Lutgens
CC: exim-users
Tárgy: Re: [Exim] smtp auth problem with exim-4.10
Sorry, replied to first, the first time ;)

Ben Lutgens wrote:
> --
> I'm on a redhat-7.3 box with all the updates and am using exim-4.10 (from
> source and have the following bits in runtime config (which works on my
> debian exim3 box)
>
> plain:
> driver = plaintext
> public_name = PLAIN
> server_condition = "${if pam{$1:$2}{1}{0}}"
> server_set_id = $2

.....
> plain authenticator:
> $1 =
> $2 = username
> $3 = password


As you can see, $2 contains the username, and $3 the passwort, so the
condition should be

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