[Dovecot] Dovecot connection problem - Too many invalid commands (no auth attempts) - v2.0.19

Thomas Standaert thomasstandaert_2 at hotmail.com
Wed Apr 17 18:58:16 EEST 2013


Hey Steffen, thanks for the quick response!
I enabled auth-debug now in dovecot.

A normal telnet ip 143 works, after I put disable_plaintext_auth to no of
course. I could connect, and see my folders. Mail.log didn't give me
anything abnormal, and showed me neatly the connection and the sql querries.
One abnormality though, just mentioning it, when I try to type in 1 login
user password, I got a "BAD Error in IMAP command received by server." Or
when I copy pasted the same thing (from the localhost terminal where I tried
it there) it worked.

After that I tried 
gnutls-cli -p 143 --starttls localhost
1 STARTTLS
^D

It gave me following error: The hostname in the certificate does NOT match
'localhost'
It's probably a certificate error (I use  a self-signed, planning on buying
one maybe later).	I'm now digging google again, and triple checking
each conf file. I added the hostname to the localhost entry of /etc/hosts,
but no positive response yet.

Thank you again
Greetings, 
Thomas Standaert

-----Original Message-----
From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] On
Behalf Of Steffen Kaiser
Sent: woensdag 17 april 2013 16:55
To: Dovecot Mailing List
Subject: Re: [Dovecot] Dovecot connection problem - Too many invalid
commands (no auth attempts) - v2.0.19

On Wed, 17 Apr 2013, Thomas Standaert wrote:

Did you enabled auth_debug in Dovecot ?
When you use

telnet ip 143
1 login "user" "password"

does it work? MUAs do too much, when it does not work at once.

It it works, try using TLS e.g.:

gnutls-cli -p 143 --starttls localhost
STARTTLS
^D
1 login "user" "password"

- -- 
Steffen Kaiser




More information about the dovecot mailing list