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

Mairix: Searching Maildir and mbox archives


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


Copyright © 1995-2006 [email protected]
Contribue and access the PDF Version