25.29 Mairix: Searching Maildir and mbox archives
REVIEW Mairix is an email indexing tool that works with standard GNU/Linux mbox and Maildir formats. The model is that the mairix command is run to update the index and it can then be searched to generate a mailbox containing the results of the search. Visit the mailbox (Maildir/Search in the example below) to review the found messages.
$ wajig install mairix $ emacs ~/.mairixrc base=/home/kayon/Maildir database=/home/kayon/.mairix_database mfolder=Search maildir=... $ mairix This creates or updates the index database $ mairix f:Fred This creates "Search" Maildir with the results
Examples of searches that can be performed include:
mairix d:7jun-8jun Any messages on these dates mairix pulling Header or body containing the word mairix a:daphne To/Cc/From contains daphne
Then load it up into mutt:
$ mutt -f Maildir/Search
Your donation will support ongoing development and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.