[Exim] Stuck with smtp auth

Etusivu
Poista viesti
Vastaa
Lähettäjä: Terry
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] Stuck with smtp auth
I have entered the following at the bottom of my configure file

begin authenticators
# Add the following authenticators:

plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if
crypteq{$3}{${extract{1}{:}{${lookup{$2}lsearch{/usr/local/etc/exim/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $2

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if
crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/usr/local/etc/exim/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $1
# End of smtp auth

Setup the password file with login details. At first it seemed to work
but when i tested with the wrong details its check password failed but
let it through anyway. I restarted exim and it hasnt worked since. I
used the howto here http://www.bytemark-hosting.co.uk/tech/authsmtp.html
Regards Terry