aboutsummaryrefslogtreecommitdiff
path: root/mbsync
diff options
context:
space:
mode:
Diffstat (limited to 'mbsync')
-rw-r--r--mbsync/.mbsyncrc48
1 files changed, 48 insertions, 0 deletions
diff --git a/mbsync/.mbsyncrc b/mbsync/.mbsyncrc
index 3ddc06e..ef5c735 100644
--- a/mbsync/.mbsyncrc
+++ b/mbsync/.mbsyncrc
@@ -51,3 +51,51 @@ Group devel
Channel devel-inbox
Channel devel-sent
Channel devel-trash
+################
+# home account #
+################
+
+IMAPAccount home
+Host imap.gmail.com
+UserCmd "pass mbsync/home-gmail-email"
+PassCmd "pass mbsync/home-gmail"
+SSLType IMAPS
+AuthMechs LOGIN
+
+IMAPStore home-remote
+Account home
+
+MaildirStore home-local
+Subfolders Verbatim
+# The trailing "/" is important
+Path ~/Mail/gmail-home/
+Inbox ~/Mail/gmail-home/Inbox
+
+Channel home-inbox
+Far :home-remote:INBOX
+Near :home-local:Inbox
+Create Both
+Expunge Both
+Sync All
+CopyArrivalDate yes
+
+Channel home-sent
+Far :home-remote:"[Gmail]/Sent Mail"
+Near :home-local:sent
+Create Both
+Expunge Both
+Sync All
+CopyArrivalDate yes
+
+Channel home-trash
+Far :home-remote:"[Gmail]/Trash"
+Near :home-local:trash
+Create Both
+Expunge Both
+Sync All
+CopyArrivalDate yes
+
+Group home
+Channel home-inbox
+Channel home-sent
+Channel home-trash