I’m a big fan of flat hierarchy and efficient search. For instance, I don’t organize my processed e-mail into a hierarchy of highly structured folders, but instead dump them into huge archive and then use efficient search tools to pull out what I need. My tiny mail guide featured mairix for this job, but I quickly got dissappointed with it. The maildirs it produces are buggy, and confuse mutt’s header cache. I did not go into debugging this problem but searched for something new. Enter mu, a full-text mail search engine based on xapian. After it has ransacked your personal information space, you can search your mail through the xapian query language and also filter mails according to various criteria. Of course it can output its search results as a Maildir with symlinks (That’s what you need for mutt, wanderlust, …) My first ebuild produced some failures with FEATURES=”test”, but upstream was quick to fix these and release 0.9.2, now featured in the main tree. If you like command line tools: Give it a try!
P.S. There was an older version of mu in the sunrise overlay. Thanks to everybody who contributed to this!