Sync should only download subscribed folders (LSUB) #120
Labels
No labels
actions
bug
complicated
database
dependencies
documentation
downstream
duplicate
enhancement
feature
fixed already
front-end
idea
internal
invalid
investigating
javascript
low priority
milestone
minor bug
needs info
networking
nice to have
pcntl
php
question
suggestion
sync
threading
ui
ux
web
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
bcarrella/libremail#120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
As we discuss in https://github.com/mikegioia/libremail/issues/105 there is a problem with syncing Exchange mailboxes. There are many clients of Microsoft Office365 mail system, and I think it is important. Problem occurs when we sync folders like "Archive" e.t.c.
To Reproduce
Steps to reproduce the behavior:
Also when we try to sync folder "Calendar/United States holidays" in database added this messages:
Expected behavior
Correctly folders sync.
Possible solution
As we decide it should be mechanism to per-account select folders to sync. And this mechanism already exists - it is "folder subscriptions". But it has one disadvantage. Folders "INBOX" and "Outbox" by default are unsubscribed and Outlook client synced it ignoring subscriptions.
So we need to set mandatory_sync_folders parameter somewhere (for example in default.ini / local.ini).
It also needed parameter sync_only_subscribed_folders, which will be regulate behavior of this functionality. Default sync_only_subscribed_folders = false for current behavior.
Requirements
I have already done some work with required libraries. You just need to review it :)
I finish this work @mikegioia Please review my pull request https://github.com/mikegioia/libremail/pull/121