dotfiles / offlineimaprc

[general]
ui = TTY.TTYUI
accounts = Simple
pythonfile=~/.mutt/offlineimap.py
fsync = False

# [Account SteveLosh]
# localrepository = SteveLosh-Local
# remoterepository = SteveLosh-Remote
# status_backend = sqlite
# postsynchook = notmuch new
# 
# [Repository SteveLosh-Local]
# type = Maildir
# localfolders = ~/.mail/steve-stevelosh.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 SteveLosh-Remote]
# maxconnections = 1
# type = Gmail
# remoteuser = steve@stevelosh.com
# remotepasseval = get_keychain_pass(account="steve@stevelosh.com", 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)
# folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
#                                              'Nagios',
#                                              'Django',
#                                              'Flask',
#                                              '[Gmail]/Important',
#                                              '[Gmail]/Spam',
#                                              ]

[Account Simple]
localrepository = Simple-Local
remoterepository = Simple-Remote
status_backend = sqlite
postsynchook = notmuch new

[Repository Simple-Local]
type = Maildir
localfolders = ~/.mail/simple
nametrans = lambda folder: {'drafts':  '[Gmail]/Drafts',
                            'sent':    '[Gmail]/Sent Mail',
                            'flagged': '[Gmail]/Starred',
                            'trash':   '[Gmail]/Trash',
                            'archive': '[Gmail]/All Mail',
                            }.get(folder, folder)

[Repository Simple-Remote]
maxconnections = 1
type = Gmail
remoteuser = sjl@simple.com
remotepasseval = get_keychain_pass(account="sjl@simple.com", 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)
folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
                                             '[Gmail]/Important',
                                             '[Gmail]/Spam',
                                             ]
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.