aboutsummaryrefslogtreecommitdiffstats
path: root/mbsync/.mbsyncrc
blob: a06d4c2bf0cd8fae2f75044f7e435177c5305aea (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
## Ryuslash:
IMAPAccount ryuslash
Host imap-ryuslash.alwaysdata.net
User tom@ryuslash.org
PassCmd "~/usr/bin/get-mail-password ryuslash"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore ryuslash-remote
Account ryuslash

MaildirStore ryuslash-local
Path ~/documents/mail/ryuslash/
Inbox ~/documents/mail/ryuslash/inbox
SubFolders Legacy

Channel ryuslash
Master :ryuslash-remote:
Slave :ryuslash-local:
# Don't synchronize lda-dupes, it causes trouble.
Patterns * !dovecot/lda-dupes
Create Both
SyncState *

## Gmail:
IMAPAccount gmail
Host imap.gmail.com
User ryuslash@gmail.com
PassCmd "~/usr/bin/get-mail-password gmail"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore gmail-remote
Account gmail

MaildirStore gmail-local
Path ~/documents/mail/gmail
Inbox ~/documents/mail/gmail/inbox
SubFolders Legacy

# Synchronize only the gmail INBOX mailbox.
Channel gmail-inbox
Master :gmail-remote:
Slave :gmail-local:
Patterns INBOX
# Automatically create missing mailboxes, both locally and on the
# server.
Create Both
# Save the synchronization state files in the relevant directory.
SyncState *

# Synchronize only the gmail [Gmail]/Sent Mail inbox to sent.
Channel gmail-sent
Master :gmail-remote:"[Gmail]/Sent Mail"
Slave :gmail-local:sent
Create Both
SyncState *

# Group the INBOX and [Gmail]/Sent Mail mailboxes together so "mbsync
# gmail" can be used to synchronize both.
Group gmail
Channel gmail-inbox
Channel gmail-sent

## Picturefix:
IMAPAccount picturefix
Host imap.gmail.com
User tom@picturefix.nl
PassCmd "~/usr/bin/get-mail-password picturefix"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore picturefix-remote
Account picturefix

MaildirStore picturefix-local
Path ~/documents/mail/picturefix
Inbox ~/documents/mail/picturefix/inbox
SubFolders Legacy

# Synchronize only the gmail INBOX mailbox.
Channel picturefix-inbox
Master :picturefix-remote:
Slave :picturefix-local:
Patterns INBOX
Create Both
SyncState *

# Synchronize only the sent mailbox.
Channel picturefix-sent
Master :picturefix-remote:"[Gmail]/Verzonden berichten"
Slave :picturefix-local:sent
Create Both
SyncState *

# Group the picturefix channels together so that synching with the
# command-line is easier.
Group picturefix
Channel picturefix-inbox
Channel picturefix-sent

## Ninthfloor:
IMAPAccount ninthfloor
Host mail.ninthfloor.org
User ryuslash
PassCmd "~/usr/bin/get-mail-password ninthfloor"
SSLType STARTTLS
CertificateFile /etc/ssl/certs/ca-certificates.crt

IMAPStore ninthfloor-remote
Account ninthfloor

MaildirStore ninthfloor-local
Path ~/documents/mail/ninthfloor/
Inbox ~/documents/mail/ninthfloor/inbox
SubFolders Legacy

Channel ninthfloor
Master :ninthfloor-remote:
Slave :ninthfloor-local:
Patterns *
Create Both
SyncState *