aboutsummaryrefslogtreecommitdiffstats
path: root/_mbsyncrc
blob: 5bd66906588d14124c04688e8237a80f5b65e87b (plain)
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
#
# ~/.mbsyncrc
#
# NOTE: empty lines between sections are matters!
#
# Aaron LI
# Created: 2016-01-29
# Updated: 2018-03-12
#


## Global configuration section
Expunge         Both
# auto create missing mailboxes, both locally and on the server
Create          Both
# save the synchronization state files in corresponding slave mailboxes
SyncState       *


## Account "aly@aaronly.me" {{{
IMAPAccount     aly
Host            mail.liwt.net
User            aly@aaronly.me@laptop
PassCmd         "pass show email/self/aly/laptop | head -n1"
SSLType         IMAPS

IMAPStore       aly-remote
Account         aly

MaildirStore    aly-local
Path            ~/mail/aly/

Channel         aly-inbox
Master          :aly-remote:INBOX
Slave           :aly-local:inbox

Channel         aly-sent
Master          :aly-remote:Sent
Slave           :aly-local:sent

Channel         aly-archive
Master          :aly-remote:Archive
Slave           :aly-local:archive

Channel         aly-drafts
Master          :aly-remote:Drafts
Slave           :aly-local:drafts

Channel         aly-junk
Master          :aly-remote:Junk
Slave           :aly-local:junk

Channel         aly-trash
Master          :aly-remote:Trash
Slave           :aly-local:trash

Channel         aly-sms
Master          :aly-remote:SMS
Slave           :aly-local:sms

Group           aly
Channels        aly-inbox aly-sent aly-archive aly-drafts aly-junk aly-trash aly-sms
## "aly@aaronly.me" }}}


## Account "wt@liwt.net" {{{
IMAPAccount     wt
Host            mail.liwt.net
User            wt@liwt.net@laptop
PassCmd         "pass show email/self/wt/laptop | head -n1"
SSLType         IMAPS

IMAPStore       wt-remote
Account         wt

MaildirStore    wt-local
Path            ~/mail/wt/

Channel         wt-inbox
Master          :wt-remote:INBOX
Slave           :wt-local:inbox

Channel         wt-sent
Master          :wt-remote:Sent
Slave           :wt-local:sent

Channel         wt-archive
Master          :wt-remote:Archive
Slave           :wt-local:archive

Channel         wt-drafts
Master          :wt-remote:Drafts
Slave           :wt-local:drafts

Channel         wt-junk
Master          :wt-remote:Junk
Slave           :wt-local:junk

Channel         wt-trash
Master          :wt-remote:Trash
Slave           :wt-local:trash

Group           wt
Channels        wt-inbox wt-sent wt-archive wt-drafts wt-junk wt-trash
## "wt@aaronly.me" }}}


## Account "lulu@liwt.net" {{{
IMAPAccount     lulu
Host            mail.liwt.net
User            lulu@liwt.net
PassCmd         "pass show email/self/lulu | head -n1"
SSLType         IMAPS

IMAPStore       lulu-remote
Account         lulu

MaildirStore    lulu-local
Path            ~/mail/lulu/

Channel         lulu-inbox
Master          :lulu-remote:INBOX
Slave           :lulu-local:inbox

Channel         lulu-sent
Master          :lulu-remote:Sent
Slave           :lulu-local:sent

Channel         lulu-archive
Master          :lulu-remote:Archive
Slave           :lulu-local:archive

Channel         lulu-drafts
Master          :lulu-remote:Drafts
Slave           :lulu-local:drafts

Channel         lulu-junk
Master          :lulu-remote:Junk
Slave           :lulu-local:junk

Channel         lulu-trash
Master          :lulu-remote:Trash
Slave           :lulu-local:trash

Group           lulu
Channels        lulu-inbox lulu-sent lulu-archive lulu-drafts lulu-junk lulu-trash
## "lulu@liwt.net" }}}


## Account "root@liwt.net" {{{
IMAPAccount     root
Host            mail.liwt.net
User            root@liwt.net
PassCmd         "pass show email/self/root | head -n1"
SSLType         IMAPS

IMAPStore       root-remote
Account         root

MaildirStore    root-local
Path            ~/mail/root/

Channel         root-inbox
Master          :root-remote:INBOX
Slave           :root-local:inbox

Channel         root-sent
Master          :root-remote:Sent
Slave           :root-local:sent

Channel         root-archive
Master          :root-remote:Archive
Slave           :root-local:archive

Channel         root-drafts
Master          :root-remote:Drafts
Slave           :root-local:drafts

Channel         root-junk
Master          :root-remote:Junk
Slave           :root-local:junk

Channel         root-trash
Master          :root-remote:Trash
Slave           :root-local:trash

