nextcloud / nextcloud/mail

Stalwart mail: System folders are duplicated

Open
#11,200 10 comments 4 reactions 0 assignees View on GitHub

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
  1. Set up a Stalwart mail server
  2. Login to it through Nextcloud Mail
  3. 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

Image

Image

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

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.