First of all, thanks Oswald and jrun for your responses. There are many scattered emails in the mailing list archives related to gmail's behaviour and it is not easy to find what is relevant to fix the problem one is facing. I had in fact tried but failed to resolve it. So, pointed suggestions of jrun are very helpful.
I think, given that a lot of people use gmail, there is perhaps a need for a more detailed how-to on the issues. Various guides available on the issue only provide sketchy instructions and do not really deal with the quirks one finds in gmail. Coming now to jrun's suggestions. If I understand it right, these are primarily focussed on how to propagate neomutt/notmuch tags to the IMAP server. My bigger problem is that whatever I delete on gmail's web interface does not get propagated to my local maildir. Mails just stay in my local maildir. This seems to be an absurd behaviour. > before anyting, one thing that might matter here; i only sync All Mail: > Far :gmailusrname-remote:"[Gmail]/All Mail" > Is this really necessary? I sync INBOX, Sent and Trash. Should I switch to syncing "All Mail"? Isn't that a rather drastic step which would change my Maildirs significantly? I want to be sure before I do anything like that. now from `man 1 mbsync`: (emphasise is mine) > Make sure your IMAP server does not auto - expunge deleted messages... > *Specifically*, Gmail needs to be configured not to do it. [gmail-settings] > > [gmail-settings]: at gmail's web interface; > Gear Icon > See all settings > Forwarding and POP/IMAP: > > 1. Auto-Expunge off - Wait for the client to update the server. > This was fine in my case. > 2. When a message is marked as deleted and expunged from the last visible > IMAP folder: > Archive the message (default) > * Move the message to the Bin > Immediately delete the message forever > I was on the third option. Have now switched to the second. > # macro index,pager D "<purge-thread><sync-mailbox>" > macro index,pager D "<delete-thread><vfolder-window-reset>" > > This does not seem to work for me. It takes me to a compose window with "window-reset>" as the addressee! Also, if I understand it correctly, you are using the neomutt's deletion rather than using notmuch to mark the messages as deleted. I was hoping to propagate the notmuch tag to gmail. Thanks a lot for your help. Vikas
_______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel