summaryrefslogtreecommitdiff
path: root/email/.mbsyncrc
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2019-07-14 20:27:59 +0200
committerJulian T <julian@jtle.dk>2019-07-14 20:27:59 +0200
commitcf26b4ffe9745b2c758ff2e65da328a10885e608 (patch)
tree99a98a52794c2ef58c773198a7ac29c5960962c8 /email/.mbsyncrc
parent70d4f254f14fd832442ab5d588a31aac53f44baa (diff)
Added isync+notmuch+alot+msmtp email setup
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