dotfiles/offlineimaprc

135 lines
4.1 KiB
Plaintext
Raw Normal View History

2017-06-19 00:49:00 -04:00
[general]
2017-11-14 19:34:56 -05:00
ui = ttyui
accounts = vt, walko, gmail
maxsyncaccounts = 3
pythonfile = ~/.mutt/offlineimap.py
2017-06-19 00:49:00 -04:00
############################
### Accounts
# vt
[Account vt]
2017-11-14 19:34:56 -05:00
localrepository = vt-local
remoterepository = vt-remote
autorefresh = 0.5
quick = 10
2017-06-19 00:49:00 -04:00
# walko
[Account walko]
2017-11-14 19:34:56 -05:00
localrepository = walko-local
remoterepository = walko-remote
autorefresh = 0.5
quick = 10
2017-06-19 00:49:00 -04:00
# gmail
[Account gmail]
2017-11-14 19:34:56 -05:00
localrepository = gmail-local
remoterepository = gmail-remote
autorefresh = 0.5
quick = 10
2017-06-19 00:49:00 -04:00
###########################
### Repositories
# vt
[Repository vt-local]
2017-11-14 19:34:56 -05:00
type = Maildir
localfolders = ~/.mail/vt
nametrans = lambda folder: {
'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
2017-06-19 00:49:00 -04:00
[Repository vt-remote]
2017-11-14 19:34:56 -05:00
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 1
type = Gmail
keepalive = 60
holdconnectionopen = yes
remoteuser = pwalko@vt.edu
remotepasseval = get_pass("vt")
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)
folderfilter = lambda folder: folder not in [
'[Gmail]/Trash',
'[Gmail]/Spam',
'[Gmail]/Important',
'[Gmail]/Chats',
]
2017-06-19 00:49:00 -04:00
# walko
[Repository walko-local]
2017-11-14 19:34:56 -05:00
type = Maildir
localfolders = ~/.mail/walko
nametrans = lambda folder: {
'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
2017-06-19 00:49:00 -04:00
[Repository walko-remote]
2017-11-14 19:34:56 -05:00
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 1
type = Gmail
keepalive = 60
holdconnectionopen = yes
remoteuser = paul@walko.org
remotepasseval = get_pass("walko")
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)
folderfilter = lambda folder: folder not in [
'[Gmail]/Trash',
'[Gmail]/Important',
'[Gmail]/Chats',
]
2017-06-19 00:49:00 -04:00
# gmail
[Repository gmail-local]
2017-11-14 19:34:56 -05:00
type = Maildir
localfolders = ~/.mail/gmail
nametrans = lambda folder: {
'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
2017-06-19 00:49:00 -04:00
[Repository gmail-remote]
2017-11-14 19:34:56 -05:00
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 1
type = Gmail
keepalive = 60
holdconnectionopen = yes
remoteuser = paulsw.pw@gmail.com
remotepasseval = get_pass("gmail")
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)
folderfilter = lambda folder: folder not in [
'[Gmail]/Trash',
'[Gmail]/Spam',
'[Gmail]/Important',
'[Gmail]/Chats',
]