Group           root
Channels        root-inbox root-sent root-archive root-drafts root-junk root-trash
## "root@liwt.net" }}}


## Account "gmail-aly" {{{
IMAPAccount     gmail-aly
Host            imap.gmail.com
User            aaronly.me@gmail.com
PassCmd         "pass show email/gmail/aaronly.me/laptop | head -n1"
SSLType         IMAPS

# remote store
IMAPStore       gmail-aly-remote
Account         gmail-aly

# local store
MaildirStore    gmail-aly-local
Path            ~/mail/gmail-aly/

# Connections between remote and local folders
#Channel         gmail-aly-inbox
#Master          :gmail-aly-remote:"INBOX"
#Slave           :gmail-aly-local:inbox

Channel         gmail-aly-archive
Master          :gmail-aly-remote:"[Gmail]/All Mail"
Slave           :gmail-aly-local:archive

Channel         gmail-aly-drafts
Master          :gmail-aly-remote:"[Gmail]/Drafts"
Slave           :gmail-aly-local:drafts

Channel         gmail-aly-junk
Master          :gmail-aly-remote:"[Gmail]/Spam"
Slave           :gmail-aly-local:junk

Channel         gmail-aly-trash
Master          :gmail-aly-remote:"[Gmail]/Trash"
Slave           :gmail-aly-local:trash

# Groups put together channels
Group           gmail-aly
Channels        gmail-aly-archive gmail-aly-drafts gmail-aly-junk gmail-aly-trash
## "gmail-aly" }}}


## Account "gmail-li" {{{
IMAPAccount     gmail-li
Host            imap.gmail.com
User            liweitianux@gmail.com
PassCmd         "pass show email/gmail/liweitianux/laptop | head -n1"
SSLType         IMAPS

IMAPStore       gmail-li-remote
Account         gmail-li

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

#Channel         gmail-li-inbox
#Master          :gmail-li-remote:"INBOX"
#Slave           :gmail-li-local:inbox

Channel         gmail-li-archive
Master          :gmail-li-remote:"[Gmail]/All Mail"
Slave           :gmail-li-local:archive

Channel         gmail-li-drafts
Master          :gmail-li-remote:"[Gmail]/Drafts"
Slave           :gmail-li-local:drafts

Channel         gmail-li-junk
Master          :gmail-li-remote:"[Gmail]/Spam"
Slave           :gmail-li-local:junk

Channel         gmail-li-trash
Master          :gmail-li-remote:"[Gmail]/Trash"
Slave           :gmail-li-local:trash

Group           gmail-li
Channels        gmail-li-archive gmail-li-drafts gmail-li-junk gmail-li-trash
## "gmail-li" }}}


## Account "outlook-aly" {{{
IMAPAccount     outlook-aly
Host            imap-mail.outlook.com
User            aaronly.me@outlook.com
PassCmd         "pass show email/outlook/aaronly.me/laptop | head -n1"
SSLType         IMAPS

IMAPStore       outlook-aly-remote
Account         outlook-aly

MaildirStore    outlook-aly-local
Path            ~/mail/outlook-aly/

Channel         outlook-aly-inbox
Master          :outlook-aly-remote:Inbox
Slave           :outlook-aly-local:inbox

Channel         outlook-aly-sent
Master          :outlook-aly-remote:Sent
Slave           :outlook-aly-local:sent

Channel         outlook-aly-archive
Master          :outlook-aly-remote:Archive
Slave           :outlook-aly-local:archive

Channel         outlook-aly-drafts
Master          :outlook-aly-remote:Drafts
Slave           :outlook-aly-local:drafts

Channel         outlook-aly-junk
Master          :outlook-aly-remote:Junk
Slave           :outlook-aly-local:junk

Channel         outlook-aly-trash
Master          :outlook-aly-remote:Deleted
Slave           :outlook-aly-local:trash

Group           outlook-aly
Channels        outlook-aly-inbox outlook-aly-sent outlook-aly-archive outlook-aly-drafts outlook-aly-junk outlook-aly-trash
## "outlook-aly" }}}


## Account "outlook-li" {{{
IMAPAccount     outlook-li
Host            imap-mail.outlook.com
User            liweitianux@live.com
PassCmd         "pass show email/outlook/liweitianux/laptop | head -n1"
SSLType         IMAPS

IMAPStore       outlook-li-remote
Account         outlook-li

MaildirStore    outlook-li-local
Path            ~/mail/outlook-li/

Channel         outlook-li-inbox
Master          :outlook-li-remote:Inbox
Slave           :outlook-li-local:inbox

Channel         outlook-li-sent
Master          :outlook-li-remote:Sent
Slave           :outlook-li-local:sent

