Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Always watch Inbox if MvboxMove is set (#7187) #7234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
iequidoo wants to merge 3 commits into main
base: main
Choose a base branch
Loading
from iequidoo/always-fetch-inbox-on-mvbox_move

Conversation

@iequidoo
Copy link
Collaborator

@iequidoo iequidoo commented Sep 30, 2025

Close #7187
See commit messages. This is an alternative to #7200 made after @gerryfrancis's report that it breaks their use case. Python tests can be fixed up if we decide to merge this. feat: Enable OnlyFetchMvbox by default (#7190) here is to preserve the default behavior of #7200.

I'd vote for this change set, it only adds a couple of LOCs + two migrations. DC Desktop only needs to allow setting both options independently, DC Android already allows this. UI's option descriptions may be adjusted later, these are advanced settings and mostly the descriptions remain correct.

gerryfrancis reacted with heart emoji
@iequidoo iequidoo marked this pull request as draft September 30, 2025 18:36
@iequidoo iequidoo force-pushed the iequidoo/always-fetch-inbox-on-mvbox_move branch from 3d8483d to 851b479 Compare October 1, 2025 04:48
@iequidoo iequidoo marked this pull request as ready for review October 1, 2025 04:52
This reverts commit 2260156. Some users still want to get messages
from all folders as reported by @gerryfrancis.
If `OnlyFetchMvbox` is enabled, `MvboxMove` ("Move automatically to DeltaChat folder") makes no
sense: useful messages from "Spam" are moved anyway to "DeltaChat" (see
`imap::spam_target_folder_cfg()`) and Inbox messages aren't fetched and moved. Then `MvboxMove` can
mean "Move Inbox and all scanned folders' messages to DeltaChat", so if it's enabled, Inbox is
watched too, so the user can configure fetching only from "Inbox", "DeltaChat" and "Spam" which was
unachievable before and helps e.g. for the Gmail case which has many virtual folders and the whole
folder scanning process is really slow (and useless for most users):
#7178 (comment). This may also be useful if the
user has another messenger, e.g. a Delta Chat fork who moves messages to "ZetaChat": this folder
shouldn't be scanned, but Inbox should be. Mvbox is watched anyway, this should just be made clear
to users (if not already).
For existing users accidentally having both options enabled "MvboxMove" is disabled in a migration
to not cause watching Inbox.
Having both options disabled means that we don't separate chat messages from non-chat ones, scanning
all folders is fine in this case.
This is a replacement for 2260156 "feat: Don't fetch messages from
unknown folders", but limited to the case with `MvboxMove` enabled. It's enabled by default, so most
users still gain from not fetching messages from unknown folders.
@iequidoo iequidoo force-pushed the iequidoo/always-fetch-inbox-on-mvbox_move branch from 851b479 to 8c95336 Compare October 24, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@link2xt link2xt Awaiting requested review from link2xt

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Extend MvboxMove meaning (and maybe rename Config::OnlyFetchMvbox to OnlyScanSpam later)

1 participant

AltStyle によって変換されたページ (->オリジナル) /