-
Notifications
You must be signed in to change notification settings - Fork 1
/
offlineimaprc
38 lines (35 loc) · 1.4 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
[general]
ui = ttyui
accounts = ManhTai
pythonfile=~/.mutt/offlineimap.py
fsync = False
[Account ManhTai]
localrepository = ManhTai-Local
remoterepository = ManhTai-Remote
status_backend = sqlite
postsynchook = mairix
[Repository ManhTai-Local]
type = Maildir
localfolders = ~/.mail/vo-manhtai.com
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'starred': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
[Repository ManhTai-Remote]
maxconnections = 1
type = Gmail
remoteuser = vo@manhtai.com
remotepasseval = keyring.get_password("offlineimap", "vo@manhtai.com")
realdelete = no
nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
'[Gmail]/Sent Mail': 'sent',
'[Gmail]/Starred': 'starred',
'[Gmail]/Trash': 'trash',
'[Gmail]/All Mail': 'archive'}.get(folder, folder)
folderfilter = lambda folder: folder not in ['[Gmail]/Chats',
'[Gmail]/Important',
'[Gmail]/All Mail',
'[Gmail]/Spam']
sslcacertfile = /etc/ssl/certs/ca-certificates.crt