diff options
author | Tharre <tharre3@gmail.com> | 2017-03-09 04:12:03 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2017-03-09 04:12:03 +0100 |
commit | 3606e4bb11cad0505d2ec85fb6090064829dbde9 (patch) | |
tree | b8475758e4e88819e3d64de2341fe97579ddc72b /.mbsyncrc | |
parent | c42046dddd4cd23b5ecf6b1022fda4c5b4b7c39e (diff) | |
download | dotfiles-3606e4bb11cad0505d2ec85fb6090064829dbde9.tar.gz dotfiles-3606e4bb11cad0505d2ec85fb6090064829dbde9.tar.xz dotfiles-3606e4bb11cad0505d2ec85fb6090064829dbde9.zip |
Replace offlineimap with isync (mbsync)
Diffstat (limited to '.mbsyncrc')
-rw-r--r-- | .mbsyncrc | 48 |
1 files changed, 48 insertions, 0 deletions
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 |