Stalwart mail: System folders are duplicated
Open
Nobody has claimed this yet.
0. to triage
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Set up a Stalwart mail server
- Login to it through Nextcloud Mail
- Enjoy the chaos 🙃
Expected behavior
- One Drafts folder
- One Sent folder
- One Spam folder
- One Trash folder
- All the shared folders stuff in Shared folders
Actual behavior
Mail app version
5.1.0
Nextcloud version
31.0.2
Mailserver or service
Stalwart Mail
Operating system
Debian 12 Bookworm (official Nextcloud container)
PHP engine version
PHP 8.3
Nextcloud memory caching
No response
Web server
Apache (supported)
Database
PostgreSQL
Additional info
Note that I am dealing with accounts storing tens of Gio of data, on a replicated FoundationDB backend.
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
Reproduce the issue with Nextcloud Mail 5.1.0 against a Stalwart mail server and compare the returned folders with the expected system-folder list. Trace how the app identifies and displays Drafts, Sent, Spam, Trash, and shared folders; done means each system folder appears once and shared folders remain grouped under Shared folders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100