-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathofflineimaprc
36 lines (32 loc) · 1.28 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
# Take from https://stevelosh.com/blog/2012/10/the-homely-mutt/
[general]
ui = ttyui
accounts = EnrightCJ99
pythonfile=~/.mutt/offlineimap.py
[Account EnrightCJ99]
localrepository = EnrightCJ99-Local
remoterepository = EnrightCJ99-Remote
postsynchook = notmuch new
[Repository EnrightCJ99-Local]
type = Maildir
localfolders = ~/.mail/enrightcj99-gmail.com
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
[Repository EnrightCJ99-Remote]
maxconnections = 1
type = Gmail
remoteuser = [email protected]
remotepasseval = get_keychain_pass(account="[email protected]", server="imap.gmail.com")
realdelete = no
nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
'[Gmail]/Sent Mail': 'sent',
'[Gmail]/Starred': 'flagged',
'[Gmail]/Trash': 'trash',
'[Gmail]/All Mail': 'archive',
}.get(folder, folder)
ssl=true
sslcacertfile = /usr/local/etc/openssl/cert.pem