Mailman-htdig

From Wikitech
Revision as of 16:56, 2 November 2006 by Brion (Talk | contribs)

Jump to: navigation, search

This is a patched version of GNU Mailman which integrates support for searching list archives using htdig.

As of November 3, 2006 this is operational on goeje.

Contents

Installation

Mailman

Apply these patches to the Mailman source before installation:

The patch documentation describes how to enable it; this is already on in the mailman configuration file.

htdig

htdig can be installed via yum on fedora.

Fun warning! Search result pages will come up blank with no error messages if htsearch is unable to locate the 'COMMON_DIR' which contains its HTML templates and images.

For some reason, the fedora package installs this directory at /usr/share/htdig but the binaries look for it at /var/www/html/htdig. I made a manual symlink to that disused location.

Additionally, that directory should be aliased in to /htdig on the mail web server so that the icons show up in result pages; for the current setup I just symlinked it in from the docroot.

Index updating

Search indexes are updated by a nightly cronjob, at /usr/local/mailman/cron/nighty_htdig. I've put this in mailman's personal crontab.

Setup notes

Initially, lists are set up for htdig as they first receive a mail after the configuration is enabled; but they won't be indexed until the cronjob next runs. (It can also be manually run, of course.)

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox