summaryrefslogtreecommitdiffstats
path: root/isync/.mbsyncrc
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2016-12-12 03:16:24 -0500
committerAmin Bandali <amin@aminb.org>2016-12-12 03:16:24 -0500
commitde295c49e1321b7ec020cad2c840a2d43624b0d3 (patch)
tree46102021adef4a843eb91c712934b7fbd0a0eef0 /isync/.mbsyncrc
parent818a4af5b33f5e5e3778cdaa979a1ef4134ab2a1 (diff)
downloadconfigs-de295c49e1321b7ec020cad2c840a2d43624b0d3.tar.gz
configs-de295c49e1321b7ec020cad2c840a2d43624b0d3.tar.xz
configs-de295c49e1321b7ec020cad2c840a2d43624b0d3.zip
Replace my-mu4e-account-alist with mu4e-contexts
Also, get rid of [Gmail]/ prefix by using separate channels
Diffstat (limited to '')
-rw-r--r--isync/.mbsyncrc25
1 files changed, 21 insertions, 4 deletions
diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc
index f1a954c..2a19b5d 100644
--- a/isync/.mbsyncrc
+++ b/isync/.mbsyncrc
@@ -2,7 +2,7 @@
CopyArrivalDate yes
######
-User REDACTED
+User amin@aminb.org
IMAPAccount amin
Host nix.aminb.org
PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin.gpg"
@@ -25,7 +25,7 @@ SyncState *
######
IMAPAccount gmail
Host imap.gmail.com
-User REDACTED
+User amin.bandali@gmail.com
PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/gmail.gpg"
SSLType IMAPS
@@ -36,9 +36,26 @@ MaildirStore gmail-local
Path ~/mail/gmail/
Inbox ~/mail/gmail/Inbox
-Channel gmail
+Channel gmail-default
Master :gmail-remote:
Slave :gmail-local:
-Patterns * ![Gmail]* "[Gmail]/Sent Mail"
+Patterns "INBOX" "Self Notes" "Trash"
Create Both
SyncState *
+
+Channel gmail-drafts
+Master :gmail-remote:"[Gmail]/Drafts"
+Slave :gmail-local:Drafts
+Create Both
+SyncState *
+
+Channel gmail-sent
+Master :gmail-remote:"[Gmail]/Sent Mail"
+Slave :gmail-local:Sent
+Create Both
+SyncState *
+
+Group gmail
+Channel gmail-default
+Channel gmail-drafts
+Channel gmail-sent