Mailserver says 'imap-login: Disconnected: Too many invalid commands (no auth attempts in 0 secs): user=<>,"

Issue #78 invalid
Sebastian Baus created an issue

Hi there!
I tried the first installation of this great plugin and I need help:

Roundcube v. 1.4.11 (tried 1.4.10 with same results)
ident_switch v. 4.3.5
WebServer: Apache + php7.4.15 FPM
Mailserver: Postfix 3.4.13 & Dovecot 2.3.2.1 via TLS.

Installation via composer without problems. SQL-table is created and inputs seems to be stored correctly.
But when I switch to an identity in roundcube, roundcube displays an error that the connection could not be established to fetch mails (imap). SMTP is working!
The parent account in roundcube is fetching mails without problems.

On the Mailserver I can find this corresponding line in the logs:
[…] imap-login: Disconnected: Too many invalid commands (no auth attempts in 0 secs): user=<> [..]
For every try in roundcube there are 3 entries in the logfile.

The credentials are tested and 100% ok. SMTP is working via ident_switch with same credentials.
Are there special requirements to the mailserver (dovecot) to accept logins via ident_siwtch? I searched on the web an in all issues without success.

We are running the Mailserver (postfix + dovecot) since years without seeing this problem before. So I have no clue what the problem could be.

Thanks for your help and best greetings from germany,
Radnerd

Comments (1)

  1. Sebastian Baus reporter

    Sorry! We looked at the issue again and the wrong port was uses in ident_siwtch. With the correct port everything works like a charme!

    Sorry for this mistake!

  2. Log in to comment