offlinimaprc @ 23cf6df91c24

Add osx.sh.
author Steve Losh <steve@stevelosh.com>
date Fri, 13 Apr 2012 16:49:47 -0400
parents 7af578f732ed
children (none)
[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('.*Drafts$', 'drafts',
                           re.sub('.*Sent Mail$', 'sent',
                           re.sub('.*Starred$', 'flagged',
                           re.sub('.*Trash$', 'trash',
                           re.sub('.*All Mail$', 'archive',
                           folder)))))
folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
                                             'Nagios',
                                             'Flask',
                                             '[Gmail]/Important',
                                             '[Gmail]/Spam',
                                             ]