A command line utility for searching email in Maildir format. The results
are placed in a search folder that you can then open in Pine or Mutt or your
favorite email client that reads Maildir (actually, the results aren't moved,
symlinks are created that point to the original message).
It uses lupy, a python port of Lucene, a full text indexer/searcher in java.
http://www.divmod.org/Home/Projects/Lupy/
http://jakarta.apache.org/lucene/
It's took between ~50 minutes to index my 13000+ email messages (that's about
10 months worth and doesn't include any spam). If you run the indexing
script again, it will run an incremental update. Thus you can make a crontab
entry to have it update periodically.
Actually, I've started using mairix (see related) instead. It's much faster
(it's written in c) and able to handle both maildir and mbox formats. That
also means that this code is basically depreciated.
Related:
http://www.rc0.org.uk/mairix/
Another program that seems to be similar.
http://zoe.nu/
Similar, but pretty heavy Java. I tried to set it up a while back
and failed. It's based on Lucene.
https://mail.kde.org/pipermail/kmail-devel/2004-July/007787.html
Someone else using lupy as an addon to kmail.