[ < ] [ > ]   [ << ] [Plus haut] [ >> ]         [Top] [Table des matières] [Index] [ ? ]

15.1.4 namazu

In the examples below, replace ‘/home/user/Mail’ with the path to your MH directory.

First create the directory ‘/home/user/Mail/.namazu’. Then create the file ‘/home/user/Mail/.namazu/mknmzrc’ with the following contents:

 
package conf;  # Don't remove this line!
$ADDRESS = 'user@localhost';
$ALLOW_FILE = "[0-9]*";
$EXCLUDE_PATH = "^/home/user/Mail/(mhe-index|spam)";

This configuration does not index the folders that hold the results of your searches in ‘+mhe-index’ since they tend to be ephemeral and the original messages are indexed anyway.

Use the following command line to generate the namazu index. Run this daily from cron:

 
mknmz -f /home/user/Mail/.namazu/mknmzrc -O /home/user/Mail/.namazu \
         /home/user/Mail

Ce document a été généré par Eric Reinbold le 27 Octobre 2007 en utilisant texi2html 1.78.