summaryrefslogtreecommitdiffstats
path: root/isync/.mbsyncrc
blob: 15bfbec9ba495118c1c927fabb24381fe08bbd92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Global defaults
CopyArrivalDate yes

######
IMAPAccount amin
Host nix.aminb.org
User amin@aminb.org
PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/amin.gpg"
SSLType IMAPS

IMAPStore amin-remote
Account amin

MaildirStore amin-local
Path ~/mail/amin/
Inbox ~/mail/amin/Inbox

Channel amin
Master :amin-remote:
Slave :amin-local:
Patterns * !dovecot*
Create Both
SyncState *

######
IMAPAccount gmail
Host imap.gmail.com
User amin.bandali@gmail.com
PassCmd "gpg -q --for-your-eyes-only --no-tty -d ~/.passwd/gmail.gpg"
SSLType IMAPS

IMAPStore gmail-remote
Account gmail

MaildirStore gmail-local
Path ~/mail/gmail/
Inbox ~/mail/gmail/Inbox

Channel gmail-default
Master :gmail-remote:
Slave :gmail-local:
Patterns "INBOX" "Self Notes" "Trash"
Create Both
SyncState *

Channel gmail-drafts
Master :gmail-remote:"[Gmail]/Drafts"
Slave :gmail-local:Drafts
Create Both
SyncState *

Channel gmail-sent
Master :gmail-remote:"[Gmail]/Sent Mail"
Slave :gmail-local:Sent
Create Both
SyncState *

Group gmail
Channel gmail-default
Channel gmail-drafts
Channel gmail-sent