-
Notifications
You must be signed in to change notification settings - Fork 0
/
.offlineimaprc
35 lines (30 loc) · 1.3 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
[general]
ui = ttyui
accounts = Gmail
[Account Gmail]
localrepository = Gmail-Local
remoterepository = Gmail-Remote
status_backend = sqlite
[Repository Gmail-Local]
type = Maildir
localfolders = ~/mail/gmail
sep = /
nametrans = lambda folder: { 'drafts': '[Gmail]/Drafts', 'sent':'[Gmail]/Sent Mail', 'important':'[Gmail]/Important', 'spam':'[Gmail]/Spam', 'starred':'[Gmail]/Starred', 'trash':'[Gmail]/Trash', 'archive':'[Gmail]/All Mail', }.get(folder, folder)
[Repository Gmail-Remote]
maxconnections = 2
type = Gmail
; remotehost = localhost
remoteuser = [email protected]
remotepassfile = ~/.pass
realdelete = no
; cert_fingerprint = AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLDTyST0yFK9VZMFkQqtR420NZ6NfRdAD5L0GjA89KdkiK0cofgnTHkKBZRvkH+V69YvvREER71JQpIA1zUl7rk=
sslcacertfile = /etc/ssl/certs/ca-bundle.crt
nametrans = lambda folder: { '[Gmail]/Drafts': 'drafts', '[Gmail]/Sent Mail': 'sent', '[Gmail]/Starred': 'starred', '[Gmail]/Important': 'important', '[Gmail]/Spam': 'spam', '[Gmail]/Trash': 'trash', '[Gmail]/All Mail': 'archive', }.get(folder, folder)
folderfilter = lambda folder: folder not in [ '[Gmail]/All Mail', '[Gmail]/Important', '[Gmail]/Starred',]
[mbnames]
enabled = yes
filename = ~/.mutt/mailboxes
header = "mailboxes"
peritem = "+(accountname)s/%(foldername)s"
sep = " "
footer = "\n"