--- a/.offlineimaprc Fri Oct 29 17:38:50 2010 -0400
+++ b/.offlineimaprc Mon Nov 01 07:53:23 2010 -0400
@@ -1,8 +1,23 @@
[general]
ui = TTY.TTYUI
-accounts = SteveLosh
+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
--- a/mutt/colors.muttrc Fri Oct 29 17:38:50 2010 -0400
+++ b/mutt/colors.muttrc Mon Nov 01 07:53:23 2010 -0400
@@ -26,14 +26,14 @@
color signature color244 color233
# quote levels
-color quoted color34 default
-color quoted1 color142 default
-color quoted2 color34 default
-color quoted3 color142 default
-color quoted4 color34 default
-color quoted5 color142 default
-color quoted6 color34 default
-color quoted7 color142 default
-color quoted8 color34 default
-color quoted9 color142 default
+color quoted color34 color233
+color quoted1 color142 color233
+color quoted2 color34 color233
+color quoted3 color142 color233
+color quoted4 color34 color233
+color quoted5 color142 color233
+color quoted6 color34 color233
+color quoted7 color142 color233
+color quoted8 color34 color233
+color quoted9 color142 color233
--- a/mutt/muttrc Fri Oct 29 17:38:50 2010 -0400
+++ b/mutt/muttrc Mon Nov 01 07:53:23 2010 -0400
@@ -75,16 +75,17 @@
hdr_order from: to: cc: date: subject: # and in this order
# boxes
-mailboxes +steve-stevelosh.com/INBOX +steve-stevelosh.com/archive +steve-stevelosh.com/sent +steve-stevelosh.com/drafts +steve-stevelosh.com/spam +steve-stevelosh.com/trash
+mailboxes +steve-stevelosh.com/INBOX +steve-stevelosh.com/archive +steve-stevelosh.com/sent +steve-stevelosh.com/drafts +steve-stevelosh.com/spam +steve-stevelosh.com/trash +steve-dumbwaiterdesign.com/INBOX +steve-dumbwaiterdesign.com/archive +steve-dumbwaiterdesign.com/sent +steve-dumbwaiterdesign.com/drafts +steve-dumbwaiterdesign.com/spam +steve-dumbwaiterdesign.com/trash
# always sourced
-#source $alias_file # required for functionality
+#source $alias_file # required for functionality
source ~/.mutt/colors.muttrc # source colors file
-source ~/.mutt/steve-stevelosh.com.muttrc # source gmail as default
+source ~/.mutt/steve-stevelosh.com.muttrc # source gmail as default
source ~/.mutt/sidebar.muttrc # any muttng options are here
# account specific sources
folder-hook steve-stevelosh.com/* source ~/.mutt/steve-stevelosh.com.muttrc
+folder-hook steve-dumbwaiterdesign.com/* source ~/.mutt/steve-dumbwaiterdesign.com.muttrc
# these just give me headaches
bind index,pager \# noop
@@ -93,8 +94,6 @@
# bindings
bind pager i exit
bind pager / search
-bind pager <up> previous-line
-bind pager <down> next-line
bind pager k previous-line
bind pager j next-line
bind pager gg top
@@ -108,9 +107,10 @@
bind index,pager R group-reply
# macros
-macro index \Cr "<tag-prefix><clear-flag>N" "mark tagged messages as read"
-macro index B "<limit>~b " "search message bodies"
-macro index I "<change-folder>!<enter>" "go to Inbox"
+macro index \Cr "<tag-prefix><clear-flag>N" "mark tagged messages as read"
+macro index \CR "T.<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
+macro index B "<limit>~b " "search message bodies"
+macro index I "<change-folder>!<enter>" "go to Inbox"
# save a decoded copy in ~
macro index P "<pipe-message>cat > ~/Desktop/" "save message as"
--- a/mutt/sidebar.muttrc Fri Oct 29 17:38:50 2010 -0400
+++ b/mutt/sidebar.muttrc Mon Nov 01 07:53:23 2010 -0400
@@ -11,7 +11,7 @@
color sidebar_new color117 color233
# bindings
-bind index,pager \CN sidebar-next
-bind index,pager \CP sidebar-prev
-bind index,pager \CO sidebar-open
+bind index,pager <down> sidebar-next
+bind index,pager <up> sidebar-prev
+bind index,pager <right> sidebar-open
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mutt/steve-dumbwaiterdesign.com.muttrc Mon Nov 01 07:53:23 2010 -0400
@@ -0,0 +1,11 @@
+set from = "steve@dumbwaiterdesign.com"
+set sendmail = "/usr/local/bin/msmtp -a dwaiter"
+set mbox = "+steve-dumbwaiterdesign.com/archive"
+unset record
+set postponed = "+steve-dumbwaiterdesign.com/drafts"
+
+macro index E "<change-folder>+steve-dumbwaiterdesign.com/archive<enter><limit>~B " "search everything"
+macro index A "<save-message>+steve-dumbwaiterdesign.com/archive<enter>" "move message to the archive"
+macro index D "<save-message>+steve-dumbwaiterdesign.com/trash<enter>" "move message to the trash"
+macro index S "<save-message>+steve-dumbwaiterdesign.com/spam<enter>" "mark message as spam"
+