diff options
Diffstat (limited to 'doom-emacs/.config/mbsyncrc-example')
| -rw-r--r-- | doom-emacs/.config/mbsyncrc-example | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/doom-emacs/.config/mbsyncrc-example b/doom-emacs/.config/mbsyncrc-example new file mode 100644 index 0000000..0dd98a3 --- /dev/null +++ b/doom-emacs/.config/mbsyncrc-example @@ -0,0 +1,72 @@ +IMAPAccount acct-1 +Host imap.example.com +User acct-1@example.com +PassCmd "gpg --quiet --decrypt ~/.password-store/acct-1.gpg" +SSLType STARTTLS + +IMAPStore acct-1-remote +Account acct-1 + +MaildirStore acct-1-local +Path ~/Documents/mail/acct-1/ +Inbox ~/Documents/mail/acct-1/INBOX +SubFolders Verbatim + +Channel acct-1 +Far :acct-1-remote: +Near :acct-1-local: +Patterns * !Archives +Create Both +Expunge Both +SyncState * + +# ============================ + +IMAPAccount acct-2 +Host imap.gmail.com +User acct-2@gmail.com +PassCmd "gpg --quiet --decrypt ~/.password-store/self/acct-2.gpg" +SSLType IMAPS + +IMAPStore acct-2-remote +Account acct-2 + +MaildirStore acct-2-local +Path ~/Documents/mail/acct-2/ +Inbox ~/Documents/mail/acct-2/INBOX + +Channel acct-2-inbox +Far :acct-2-remote: +Near :acct-2-local: +Patterns "INBOX" +Create Both +Expunge Both +SyncState * + +Channel acct-2-trash +Far :acct-2-remote:"[Gmail]/Bin" +Near :acct-2-local:"[Gmail].Bin" +Create Both +Expunge Both +SyncState * + +Channel acct-2-sent +Far :acct-2-remote:"[Gmail]/Sent Mail" +Near :acct-2-local:"[Gmail].Sent Mail" +Create Both +Expunge Both +SyncState * + +Channel acct-2-starred +Far :acct-2-remote:"[Gmail]/Starred" +Near :acct-2-local:"[Gmail].Starred" +Create Both +Expunge Both +SyncState * + +Group acct-2 +Channel acct-2-inbox +Channel acct-2-sent +Channel acct-2-trash +Channel acct-2-all +Channel acct-2-starred |
