aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-04-28 14:39:10 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-04-28 14:39:10 +0100
commit5aa88dfee25ee4aa3885817c9be511c8305ff9d9 (patch)
tree49c6415d2d5c3bba99cbf94a2e3ba95d36eea7d9
parent06af0989d9a5e58b36019b7644f2321dbf67a337 (diff)
downloaddotfiles-5aa88dfee25ee4aa3885817c9be511c8305ff9d9.tar.gz
dotfiles-5aa88dfee25ee4aa3885817c9be511c8305ff9d9.zip
Adding isync config
-rw-r--r--isync/.mbsyncrc55
1 files changed, 55 insertions, 0 deletions
diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc
new file mode 100644
index 0000000..6db1635
--- /dev/null
+++ b/isync/.mbsyncrc
@@ -0,0 +1,55 @@
+IMAPAccount gmail
+# Address to connect to
+Host imap.gmail.com
+User ymherklotz@gmail.com
+PassCmd "gpg -q --pinentry-mode loopback --for-your-eyes-only --no-tty --passphrase-file ~/.yann --batch --yes -d ~/.authgmail.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
+
+IMAPAccount imperial
+Host outlook.office365.com
+Port 993
+User ymh15@ic.ac.uk
+PassCmd "gpg -q --pinentry-mode loopback --for-your-eyes-only --no-tty --passphrase-file ~/.yann --batch --yes -d ~/.authimperial.gpg"
+SSLType IMAPS
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore gmail-remote
+Account gmail
+
+IMAPStore imperial-remote
+Account imperial
+
+MaildirStore gmail-local
+Subfolders Verbatim
+# The trailing "/" is important
+Path ~/.mail/gmail/
+Inbox ~/.mail/gmail/Inbox
+
+MaildirStore imperial-local
+Subfolders Verbatim
+Path ~/.mail/imperial/
+Inbox ~/.mail/imperial/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 *
+
+Channel imperial
+Master :imperial-remote:
+Slave :imperial-local:
+Patterns *
+Create Both
+SyncState * \ No newline at end of file