On Sun, 2006-01-22 at 14:32 +0100, ohp@pyrenet.fr wrote:
I could'nt find where it is set the first time.
Looking at the code, it should always complain in every possible situation where something might go wrong. So, first it should be figured out if the problem is in dovecot-auth or imap-login.
Try adding some debugging first:
diff -u -r1.16 auth-server-connection.c --- src/lib-auth/auth-server-connection.c 14 Jan 2006 18:47:23 -0000 1.16 +++ src/lib-auth/auth-server-connection.c 22 Jan 2006 13:08:19 -0000 @@ -164,6 +164,8 @@
conn->refcount++; while ((line = i_stream_next_line(conn->input)) != NULL) { + i_info("auth server: %s", line); + if (strncmp(line, "OK\t", 3) == 0) ret = auth_client_input_ok(conn, line + 3); else if (strncmp(line, "CONT\t", 5) == 0)
It should be sending a MECH line with PLAIN parameter.
Amazing! It did'nt trigger any message!
Hmm. So, the login process doesn't seem to be connecting to dovecot-auth at all. Or at least not receiving anything from it. But in that case this should happen: * OK Waiting for authentication process to respond.. And you shouldn't be able to give any commands. This really is with 1.0beta1? And Dovecot's logs don't show any errors?