Replace my-mu4e-account-alist with mu4e-contexts
[~bandali/configs] / isync / .mbsyncrc
CommitLineData
f945d4cb
AB
1# Global defaults
2CopyArrivalDate yes
3
4######
de295c49 5User amin@aminb.org
818a4af5
AB
6IMAPAccount amin
7Host nix.aminb.org
8PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin.gpg"
f945d4cb
AB
9SSLType IMAPS
10
818a4af5
AB
11IMAPStore amin-remote
12Account amin
f945d4cb 13
818a4af5
AB
14MaildirStore amin-local
15Path ~/mail/amin/
16Inbox ~/mail/amin/Inbox
f945d4cb 17
818a4af5
AB
18Channel amin
19Master :amin-remote:
20Slave :amin-local:
f945d4cb 21Patterns * !dovecot*
818a4af5 22Create Both
f945d4cb
AB
23SyncState *
24
25######
26IMAPAccount gmail
27Host imap.gmail.com
de295c49 28User amin.bandali@gmail.com
818a4af5 29PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/gmail.gpg"
f945d4cb
AB
30SSLType IMAPS
31
32IMAPStore gmail-remote
33Account gmail
34
35MaildirStore gmail-local
818a4af5
AB
36Path ~/mail/gmail/
37Inbox ~/mail/gmail/Inbox
f945d4cb 38
de295c49 39Channel gmail-default
f945d4cb
AB
40Master :gmail-remote:
41Slave :gmail-local:
de295c49 42Patterns "INBOX" "Self Notes" "Trash"
818a4af5 43Create Both
f945d4cb 44SyncState *
de295c49
AB
45
46Channel gmail-drafts
47Master :gmail-remote:"[Gmail]/Drafts"
48Slave :gmail-local:Drafts
49Create Both
50SyncState *
51
52Channel gmail-sent
53Master :gmail-remote:"[Gmail]/Sent Mail"
54Slave :gmail-local:Sent
55Create Both
56SyncState *
57
58Group gmail
59Channel gmail-default
60Channel gmail-drafts
61Channel gmail-sent