From 7121d22821d916753f37e8279f2280d9787ec7c8 Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Wed, 1 Apr 2026 18:03:38 -0400 Subject: add home account to mbsync+msmtp --- mbsync/.mbsyncrc | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'mbsync') 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 -- cgit v1.2.3