-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.offlineimaprc
50 lines (42 loc) · 1.03 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# ~/.offlineimaprc
#
[general]
ui = ttyui
accounts = disroot
maxsyncaccounts = 1
pythonfile = ~/.mutt/nametrans.py
[mbnames]
enabled = yes
filename = ~/.mutt/mailboxes
header = "mailboxes "
peritem = "+%(accountname)s/%(foldername)s"
sep = " "
footer = "\n"
[Account disroot]
localrepository = disroot-local
remoterepository = disroot-remote
# background: minutes between syncs; num quick-syncs between auto refreshes
autorefresh = 3
quick = 6
[Repository disroot-local]
type = Maildir
localfolders = ~/.mutt/maildir/disroot
nametrans = nt_local
[Repository disroot-remote]
auth_mechanisms = LOGIN
type = IMAP
remotehost = disroot.org
remoteuser = [email protected]
remotepasseval = disroot2()
#remoteport = 993
realdelete = yes
postsynchook = notmuch new
maxconnections = 3
nametrans = nt_remote
ssl = yes
sslcacertfile = /etc/ssl/cert.pem
# background: seconds to hold connection between; requires 'autorefresh' set
keepalive = 60
holdconnectionopen = yes
folderfilter = lambda foldername: foldername in ['INBOX','INBOX.Sent', 'INBOX.Drafts']