From 6729efe4b7d0d47cff7a238f683b4bb668391aff Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 27 Apr 2026 19:07:24 -0500 Subject: feat(mail): add work account to mbsync and msmtp New dmail IMAP group with the standard 5-channel layout (inbox, sent, drafts, trash, starred), mirroring the gmail block. Matching SMTP account uses passwordeval against an encrypted password file at .config/.dmailpass.gpg. --- dotfiles/common/.mbsyncrc | 59 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'dotfiles/common/.mbsyncrc') diff --git a/dotfiles/common/.mbsyncrc b/dotfiles/common/.mbsyncrc index fae84ff..05cb4a2 100644 --- a/dotfiles/common/.mbsyncrc +++ b/dotfiles/common/.mbsyncrc @@ -141,3 +141,62 @@ Channel cmail-archive Channel cmail-starred Channel cmail-spam +IMAPAccount dmail +Host imap.gmail.com +User craig.jennings@deepsat.com +PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.config/.dmailpass.gpg" +Port 993 +TLSType IMAPS +AuthMechs Login +CertificateFile /etc/ssl/certs/ca-certificates.crt + +IMAPStore dmail-remote +Account dmail + +MaildirStore dmail-local +Path ~/.mail/dmail/ +Inbox ~/.mail/dmail/INBOX + +Channel dmail-inbox +Far :dmail-remote: +Near :dmail-local: +Patterns "INBOX" +Create Both +Expunge Both +SyncState * + +Channel dmail-trash +Far :dmail-remote:"[Gmail]/Trash" +Near :dmail-local:"Trash" +Create Both +Expunge Both +SyncState * + +Channel dmail-drafts +Far :dmail-remote:"[Gmail]/Drafts" +Near :dmail-local:"Drafts" +Create Both +Expunge Both +SyncState * + +Channel dmail-sent +Far :dmail-remote:"[Gmail]/Sent Mail" +Near :dmail-local:"Sent" +Create Both +Expunge Both +SyncState * + +Channel dmail-starred +Far :dmail-remote:"[Gmail]/Starred" +Near :dmail-local:"Starred" +Create Both +Expunge Both +SyncState * + +Group dmail +Channel dmail-inbox +Channel dmail-trash +Channel dmail-drafts +Channel dmail-sent +Channel dmail-starred + -- cgit v1.2.3