aboutsummaryrefslogtreecommitdiff
path: root/mbsync/.mbsyncrc
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2026-04-01 18:03:38 -0400
committerBardofSprites <[email protected]>2026-04-01 18:03:38 -0400
commit7121d22821d916753f37e8279f2280d9787ec7c8 (patch)
tree4ae597d194e6de697c959837bf98abc26f864639 /mbsync/.mbsyncrc
parent709b062decb3db2aec3c74e686c3b6009a2c4272 (diff)
add home account to mbsync+msmtp
Diffstat (limited to 'mbsync/.mbsyncrc')
-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