all repos — dotfiles @ main

personal dotfiles

doom-emacs/.config/mbsyncrc-example (view raw)

 1IMAPAccount acct-1
 2Host imap.example.com
 3User acct-1@example.com
 4PassCmd "gpg --quiet --decrypt ~/.password-store/acct-1.gpg"
 5SSLType STARTTLS
 6
 7IMAPStore acct-1-remote
 8Account acct-1
 9
10MaildirStore acct-1-local
11Path ~/Documents/mail/acct-1/
12Inbox ~/Documents/mail/acct-1/INBOX
13SubFolders Verbatim
14
15Channel acct-1
16Far :acct-1-remote:
17Near :acct-1-local:
18Patterns * !Archives
19Create Both
20Expunge Both
21SyncState *
22
23# ============================
24
25IMAPAccount acct-2
26Host imap.gmail.com
27User acct-2@gmail.com
28PassCmd "gpg --quiet --decrypt ~/.password-store/self/acct-2.gpg"
29SSLType IMAPS
30
31IMAPStore acct-2-remote
32Account acct-2
33
34MaildirStore acct-2-local
35Path ~/Documents/mail/acct-2/
36Inbox ~/Documents/mail/acct-2/INBOX
37
38Channel acct-2-inbox
39Far :acct-2-remote:
40Near :acct-2-local:
41Patterns "INBOX"
42Create Both
43Expunge Both
44SyncState *
45
46Channel acct-2-trash
47Far :acct-2-remote:"[Gmail]/Bin"
48Near :acct-2-local:"[Gmail].Bin"
49Create Both
50Expunge Both
51SyncState *
52
53Channel acct-2-sent
54Far :acct-2-remote:"[Gmail]/Sent Mail"
55Near :acct-2-local:"[Gmail].Sent Mail"
56Create Both
57Expunge Both
58SyncState *
59
60Channel acct-2-starred
61Far :acct-2-remote:"[Gmail]/Starred"
62Near :acct-2-local:"[Gmail].Starred"
63Create Both
64Expunge Both
65SyncState *
66
67Group acct-2
68Channel acct-2-inbox
69Channel acct-2-sent
70Channel acct-2-trash
71Channel acct-2-all
72Channel acct-2-starred