.offlineimaprc @ 2a4a77b7b2dd

vim: gundo_preview_bottom
author Steve Losh <steve@stevelosh.com>
date Mon, 01 Nov 2010 08:37:48 -0400
parents a897edaa3e97
children 2051cdbc7afd
[general]
ui = TTY.TTYUI
accounts = SteveLosh
pythonfile=~/.mutt/offlineimap.py

[Account SteveLosh]
localrepository = SteveLosh-Local
remoterepository = SteveLosh-Remote

[Repository SteveLosh-Local]
type = Maildir
localfolders = ~/.mail/steve-stevelosh.com

[Repository SteveLosh-Remote]
type = Gmail
remoteuser = steve@stevelosh.com
remotepasseval = get_keychain_pass(account="steve@stevelosh.com", server="imap.gmail.com")
realdelete = no
nametrans = lambda folder: re.sub('.*Spam$', 'spam', re.sub('.*Drafts$', 'drafts', re.sub('.*Sent Mail$', 'sent', re.sub('.*Starred$', 'flagged', re.sub('.*Trash$', 'trash', re.sub('.*All Mail$', 'archive', folder))))))