From 17cdf34b052b6862e4c438726247663945e4255d Mon Sep 17 00:00:00 2001 From: Frederik Vanrenterghem Date: Mon, 9 Sep 2019 20:24:41 +0800 Subject: [PATCH] Use isync to synchronize .io mail. --- isync/.mbsyncrc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 isync/.mbsyncrc diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc new file mode 100644 index 0000000..8a9248c --- /dev/null +++ b/isync/.mbsyncrc @@ -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 -- 2.30.2