reformat offlineimap file

master
Paul Walko 2017-11-14 19:34:56 -05:00
parent b4c0cdb4a8
commit 374428794e
1 changed files with 105 additions and 105 deletions

View File

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