dotfiles/offlineimaprc

159 lines
5.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
2017-12-05 19:55:57 -05:00
accounts = vt, walko, gmail, vtluug
maxsyncaccounts = 4
2017-11-14 19:34:56 -05:00
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
2017-12-05 19:55:57 -05:00
# vtluug
[Account vtluug]
localrepository = vtluug-local
remoterepository = vtluug-remote
autorefresh = 0.5
quick = 10
2017-06-19 00:49:00 -04:00
###########################
### Repositories
2017-12-05 19:55:57 -05:00
## vt
2017-06-19 00:49:00 -04:00
[Repository vt-local]
2017-11-14 19:34:56 -05:00
type = Maildir
2018-07-02 00:00:33 -04:00
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: {
2018-07-02 00:00:33 -04:00
'[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
2017-12-05 19:55:57 -05:00
## walko
2017-06-19 00:49:00 -04:00
[Repository walko-local]
2017-11-14 19:34:56 -05:00
type = Maildir
2017-12-05 19:55:57 -05:00
localfolders = ~/.mail/walko
nametrans = lambda folder: {
2018-07-02 00:00:33 -04:00
'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: {
2018-07-02 00:00:33 -04:00
'[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
2017-12-05 19:55:57 -05:00
## gmail
2017-06-19 00:49:00 -04:00
[Repository gmail-local]
2017-11-14 19:34:56 -05:00
type = Maildir
localfolders = ~/.mail/gmail
nametrans = lambda folder: {
2018-07-02 00:00:33 -04:00
'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: {
2018-07-02 00:00:33 -04:00
'[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-12-05 19:55:57 -05:00
## vtluug
[Repository vtluug-local]
type = Maildir
localfolders = ~/.mail/vtluug
[Repository vtluug-remote]
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 1
type = IMAP
remotehost = acidburn.vtluug.org
ssl = yes
keepalive = 60
holdconnectionopen = yes
remoteuser = pew
remotepasseval = get_pass("vtluug")
realdelete = no