-
Notifications
You must be signed in to change notification settings - Fork 1
/
offlineimaprc
36 lines (33 loc) · 1.21 KB
/
offlineimaprc
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
[general]
ui = ttyui
accounts = Personal
pythonfile = ~/.mutt/offlineimap.py
fsync = False
[Account Personal]
localrepository = Personal-Local
remoterepository = Personal-Remote
postsynchook = notmuch new
[Repository Personal-Local]
type = Maildir
localfolders = ~/Mail/[email protected]
nametrans = lambda folder: {'drafts': 'Drafts',
'sent': 'Sent',
'trash': 'Trash',
'archive': 'Archive',
}.get(folder, folder)
[Repository Personal-Remote]
maxconnections = 1
type = IMAP
remotehost = imap.fastmail.com
remoteuser = [email protected]
remotepasseval = get_keychain_pass(account="[email protected]", server="imap.fastmail.com")
realdelete = no
sslcacertfile = /opt/homebrew/etc/[email protected]/cert.pem
nametrans = lambda folder: {'/Drafts': 'drafts',
'/Sent': 'sent',
'/Trash': 'trash',
'/Archive': 'archive',
}.get(folder, folder)
folderfilter = lambda folder: folder not in ['/Trash',
'/Spam',
]