Hi,

I find that when I move a message to the trash via the Gmail
web UI and then remove the `trash` label, mbsync fails to
add the message back to the `All Mail` folder. Even worse,
when I then archive this message it disappears from the
local store.

In the following I am manipulating the message via the Gmail
web UI and monitor the message in the local store.

1. New message in INBOX/All Mail
2. `mbsync`: Message is in both INBOX and `All Mail` local folders
2. Remove `inbox` label
3. `mbsync`: Message is only in `All Mail` local folder
4. Move message to INBOX
5. `mbsync`: Message in both INBOX and `All Mail` local folders
6. Move message to Trash
7. `mbsync`: Message is in `Trash` local folder
8. Remove `trash` label to move message back to INBOX
9. `mbsync`: Message is only in `INBOX` local folder
10. Remove `inbox` label from message
11. `mbsync`: Message disappears from local store

I suspect that I am missing something in the settings, but I
can't quite figure out what.

Below the account relevant settings I am using.

Best,

Nick



CopyArrivalDate yes
Sync All
Create Both
Expunge Both

Channel nicolasbock.gmail-inbox
Master :nicolasbock.gmail-remote:
Slave :nicolasbock.gmail-local:
Patterns "INBOX"
SyncState *

Channel nicolasbock.gmail-drafts
Master :nicolasbock.gmail-remote:
Slave :nicolasbock.gmail-local:
Patterns "[Gmail]/Drafts"
SyncState *

Channel nicolasbock.gmail-all-mail
Master :nicolasbock.gmail-remote:
Slave :nicolasbock.gmail-local:
Patterns "[Gmail]/All Mail"
SyncState *

Channel nicolasbock.gmail-spam
Master :nicolasbock.gmail-remote:
Slave :nicolasbock.gmail-local:
Patterns "[Gmail]/Spam"
SyncState *

Channel nicolasbock.gmail-trash
Master :nicolasbock.gmail-remote:
Slave :nicolasbock.gmail-local:
Patterns "[Gmail]/Trash"
SyncState *

Group nicolasbock.gmail
Channel nicolasbock.gmail-trash
Channel nicolasbock.gmail-inbox
Channel nicolasbock.gmail-drafts
Channel nicolasbock.gmail-spam
Channel nicolasbock.gmail-all-mail


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to