]> git.vanrenterghem.biz Git - Dotty.git/commitdiff
Use isync to synchronize .io mail.
authorFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Mon, 9 Sep 2019 12:24:41 +0000 (20:24 +0800)
committerFrederik Vanrenterghem <frederik@vanrenterghem.biz>
Mon, 9 Sep 2019 12:24:41 +0000 (20:24 +0800)
isync/.mbsyncrc [new file with mode: 0644]

diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc
new file mode 100644 (file)
index 0000000..8a9248c
--- /dev/null
@@ -0,0 +1,47 @@
+IMAPAccount io
+Host mail.vanrenterghem.io
+User frederik@vanrenterghem.io
+PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/Documents/paswoorden/frederik@vanrenterghem.io.asc"
+SSLType IMAPS
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore io-remote
+Account io
+
+MaildirStore io-local
+Path ~/.mail/io/
+Inbox ~/.mail/io/Inbox
+
+Channel io-default
+Master :io-remote:
+Slave :io-local:Inbox
+
+Channel io-sent
+Master :io-remote:"Sent"
+slave  :io-local:sent
+
+Channel io-trash
+Master :io-remote:"Trash"
+slave  :io-local:trash
+
+Channel io-archive
+Master :io-remote:"Archive"
+slave  :io-local:archive
+
+Channel io-junk
+Master :io-remote:"Junk"
+slave  :io-local:junk
+
+# Automatically create missing mailboxes, both locally and on the server
+Create Both
+# Automatically delete messages on either side if they are found deleted on the other.
+Expunge Both
+# Save the synchronization state files in the relevant directory
+SyncState *
+
+Group io
+Channel io-default
+Channel io-trash
+Channel io-archive
+Channel io-sent
+Channel io-junk