summaryrefslogtreecommitdiff
path: root/dotfiles/system/.mbsyncrc
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-05-21 22:01:35 -0500
committerCraig Jennings <c@cjennings.net>2025-05-21 22:01:35 -0500
commitb4463015b97912658d630377fafbf630f7588d1e (patch)
treed04b66d992fe2ce88391889c21c5d8dc97acd0ef /dotfiles/system/.mbsyncrc
parent548154ea395356868e87980b149dfc0abdc84e17 (diff)
moving arch dotfiles into archsetup
Diffstat (limited to 'dotfiles/system/.mbsyncrc')
-rw-r--r--dotfiles/system/.mbsyncrc89
1 files changed, 89 insertions, 0 deletions
diff --git a/dotfiles/system/.mbsyncrc b/dotfiles/system/.mbsyncrc
new file mode 100644
index 0000000..1b2f10b
--- /dev/null
+++ b/dotfiles/system/.mbsyncrc
@@ -0,0 +1,89 @@
+IMAPAccount gmail
+Host imap.gmail.com
+User craigmartinjennings@gmail.com
+PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.config/.gmailpass.gpg"
+Port 993
+TLSType IMAPS
+AuthMechs Login
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore gmail-remote
+Account gmail
+
+MaildirStore gmail-local
+# SubFolders Verbatim
+# The trailing "/" is important
+Path ~/.mail/gmail/
+Inbox ~/.mail/gmail/INBOX
+
+Channel gmail-inbox
+Far :gmail-remote:
+Near :gmail-local:
+Patterns "INBOX"
+Create Both
+Expunge Both
+SyncState *
+
+Channel gmail-trash
+Far :gmail-remote:"[Gmail]/Trash"
+Near :gmail-local:"Trash"
+Create Both
+Expunge Both
+SyncState *
+
+Channel gmail-drafts
+Far :gmail-remote:"[Gmail]/Drafts"
+Near :gmail-local:"Drafts"
+Create Both
+Expunge Both
+SyncState *
+
+Channel gmail-sent
+Far :gmail-remote:"[Gmail]/Sent Mail"
+Near :gmail-local:"Sent"
+Create Both
+Expunge Both
+SyncState *
+
+Channel gmail-starred
+Far :gmail-remote:"[Gmail]/Starred"
+Near :gmail-local:"Starred"
+Create Both
+Expunge Both
+SyncState *
+
+Group gmail
+Channel gmail-inbox
+Channel gmail-trash
+Channel gmail-drafts
+Channel gmail-sent
+Channel gmail-starred
+
+IMAPAccount cmail
+Host 127.0.0.1
+Port 1143
+User c@cjennings.net
+PassCmd "cat ~/.config/.protonmailpass"
+TLSType NONE
+AuthMechs LOGIN
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore cmail-remote
+Account cmail
+
+MaildirStore cmail-local
+Path ~/.mail/cmail/
+Inbox ~/.mail/cmail/Inbox/
+Trash ~/.mail/cmail/Trash/
+SubFolders Verbatim
+
+Channel cmail
+Far :cmail-remote:
+Near :cmail-local:
+Patterns *
+Expunge None
+CopyArrivalDate yes
+Sync All
+Create Both
+SyncState *
+