Dear Folks, I tried running mbsync with following mbsyncrc file:
IMAPAccount gmail # Address to connect to Host imap.gmail.com User [email protected] Pass *************** # To store the password in an encrypted file use PassCmd instead of Pass # PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg" # # 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 # The trailing "/" is important 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" # 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 * I set up the relevant mail folder directories and installed isync etc. I got an XOAUTH error and added Port 993 which cured the problem but then I got another error: "IMAP store has both account and account-specific options" What sort of problem is this error pointing to here? Comments appreciated Regards Michael Fothergill PS I will post up how much faster mbsync is in my case cf offlineimap when I get it running.

