From f945d4cb62c4b726f4ef7fe6547cfc2719e82fd1 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 2 Jul 2015 22:29:00 -0400 Subject: use mbsync for syncing mail instead of offlineimap --- isync/.mbsyncrc | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 isync/.mbsyncrc (limited to 'isync/.mbsyncrc') diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc new file mode 100644 index 0000000..9d0cdec --- /dev/null +++ b/isync/.mbsyncrc @@ -0,0 +1,44 @@ +# Global defaults +CopyArrivalDate yes + +###### +IMAPAccount aminb +Host mail.aminb.org +User REDACTED +PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.passwd/aminb.gpg" +SSLType IMAPS + +IMAPStore aminb-remote +Account aminb + +MaildirStore aminb-local +Path ~/.mail/aminb/ +Inbox ~/.mail/aminb/Inbox + +Channel aminb +Master :aminb-remote: +Slave :aminb-local: +Patterns * !dovecot* +Create Slave +SyncState * + +###### +IMAPAccount gmail +Host imap.gmail.com +User REDACTED +PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.passwd/gmail.gpg" +SSLType IMAPS + +IMAPStore gmail-remote +Account gmail + +MaildirStore gmail-local +Path ~/.mail/gmail/ +Inbox ~/.mail/gmail/Inbox + +Channel gmail +Master :gmail-remote: +Slave :gmail-local: +Patterns * ![Gmail]* "[Gmail]/Sent Mail" +Create Slave +SyncState * -- cgit v1.2.3-60-g2f50