-
Notifications
You must be signed in to change notification settings - Fork 2
/
.mbsyncrc
91 lines (79 loc) · 2.35 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
# mbsync config
# NOTES:
# * Use PipelineDepth to throttle so we don't go over GMail's query quota.
# See: https://sourceforge.net/p/isync/mailman/message/35458365/
#
# * If account is configured with Japanese as primary, use the following:
#
# 下書き '[Gmail]/&Tgtm+DBN-' '[Gmail]/Drafts'
# 送信済みメール '[Gmail]/&kAFP4W4IMH8w4TD8MOs-' '[Gmail]/Sent Mail'
# スター付き '[Gmail]/&MLkwvzD8TtgwTQ-' '[Gmail]/Starred'
# ゴミ箱 '[Gmail]/&MLQw33ux-' '[Gmail]/Bin'
# すべてのメール '[Gmail]/&MFkweTBmMG4w4TD8MOs-' '[Gmail]/All Mail'
# 迷惑メール '[Gmail]/&j,dg0TDhMPww6w-' '[Gmail]/Spam'
# 重要 '[Gmail]/&kc2JgQ-' '[Gmail]/Important'
######################################################################
IMAPAccount bracken_jp
Host imap.gmail.com
Port 993
User [email protected]
PassCmd "gpg -q --batch -d ~/src/cfg/keyring/mbsync.bracken_jp.gpg"
AuthMechs LOGIN
SSLType IMAPS
PipelineDepth 50
#CertificateFile ~/.homebrew/etc/openssl/cert.pem
#CertificateFile /etc/ssl/certs/ca-certificates.crt
CertificateFile /usr/local/share/certs/ca-root-nss.crt
# Create bracken.jp remote
IMAPStore bracken_jp-remote
Account bracken_jp
# Create bracken.jp local
MaildirStore bracken_jp-local
Path ~/Mail/chris-bracken.jp/
Inbox ~/Mail/chris-bracken.jp/INBOX
Flatten "."
Channel bracken_jp-default
Master :bracken_jp-remote:
Slave :bracken_jp-local:
Patterns "INBOX"
Create Slave
Expunge Both
SyncState *
Channel bracken_jp-drafts
Master :bracken_jp-remote:"[Gmail]/Drafts"
Slave :bracken_jp-local:"drafts"
Create Slave
Expunge Both
SyncState *
Channel bracken_jp-sent
Master :bracken_jp-remote:"[Gmail]/Sent Mail"
Slave :bracken_jp-local:"sent"
Create Slave
Expunge Both
SyncState *
Channel bracken_jp-starred
Master :bracken_jp-remote:"[Gmail]/Starred"
Slave :bracken_jp-local:"flagged"
Create Slave
Expunge Both
SyncState *
Channel bracken_jp-trash
Master :bracken_jp-remote:"[Gmail]/Bin"
Slave :bracken_jp-local:"trash"
Create Slave
Expunge Both
SyncState *
Channel bracken_jp-archive
Master :bracken_jp-remote:"[Gmail]/All Mail"
Slave :bracken_jp-local:"archive"
Create Slave
Expunge Both
SyncState *
Group bracken_jp
Channel bracken_jp-default
Channel bracken_jp-drafts
Channel bracken_jp-sent
Channel bracken_jp-starred
Channel bracken_jp-trash
Channel bracken_jp-archive