Horde_Imap_Client_Exception_ServerResponse: IMAP error reported by server
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
run the cli command:
php occ mail:account:diagnose 10
It's a dovecot account. All accounts of this dovecot server gaves me this error, "mail:accout:diagnose" on another email server gives me no error.
The error occours at the point, the script print out Account has 32 messages in 7 mailboxes
The log i got:

Any idea?
Expected behavior
no error
Actual behavior
an error
Mail app version
2.2.2
Mailserver or service
postfix, dovecot
Operating system
debian
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database
MariaDB
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing php occ mail:account:diagnose 10 against the reported Dovecot setup and compare its output with the linked nextcloud/mail issue. Trace the command's IMAP diagnosis path and the point after Account has 32 messages in 7 mailboxes; done means the command completes without the server-response error or clearly reports an unsupported server condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100