Hello,

I have just started working with mbsync to establish bi-directional
syncing between my Gmail account and my Debian box. It seems to work
great, except for one thing. Most messages have more than one Gmail
label/folder: inbox, all mail, various subfolders. Deleting a message
from one local folder leaves a copy in the others. As a consequence, if
I want to truly delete a message, I have to chase it down in each folder
it occurs in, including at least Inbox and All Mail, and often others.

Is there a way to configure mbsync to remove all copies of an email at
once?

I'm using mu4e in Emacs as my mail reader. I could use another reader,
if necessary, as long as it's inside Emacs.

mbsync --version
isync 1.1.0

.mbsyncrc:

IMAPAccount gmail
Host imap.gmail.com
User <mygmailaccount>@gmail.com
Pass <mysecretpassword>
UseIMAPS yes
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore gmail-remote
Account gmail

MaildirStore gmail-local
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/Inbox

Channel gmail
Master :gmail-remote:
Slave :gmail-local:
# Exclude everything under the internal [Gmail] folder, except the interesting 
folders
Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
Create Both
SyncState *
Expunge Both

Thanks,

Tyler

-- 
Sent with my mu4e


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to