Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

samtregar (2699)

samtregar
  (email not shown publicly)
http://sam.tregar.com/

Journal of samtregar (2699)

Saturday February 05, 2005
12:14 PM

Pine, meet Mairix

[ #23026 ]
I found a great piece of software on Freshmeat yesterday - Mairix. It's a program that indexes and searches email stored in a variety of formats, including Maildir. I know what you're thinking - big deal, Glimpse/grep/etc. does that fine. The hook is that Mairix returns results as a complete mail folder in Maildir, mbox or mh format. When it builds a Maildir result set it actually just makes symbolic links to the matches, which is quite cool.

That means I can drop to shell from Pine, run a Mairix search and pop back into Pine to view the results just by switching to the "match" folder. Eventually I'd like to add smoother integration with Pine but for now I'm pretty happy.

I just saved myself a ton of time with this command:

mairix f:company spreadsheet

That found me the spreadsheet that someone at "company" sent me last month. Using Pine's built-in searching over IMAP I probably would have spent ten minutes looking for that mail. Instead, I spent it writing this entry.

Of course it's also incredibly fast and can limit searches by date, size and several other vectors.

-sam

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.