Channel         outlook-li-archive
Master          :outlook-li-remote:Archive
Slave           :outlook-li-local:archive

Channel         outlook-li-drafts
Master          :outlook-li-remote:Drafts
Slave           :outlook-li-local:drafts

Channel         outlook-li-junk
Master          :outlook-li-remote:Junk
Slave           :outlook-li-local:junk

Channel         outlook-li-trash
Master          :outlook-li-remote:Deleted
Slave           :outlook-li-local:trash

Group           outlook-li
Channels        outlook-li-inbox outlook-li-sent outlook-li-archive outlook-li-drafts outlook-li-junk outlook-li-trash
## "outlook-li" }}}


## Account "sjtu" {{{
IMAPAccount     sjtu
Host            imap.sjtu.edu.cn
User            liweitianux@sjtu.edu.cn
PassCmd         "pass show email/sjtu | head -n1"
SSLType         IMAPS

IMAPStore       sjtu-remote
Account         sjtu

MaildirStore    sjtu-local
Path            ~/mail/sjtu/

Channel         sjtu-inbox
Master          :sjtu-remote:INBOX
Slave           :sjtu-local:inbox

Channel         sjtu-sent
Master          :sjtu-remote:Sent
Slave           :sjtu-local:sent

Channel         sjtu-archive
Master          :sjtu-remote:Archive
Slave           :sjtu-local:archive

Channel         sjtu-drafts
Master          :sjtu-remote:Drafts
Slave           :sjtu-local:drafts

Channel         sjtu-junk
Master          :sjtu-remote:Junk
Slave           :sjtu-local:junk

Channel         sjtu-trash
Master          :sjtu-remote:Trash
Slave           :sjtu-local:trash

Group           sjtu
Channels        sjtu-inbox sjtu-sent sjtu-archive sjtu-drafts sjtu-junk sjtu-trash
## "sjtu" }}}


## Account "autistici" {{{
IMAPAccount     autistici
Host            mail.autistici.org
User            liweitianux@autistici.org
PassCmd         "pass show email/autistici/laptop | head -n1"
SSLType         IMAPS

IMAPStore       autistici-remote
Account         autistici

MaildirStore    autistici-local
Path            ~/mail/autistici/

Channel         autistici-inbox
Master          :autistici-remote:INBOX
Slave           :autistici-local:inbox

Channel         autistici-sent
Master          :autistici-remote:Sent
Slave           :autistici-local:sent

Channel         autistici-archive
Master          :autistici-remote:Archive
Slave           :autistici-local:archive

Channel         autistici-drafts
Master          :autistici-remote:Drafts
Slave           :autistici-local:drafts

Channel         autistici-junk
Master          :autistici-remote:Spam
Slave           :autistici-local:junk

Channel         autistici-trash
Master          :autistici-remote:Trash
Slave           :autistici-local:trash

Group           autistici
Channels        autistici-inbox autistici-sent autistici-archive autistici-drafts autistici-junk autistici-trash
## "autistici" }}}


## Account "foxmail" {{{
IMAPAccount     foxmail
Host            imap.qq.com
User            liweitianux@foxmail.com
PassCmd         "pass show email/qq/527922216/laptop | head -n1"
SSLType         IMAPS

IMAPStore       foxmail-remote
Account         foxmail

MaildirStore    foxmail-local
Path            ~/mail/foxmail/

Channel         foxmail-inbox
Master          :foxmail-remote:INBOX
Slave           :foxmail-local:inbox

Channel         foxmail-sent
Master          :foxmail-remote:"Sent Messages"
Slave           :foxmail-local:sent

Channel         foxmail-archive
Master          :foxmail-remote:Archive
Slave           :foxmail-local:archive

Channel         foxmail-drafts
Master          :foxmail-remote:Drafts
Slave           :foxmail-local:drafts

Channel         foxmail-junk
Master          :foxmail-remote:Junk
Slave           :foxmail-local:junk

Channel         foxmail-trash
Master          :foxmail-remote:"Deleted Messages"
Slave           :foxmail-local:trash

Group           foxmail
Channels        foxmail-inbox foxmail-sent foxmail-archive foxmail-drafts foxmail-junk foxmail-trash
## "foxmail" }}}


## Account "lavabit" {{{
IMAPAccount     lavabit
Host            lavabit.com
User            liweitianux@lavabit.com
PassCmd         "pass show email/lavabit | head -n1"
SSLType         IMAPS

IMAPStore       lavabit-remote
Account         lavabit

MaildirStore    lavabit-local
Path            ~/mail/lavabit/

Channel         lavabit
Master          :lavabit-remote:
Slave           :lavabit-local:
Patterns        *
## "lavabit" }}}


# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=conf: #