summaryrefslogtreecommitdiff
path: root/email/.mbsyncrc
diff options
context:
space:
mode:
Diffstat (limited to 'email/.mbsyncrc')
-rw-r--r--email/.mbsyncrc36
1 files changed, 36 insertions, 0 deletions
diff --git a/email/.mbsyncrc b/email/.mbsyncrc
new file mode 100644
index 0000000..0a8d5d6
--- /dev/null
+++ b/email/.mbsyncrc
@@ -0,0 +1,36 @@
+# Account info
+IMAPAccount mailbox
+Host imap.mailbox.org
+User julian@jtle.dk
+SSLType IMAPS
+#PassCmd "echo ${PASSWORD:-$(pass show mail | head -n 1)}"
+PassCmd "pass show mail | head -n 2"
+AuthMechs LOGIN
+
+# Remote settings
+IMAPStore mailbox-remote
+Account mailbox
+
+# Local settings
+MaildirStore mailbox-local
+Subfolders Verbatim
+# The trailing "/" is important
+Path ~/.mail/mailbox/
+Inbox ~/.mail/mailbox/inbox
+
+# Connection
+Channel mailbox-inbox
+Master :mailbox-remote:
+Slave :mailbox-local:
+Patterns INBOX*
+Create Both
+SyncState *
+
+Channel mailbox-sent
+Master :mailbox-remote:"Sent"
+Slave :mailbox-local:sent
+Create Both
+
+Group mailbox
+Channel mailbox-inbox
+Channel mailbox-sent