summaryrefslogtreecommitdiff
path: root/.mbsyncrc
blob: cc9843e93f3f17dd0376b86b5eca7083f03a9358 (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
# -*- mode: conf-space; -*-

# ---- defaults

Create           Slave
# FastMail always expunges server-side.  mbsync author says this is a
# really bad idea.  Let's just have mbsync expunge client-side.
Expunge          Slave
SyncState        *

# ---- stores

MaildirStore     fmmaildir
Path             ~/.fmail/
Inbox            ~/.fmail/inbox
# Flatten          .

# Trash option doesn't seem to work.  Setting Trash to trash and
# Expunge to Slave makes deleted mail get moved into the trash folder,
# but it is left marked as deleted so it the FastMail IMAP server
# won't add it to the folder, however many times mbsync tries to put
# it there.  So just unbind deletion in mutt for now.

# Trash            trash

IMAPAccount      fastmail
Host             mail.messagingengine.com
User             spwhitton@fastmail.com
PassCmd          "cat ~/local/auth/fmailsyncpass"
UseIMAPS         yes	
RequireSSL       yes
CertificateFile  /etc/ssl/certs/ca-certificates.crt

IMAPStore        fmimap
Account          fastmail
# UseNamespace     no
# PathDelimiter    .

# ---- mailboxes

Channel          fmaili
Master           :fmimap:INBOX
Slave            :fmmaildir:

Channel          fmails
Master           :fmimap:INBOX/"Sent Items"
Slave            :fmmaildir:sent

# when I'm actively using listservs again, this kind of thing should
# allow downloading all of them without the INBOX.Lists prefix:

# Channel fmaill
#   Master :fmimap:INBOX/Lists/
#   Slave :fmmaildir:
#   Patterns * !INBOX

# Channel          fmaila
# Master           :fmimap:INBOX/Archive
# Slave            :fmmaildir:archive

Channel          fmaild
Master           :fmimap:INBOX/Drafts
Slave            :fmmaildir:drafts

# Channel          fmailt
# Master           :fmimap:INBOX/Trash
# Slave            :fmmaildir:trash

Group            fastmail
Channel          fmaili
Channel          fmails
Channel          fmaild
# Channel          fmailt
# Channel          fmaila