summaryrefslogtreecommitdiffstats
path: root/.mbsyncrc
blob: 890b4cdac5618ef9c198ee7d92c798a66f3d70a8 (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
Create Both
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *

IMAPAccount work
Host imap.gmail.com
User miminar@redhat.com
PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mail/miminar/msmtpw.gpg"
PipelineDepth 49
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
Timeout 120

IMAPStore work-remote
Account work

MaildirStore work-local
# The trailing "/" is important
Path ~/.mail/miminar/
Inbox ~/.mail/miminar/default/INBOX
SubFolders Verbatim

Channel work-trash
Master :work-remote:
Slave :work-local:
Patterns [Gmail]/Trash

Channel work-default
Master :work-remote:
Slave :work-local:default/
Patterns INBOX ![Gmail]* !work

Channel work-misc
Master :work-remote:
Slave :work-local:
Patterns [Gmail]/Starred [Gmail]/Important "[GMail]/Sent Mail" [Gmail]/Drafts [Gmail]/Spam

Channel work-archive
Master :work-remote:
Slave :work-local:
Patterns "[Gmail]/All Mail"

#Channel work-drafts
#Master :work-remote:"[GMail]/Drafts"
#Slave :work-local:drafts
#SyncState *

#Channel work-important
#Master :work-remote:"[GMail]/Important"
#Slave :work-local:important

#Channel work-sent
#Master :work-remote:"[GMail]/Sent Mail"
#Slave :work-local:sent

# Get all the channels together into a group.
Group work
Channel work-trash
Channel work-default
Channel work-misc
Channel work-archive
#Channel work-drafts
#Channel work-important
#Channel work-sent
#Channel work-starred
#Channel work-trash

# Gmail mailboxes:
# "All Mail"
# "Drafts"
# "Important"
# "Sent Mail"
# "Spam"
# "Starred"
# "Trash"