It's not a bug, it's a feature... | |||||
Never worry about theory as long as the machinery does what it's supposed to do. -- R. A. Heinlein LinksMusic
|
Wed, 16 Aug 2006
Just back from vacation... (or "why I love mutt")
I spent the past two weeks on vacation. When I got back, there were more than 11,000 messages in my INBOX. Fortunately, mutt makes it fairly easy to deal with this much mail.
Much of the mail I get is sent to aliases or mailing lists. Examples
are root@csail.mit.edu, postmaster@csail.mit.edu,
sysadmin@csail.mit.edu, and so on. Under the assumption that mail
addressed directly to me is most important, I ask mutt to show me only
messages with "noahm" in the To or Cc headers with the following
keystrokes:
At this point I also copy any spam that got through the filter into my
MissedSpam folder. I do this with the following macro that is bound
to the Delete key in Mutt:
Because I received so much mail, but only roughly 40 messages were
addressed directly to me, I decided that I'd be better off just
skimming the mail addressed to me and moving on. Mutt makes this
easy. When I come across a message that I'd like to read more
closely, or that needs a reply, I flag that message as "Important" by
pressing the "f" key. Then at a later time I can ask Mutt to show me
only the flagged messages with a command like Much of the mail I get is reports from the logcheck program running on our servers. Logcheck examines a given set of log files periodically, filters out messages matching patterns that we don't feel we need to see, and sends us the remaining log file entries. I usually get somewhere between 100 and 200 of these messages each day, so being able to exclude them from my INBOX view is very helpful. Equally as helpful is the ability exclude all mail not coming from logcheck. So I bind ^y to "<limit>(~O|~N)(~s 'system check'|~f logcheck)<enter>". When I've gone so many days without reading mail, I often find it helpful to read logcheck mail from a single day at a time, so I might modify that macro to include "~d<1d", which will further restrict the messages shown to those whose Date header is within the past 1 day. Then I'll move to 2 days, 3 days, etc. The 'z' key is bound to a macro that excludes messages matching patterns that indicate that a message was sent my some periodic automated process at the lab. This includes the logcheck mail mentioned above, as well as some other periodic tasks. Using this macro allows me to limit my INBOX view to message that come from actual humans. Given the amount of machine generated junk I get in my INBOX, this is obviously a very useful feature. |
Work blog by Noah Meyerhans is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.