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