mutt: hide some mailboxes I never use
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 10 Feb 2011 16:23:26 -0500 |
parents |
2051cdbc7afd |
children |
e7a6a0bb1af6 |
[general]
ui = TTY.TTYUI
accounts = SteveLosh, Dumbwaiter
pythonfile=~/.mutt/offlineimap.py
[Account Dumbwaiter]
localrepository = Dumbwaiter-Local
remoterepository = Dumbwaiter-Remote
[Repository Dumbwaiter-Local]
type = Maildir
localfolders = ~/.mail/steve-dumbwaiterdesign.com
[Repository Dumbwaiter-Remote]
type = Gmail
remoteuser = steve@dumbwaiterdesign.com
remotepasseval = get_keychain_pass(account="steve@dumbwaiterdesign.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))))))
[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))))))