Terve ! :-) Thank you kindly Timo. Ooops ! Missed "auth_debug". Just enabled it. I'll run some more tests and let you know.
I can attach the last error log lines. Here they are :
Jan 02 19:14:05 auth(default): Info: client in: CONT 3 AHBvc3RtYXN0ZXIAazR2djRkMTQ= Jan 02 19:14:05 auth(default): Info: passwd-file(postmaster,127.0.0.1): lookup: user=postmaster file=/etc/dovecot/passwd Jan 02 19:14:05 auth(default): Info: passwd-file(postmaster,127.0.0.1): unknown user Jan 02 19:14:07 auth(default): Info: client out: FAIL 3 user=postmaster Jan 02 19:14:22 imap-login: Info: Aborted login (auth failed, 3 attempts): user=<postmaster>, method=PLAIN, rip=127.0.0.1, l ip=127.0.0.1, TLS Jan 02 19:14:58 Info: Dovecot v1.2.9 starting up (core dumps disabled) Jan 02 19:14:58 auth(default): Info: passwd-file /etc/dovecot/passwd: Read 2 users Jan 02 19:14:58 auth(default): Info: passwd-file /etc/dovecot/users: Read 2 users Jan 02 19:14:59 auth(default): Info: new auth connection: pid=3495 Jan 02 19:14:59 auth(default): Info: new auth connection: pid=3496 Jan 02 19:14:59 auth(default): Info: new auth connection: pid=3497 Jan 02 19:15:17 auth(default): Info: new auth connection: pid=3501 Jan 02 19:15:26 imap-login: Info: Authenticate PLAIN failed: Unsupported authentication mechanism.: method=PLAIN, rip=127.0. 0.1, lip=127.0.0.1, secured Jan 02 19:18:26 imap-login: Info: Disconnected: Inactivity (tried to use unsupported auth mechanism): method=PLAIN, rip=127. 0.0.1, lip=127.0.0.1, secured Jan 02 20:36:13 Info: Dovecot v1.2.9 starting up (core dumps disabled) Jan 02 20:36:13 auth(default): Info: passwd-file /etc/dovecot/passwd: Read 2 users Jan 02 20:36:13 auth(default): Info: passwd-file /etc/dovecot/users: Read 2 users Jan 02 20:36:14 auth(default): Info: new auth connection: pid=3558 Jan 02 20:36:14 auth(default): Info: new auth connection: pid=3559 Jan 02 20:36:14 auth(default): Info: new auth connection: pid=3560
AFAIK, I disabled plain auth and enabled digest-md5. i don't know what else is relevant to this. If you need anything else, let me know.
Thank you for you reply.
Spyros
--- On Sat, 2/1/10, Timo Sirainen tss@iki.fi wrote:
From: Timo Sirainen tss@iki.fi Subject: Re: [Dovecot] What auth ? To: "Spyros Tsiolis" stsiol@yahoo.co.uk Cc: "Dovecot" dovecot@dovecot.org Date: Saturday, 2 January, 2010, 19:04 On 1.1.2010, at 18.19, Spyros Tsiolis wrote:
Something worth noticing for step "5". If I do this logging-in with the "user@fqdn" format, the systems kicks me out. I, then, check the latest on "/var/log/dovecot/errors" to find that the system does not complain about the auth.
If it disconnects you immediately, it really should have logged an error. Are you sure the errors go to that log file? Verify like http://wiki.dovecot.org/Logging says. Also auth_debug=yes could be helpful.