Hello all,
I'm sure by now you're all getting sick of silly Gmail questions from people
like me.
I wish to use mutt to access my Gmail account, but find direct IMAP usage a
little slow, and it also precludes full-text search using notmuch. Therefore
mbsync seems like an excellent solution---and it almost is.
My main issue is handling marking emails as read, with the odd Gmail IMAP
directory implementation. I sync all folders (see config below), which of
course downloads duplicates (the same email will be duplicated across INBOX
and [Gmail]/All Mail). This is fine, but the following happens when receiving
a new email:
- New message appears in INBOX, with N flag
- New message also appears in All Mail (with N flag too)
- Using mutt, I read the message in INBOX, clearing the N flag, and then
(importantly!) delete it
- mbsync runs, which removes the email from INBOX on the server, but still
leaves the N flag set on the copy in All Mail
If I don't delete the message out of INBOX, eventually (over two syncs), the N
flag is cleared on the message in All Mail.
Are there any workarounds for this? Are people simply only syncing, perhaps,
All Mail instead of INBOX/Sent Items/etc.? Is there something I can do with my
MUA to apply changes to all copies of messages?
---begin config---
IMAPAccount gmail
Host imap.gmail.com
User <omitted>
Pass <omitted>
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
SubFolders Verbatim
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/INBOX
Channel gmail
Master :gmail-remote:
Slave :gmail-local:
Patterns *
Create Both
Expunge Both
SyncState *
Sync All
---end config---
Thanks,
Tom
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel