Hi folks, Thanks for the nice piece of software.
Recently, I converted from offlineimap to mbsync. I have a basic setup with GMAIL (see mbsyncrc below). Everything seems to work fine except my All Mail folder for some reason reports about 12,000 more messages on the server (master) than local (slave); but no errors are given. I did a quick check and it appears I'm simply missing emails from the year 2006 (otherwise nothing fishy about those emails is obvious; and they were sucked down by offlineimap just fine.)
Here's mbsync -Va output: Channel sync-googlemail-archive Opening master store gmail-remote... Opening slave store gmail-local... Opening master box [Gmail]/All Mail... Opening slave box archive... Loading master... Loading slave... slave: 141426 messages, 8 recent master: 153966 messages, 0 recent Synchronizing... C: 5/5 B: 7/7 M: +0/0 *0/0 #0/0 S: +2/2 *0/0 #0/0I can't see anything with -D on that screams at me. Any help towards debugging this would be great. Thanks in advance,
mbsyncrc: IMAPAccount gmail # Address to connect to Host imap.gmail.com User ****@gmail.comPass *** # Use SSL
SSLType IMAPS# The following line should work. If get certificate errors, uncomment # the two following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt #CertificateFile ~/.cert/imap.gmail.com.pem #CertificateFile ~/.cert/Equifax_Secure_CA.pem IMAPStore gmail-remote Account gmail MaildirStore gmail-local Subfolders Verbatim # The trailing "/" is important Path ~/docs/mail/ Inbox ~/docs/mail/INBOX #Channel gmail #Master :gmail-remote: #Slave :gmail-local:## Exclude everything under the internal [Gmail] folder, except the interesting folders
#Patterns * ![Gmail]* "[Gmail]/Spam" "[Gmail]/Trash" "[Gmail]/All Mail" ## Or include everything ##Patterns *## Automatically create missing mailboxes, both locally and on the server
#Create Both ## Save the synchronization state files in the relevant directory #SyncState * # Channel sync-googlemail-inbox Master :gmail-remote: Slave :gmail-local: # Select some mailboxes to sync Patterns "INBOX" Channel sync-googlemail-others Master :gmail-remote: Slave :gmail-local: # Select some mailboxes to sync Patterns "suckless" "qutebrowser" "noson-app" Channel sync-googlemail-trash Master :gmail-remote:"[Gmail]/Trash" Slave :gmail-local:trash Create Slave Channel sync-googlemail-spam Master :gmail-remote:"[Gmail]/Spam" Slave :gmail-local:spam Create Slave Channel sync-googlemail-archive Master :gmail-remote:"[Gmail]/All Mail" Slave :gmail-local:archive Create Slave # Get all the channels together into a group. Group googlemail Channel sync-googlemail-inbox Channel sync-googlemail-others Channel sync-googlemail-trash Channel sync-googlemail-spam Channel sync-googlemail-archive
signature.asc
Description: PGP signature
_______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel