blob: 3c69edd48d24e37449ad9ba82c6f67d93d906eff (
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
|
CopyArrivalDate yes # Don't mess up message timestamps when moving them between folders.
Create Near # Automatically create new folders in the local copy.
Remove Near # Automatically remove deleted folders from the local copy.
Expunge Near # Expunge deleted messages from the local copy.
# First section: remote IMAP account
IMAPAccount Home
Host imap.fastmail.com
Port 993
User marcc@fastmail.fr
# For simplicity, this is how to read the password from another file.
# For better security you should use GPG https://gnupg.org/
PassCmd "pass fastmail/marcc"
TLSType IMAPS
TLSVersions +1.2
IMAPStore Home-remote
Account Home
# This section describes the local storage
MaildirStore Home-local
Path ~/mail-home/
Inbox ~/mail-home/INBOX
SubFolders Verbatim
# This section a "channel", a connection between remote and local
Channel Home
Far :Home-remote:
Near :Home-local:
Patterns * !.nnmaildir !*/.nnmaildir
Expunge None
CopyArrivalDate no
Sync All
Create Near
SyncState *
# WORK
IMAPAccount Work
Host imap.gmail.com
User marc.coquand@sustainably.app
PassCmd "pass sustainably/gmail"
TLSType IMAPS
Timeout 60
IMAPStore Work-remote
Account Work
MaildirStore Work-local
Path ~/mail-work/
Inbox ~/mail-work/INBOX
SubFolders Verbatim
Channel Work
Far :Work-remote:
Near :Work-local:
Expunge Both
Create Both
Patterns *
SyncState *
|