|
From: Vikas R. <vik...@gm...> - 2018-10-15 01:38:46
|
My mbsync config does not expunge messages from server or local storage. Whatever is deleted on the server (using gmail's web interface) does not propagate to the local stoage and what I delete (or move) locally (using neomutt), does not get deleted on the server. Would really appreciate help as my gmail storage is full, and I am unable to clean it out. I have been struggling with this for many hours and would appreciate some help. My .mbsyncrc (minus account details) is pasted below for reference. Thanking you, Vikas ----- Create Both Expunge Both SyncState * ################################# ######## Account Gmail ######## ################################# IMAPAccount gmail Host imap.gmail.com User mym...@gm... PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg | awk '/machine imap.gmail.com login mym...@gm.../ {print $NF}'" SSLType IMAPS SSLVersions TLSv1.2 CertificateFile /etc/ssl/certs/ca-certificates.crt # Remote storage IMAPStore gmail-remote Account gmail # Local storage MaildirStore gmail-local SubFolders Legacy Path ~/mbsync/gmail Inbox ~/mbsync/gmail/INBOX Channel gmail-inbox Master :gmail-remote:"Inbox" Slave :gmail-local: # Exclude everything under the internal [Gmail] folder, except the interesting folders # Patterns "INBOX" Channel gmail-sent Master :gmail-remote:"\[Gmail\]/Sent\ Mail" Slave :gmail-local:SentMail Master :gmail-remote:"\[Gmail\]/Trash" Slave :gmail-local:Trash Group gmail Channel gmail-inbox Channel gmail-sent Channel gmail-trash SyncState * Sync ALL |