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]
ui = ttyui
accounts = vt, walko, gmail
maxsyncaccounts = 3
pythonfile = ~/.mutt/offlineimap.py
ui = ttyui
accounts = vt, walko, gmail
maxsyncaccounts = 3
pythonfile = ~/.mutt/offlineimap.py
############################
### Accounts
# vt
[Account vt]
localrepository = vt-local
remoterepository = vt-remote
autorefresh = 0.5
quick = 10
localrepository = vt-local
remoterepository = vt-remote
autorefresh = 0.5
quick = 10
# walko
[Account walko]
localrepository = walko-local
remoterepository = walko-remote
autorefresh = 0.5
quick = 10
localrepository = walko-local
remoterepository = walko-remote
autorefresh = 0.5
quick = 10
# gmail
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
autorefresh = 0.5
quick = 10
localrepository = gmail-local
remoterepository = gmail-remote
autorefresh = 0.5
quick = 10
###########################
### Repositories
# vt
[Repository vt-local]
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)
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)
[Repository vt-remote]
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',
]
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',
]
# walko
[Repository walko-local]
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)
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)
[Repository walko-remote]
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',
]
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',
]
# gmail
[Repository gmail-local]
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)
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)
[Repository gmail-remote]
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',
]
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',
]