Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

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


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.