From 3606e4bb11cad0505d2ec85fb6090064829dbde9 Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 9 Mar 2017 04:12:03 +0100 Subject: Replace offlineimap with isync (mbsync) --- .mbsyncrc | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .mbsyncrc (limited to '.mbsyncrc') diff --git a/.mbsyncrc b/.mbsyncrc new file mode 100644 index 0000000..3b0adc6 --- /dev/null +++ b/.mbsyncrc @@ -0,0 +1,48 @@ +IMAPAccount tharre3@gmail.com +Host imap.gmail.com +User tharre3@gmail.com +PassCmd "pass email/tharre3@gmail.com" +SSLType IMAPS +CertificateFile /etc/ssl/certs/ca-certificates.crt + +IMAPStore tharre3@gmail.com-remote +Account tharre3@gmail.com + +MaildirStore tharre3@gmail.com-local +# The trailing "/" is important +Path ~/.mail/tharre3@gmail.com/ +Inbox ~/.mail/tharre3@gmail.com/INBOX + +Channel tharre3@gmail.com-default +Master :tharre3@gmail.com-remote: +Slave :tharre3@gmail.com-local: +Patterns * ![Gmail]* !sent !drafts !trash +# Automatically create missing mailboxes, both locally and on the server +Create Both +# Save the synchronization state files in the relevant directory +SyncState * + +Channel tharre3@gmail.com-sent +Master :tharre3@gmail.com-remote:"[Gmail]/Sent Mail" +Slave :tharre3@gmail.com-local:sent +Create Slave +SyncState * + +Channel tharre3@gmail.com-drafts +Master :tharre3@gmail.com-remote:"[Gmail]/Drafts" +Slave :tharre3@gmail.com-local:drafts +Create Slave +SyncState * + +Channel tharre3@gmail.com-trash +Master :tharre3@gmail.com-remote:"[Gmail]/Bin" +Slave :tharre3@gmail.com-local:trash +Create Slave +SyncState * + +# Get all the channels together into a group. +Group tharre3@gmail.com +Channel tharre3@gmail.com-default +Channel tharre3@gmail.com-sent +Channel tharre3@gmail.com-drafts +Channel tharre3@gmail.com-trash -- cgit v1.2.3-70-g09d2