Thomas Standaert
2013-Apr-17 13:26 UTC
[Dovecot] Dovecot connection problem - Too many invalid commands (no auth attempts) - v2.0.19
Hello. This might be a silly problem, but I'm a bit a newbie at this, and the internet didn't give me a solution to this yet. I installed a mail server with postfix, dovecot, postfixadmin and a mysql DB for authentification, using this tutorial : <http://www.exratione.com/2012/05/a-mailserver-on-ubuntu-1204-postfix-doveco t-mysql/> http://www.exratione.com/2012/05/a-mailserver-on-ubuntu-1204-postfix-dovecot -mysql/. Except step 4. The complete tutorial worked on a virtual machine, but doesn't work here on a vps from ovh.net. Connecting via telnet localhost 143 works, I can connect. When I try to connect via thunderbird, the domain name is picked up, but gives me a bad login/password combination. Mail.log, mail.err and error don't show anything. Via MS Outlook, I seem to get stuck on the connection page, and I get the following errors in mail.log: dovecot: imap-login: Disconnected: Too many invalid commands (no auth attempts): rip=x, lip=y dovecot: pop3-login: Disconnected (no auth attempts): rip=x, lip=y dovecot: imap-login: Disconnected (no auth attempts): rip=x, lip=y, TLS: Disconnected dovecot: pop3-login: Disconnected (no auth attempts): rip=x, lip=y, TLS: Disconnected dovecot: pop3-login: Aborted login (no auth attempts): rip=x, lip=y dovecot: imap-login: Disconnected (no auth attempts): rip=x, lip=y, TLS: Disconnected dovecot: imap-login: Disconnected (no auth attempts rip=x, lip=y dovecot: imap-login: Disconnected (no auth attempts): rip=x, lip=y, TLS handshaking: Disconnected dovecot: pop3-login: Disconnected (no auth attempts): rip=x, lip=y, TLS handshaking: Disconnected And after a while asks to try to connect via plain method. Doveconf -n gives me this # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-042stab068.8 x86_64 Ubuntu 12.04.2 LTS simfs auth_mechanisms = plain login first_valid_uid = 150 last_valid_uid = 150 mail_gid = mail mail_location = maildir:/var/vmail/%d/%n mail_uid = vmail passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } protocols = " imap pop3" service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-userdb { group = mail mode = 0600 user = vmail } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } Hope you guys can help me, and thanks in advance for it. Greetings, Thomas Standaert
Steffen Kaiser
2013-Apr-17 13:54 UTC
[Dovecot] Dovecot connection problem - Too many invalid commands (no auth attempts) - v2.0.19
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUW6pqF3r2wJMiz2NAQJyCggAhNDwtOWw95OMs1UNNd9eK8qwc/3EZSZh uBEpRuMx4JyUzvpE5U8b51pmqwTFP+gsLokw2yMpX/9f1oD5/9MedKr8wsuGVq+G W3a4NnK2Go9MelD3Pk4brZv6QDDupFV3zugwePFpA8OM0Mzp93uq3kwK4cX6+BDu ePY4DMFdcT9zydtbXE3SJhx4eXIxJIMekH1y7QH6gaglfJ9+sapfN9AE4nVOtSkN Ydrk9TnJJ3e3i0UF1AknbMolWVF4Wa52RTcrZBkeTADz7Uv5Xn2bkVnG14zt4LN/ Vb9BIEqz2rJHJoSsBAamZU2pwkug3fbzIHs+bt6++5nneT/K3Vav9g==H7z5 -----END PGP SIGNATURE-----
diskdude
2013-May-14 08:09 UTC
[Dovecot] Dovecot connection problem - Too many invalid commands (no auth attempts) - v2.0.19
I had the same trouble. After trying just about everything else I could think of (selinux, conf files, etc) I managed to fix it by deleting and recreating the users mail file. Don't know why this should work and I would be interested if it works for you? Regards -- View this message in context: http://dovecot.2317879.n4.nabble.com/Dovecot-connection-problem-Too-many-invalid-commands-no-auth-attempts-v2-0-19-tp41688p42214.html Sent from the Dovecot mailing list archive at Nabble.com.
Possibly Parallel Threads
- v2.0.19 released
- v2.0.19 released
- dovecot auth-worker error happens when I enabled the dovecot to consider both the system account and the MySQL virtual mailbox databases.
- dovecot auth-worker error happens when I enabled the dovecot to consider both the system account and the MySQL virtual mailbox databases.
- Stuck with authentication for my dovecot installation.