diff options
| author | BardofSprites <[email protected]> | 2026-04-01 18:03:38 -0400 |
|---|---|---|
| committer | BardofSprites <[email protected]> | 2026-04-01 18:03:38 -0400 |
| commit | 7121d22821d916753f37e8279f2280d9787ec7c8 (patch) | |
| tree | 4ae597d194e6de697c959837bf98abc26f864639 | |
| parent | 709b062decb3db2aec3c74e686c3b6009a2c4272 (diff) | |
add home account to mbsync+msmtp
| -rw-r--r-- | mbsync/.mbsyncrc | 48 | ||||
| -rw-r--r-- | msmtp/.config/msmtp/config | 11 |
2 files changed, 58 insertions, 1 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 diff --git a/msmtp/.config/msmtp/config b/msmtp/.config/msmtp/config index 2a68abe..807f4a4 100644 --- a/msmtp/.config/msmtp/config +++ b/msmtp/.config/msmtp/config @@ -14,4 +14,13 @@ eval echo from $(pass mbsync/devel-gmail-email) eval echo user $(pass mbsync/devel-gmail-email) passwordeval "pass mbsync/devel-gmail" -account default : devel-gmail +# account_name +account home-gmail +host smtp.gmail.com +port 465 +tls_starttls off +eval echo from $(pass mbsync/home-gmail-email) +eval echo user $(pass mbsync/home-gmail-email) +passwordeval "pass mbsync/home-gmail" + +account default : devel-gmail
\ No newline at end of file |
