From: Frederik Vanrenterghem Date: Mon, 9 Sep 2019 13:48:37 +0000 (+0800) Subject: Support synchronization of gmail over IMAP. X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/2e1c2e246db366e9752f4cfec16915c2543339ce?hp=cec4fabf1e179f5f4eed36f46917e16f9a2eb692 Support synchronization of gmail over IMAP. --- diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc index 8a9248c..2ee438c 100644 --- a/isync/.mbsyncrc +++ b/isync/.mbsyncrc @@ -45,3 +45,40 @@ Channel io-trash Channel io-archive Channel io-sent Channel io-junk + +IMAPAccount biz +Host imap.gmail.com +User frederik@vanrenterghem.biz +PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/Documents/paswoorden/frederik@vanrenterghem.biz.asc" +SSLType IMAPS +CertificateFile /etc/ssl/certs/ca-certificates.crt + +IMAPStore biz-remote +Account biz + +MaildirStore biz-local +Subfolders Verbatim +Path ~/.mail/biz/ +Inbox ~/.mail/biz/Inbox + +Channel biz +Master :biz-remote: +Slave :biz-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 * + +Channel biz-sent +Master :biz-remote:"[Gmail]/Verzonden berichten" +Slave :biz-local:sent +Create Slave + +# Automatically create missing mailboxes, both locally and on the server +Create Both +# Save the synchronization state files in the relevant directory +SyncState * + +Group biz +Channel biz +Channel biz-sent