nextcloud / nextcloud/mail

mail-app vs. dovecot: LOGIN after AUTHENTICATE -> BAD Error in IMAP command LOGIN: Unknown command

Open
#10,606 2 comments 0 reactions 1 assignee View on GitHub

@SebastianKrupinski is already working on this.

Since Apr 23, 2025.

0. to triage bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Add new mail account (manually)
  2. Enter credentials for dovecot imap-Server (localhost, no ssl/tls)
  3. Click "Connect"
Expected behavior

Successful login.

Actual behavior

Connect fails - tells wrong password.

tshark shows, mail-app is first sending AUTHENTICATE (successful) and afterwards - unnecessary - LOGIN too, which fails with "BAD Error in IMAP command LOGIN: Unknown command".

Mail app version

No response

Nextcloud version

30.0.5

Mailserver or service

dovecot 2.3.21

Operating system

linux devuan stable

PHP engine version

PHP 8.2

Nextcloud memory caching

No response

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.