-
Notifications
You must be signed in to change notification settings - Fork 0
/
mbsyncrc
137 lines (120 loc) · 3.58 KB
/
mbsyncrc
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# ----------------------------------------------------------------------------
# FILE: .mbsyncrc
# DESCRIPTION: mbsync configuration file
# AUTHOR: Zoltán Király <[email protected]>
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Account information
# ----------------------------------------------------------------------------
# Personal
IMAPAccount gmail-zoliky
Host imap.gmail.com
User [email protected]
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.emacs.d/.mbsyncpass-personal.gpg"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
# Work
IMAPAccount gmail-zolikydev
Host imap.gmail.com
User [email protected]
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.emacs.d/.mbsyncpass-work.gpg"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
# ----------------------------------------------------------------------------
# Remote storage
# ----------------------------------------------------------------------------
# Personal
IMAPStore gmail-zoliky-remote
Account gmail-zoliky
# Work
IMAPStore gmail-zolikydev-remote
Account gmail-zolikydev
# ----------------------------------------------------------------------------
# Local storage
# ----------------------------------------------------------------------------
# Personal
MaildirStore gmail-zoliky-local
Path ~/Maildir/gmail-zoliky/
Inbox ~/Maildir/gmail-zoliky/INBOX
# Work
MaildirStore gmail-zolikydev-local
Path ~/Maildir/gmail-zolikydev/
Inbox ~/Maildir/gmail-zolikydev/INBOX
# ----------------------------------------------------------------------------
# Connections
# ----------------------------------------------------------------------------
# Personal
Channel gmail-zoliky-inbox
Far :gmail-zoliky-remote:
Near :gmail-zoliky-local:
Patterns "INBOX"
Create Both
Expunge Both
SyncState *
Channel gmail-zoliky-starred
Far :gmail-zoliky-remote:"[Gmail]/Starred"
Near :gmail-zoliky-local:"[Gmail].Starred"
Create Both
Expunge Both
SyncState *
Channel gmail-zoliky-sent
Far :gmail-zoliky-remote:"[Gmail]/Sent Mail"
Near :gmail-zoliky-local:"[Gmail].Sent Mail"
Create Both
Expunge Both
SyncState *
Channel gmail-zoliky-drafts
Far :gmail-zoliky-remote:"[Gmail]/Drafts"
Near :gmail-zoliky-local:"[Gmail].Drafts"
Create Both
Expunge Both
SyncState *
Channel gmail-zoliky-trash
Far :gmail-zoliky-remote:"[Gmail]/Trash"
Near :gmail-zoliky-local:"[Gmail].Trash"
Create Both
Expunge Both
SyncState *
# Work
Channel gmail-zolikydev-inbox
Far :gmail-zolikydev-remote:
Near :gmail-zolikydev-local:
Patterns "INBOX"
Create Both
Expunge Both
SyncState *
Channel gmail-zolikydev-starred
Far :gmail-zolikydev-remote:"[Gmail]/Starred"
Near :gmail-zolikydev-local:"[Gmail].Starred"
Create Both
Expunge Both
SyncState *
Channel gmail-zolikydev-sent
Far :gmail-zolikydev-remote:"[Gmail]/Sent Mail"
Near :gmail-zolikydev-local:"[Gmail].Sent Mail"
Create Both
Expunge Both
SyncState *
Channel gmail-zolikydev-drafts
Far :gmail-zolikydev-remote:"[Gmail]/Drafts"
Near :gmail-zolikydev-local:"[Gmail].Drafts"
Create Both
Expunge Both
SyncState *
Channel gmail-zolikydev-trash
Far :gmail-zolikydev-remote:"[Gmail]/Trash"
Near :gmail-zolikydev-local:"[Gmail].Trash"
Create Both
Expunge Both
SyncState *
# ----------------------------------------------------------------------------
# Groups
# ----------------------------------------------------------------------------
# Gmail
Group gmail
Channel gmail-zoliky-inbox
Channel gmail-zoliky-trash
Channel gmail-zolikydev-inbox
Channel gmail-zolikydev-trash