[Mailman-Users] mailman-htdig integration and rundig after post

Richard Barrett r.barrett at openinfo.co.uk
Wed Feb 18 11:13:15 CET 2004


rundig is run automatically to build/rebuild search indices by 
whichever one of the nightly_htdig series of cron scripts you choose to 
use: see the INSTALL.htdig-mm file installed by the patch. The 
integration patch adds an entry to MM's default crontab 
($prefix/Mailman/cron/crontab.in) which runs $prefix/cron/nightly_htdig 
every 24 hours.

If you want to run nightly_htdig more frequently then you can change 
the crontab entry that runs it. The script can also be run from the 
command line or any other means that you want to set up.

The patched Mailman does NOT perform htdig reindexing every time a new 
piece of mail is added to a list's archive, that is why the patched 
code adds and updates a note like this to a list's Archive TOC web 
page, below the search form:

Note:The archive search index was last rebuilt at <date-time group 
rundig last run inserted here>. Any postings after that will not be 
found by a search. Index rebuild is usally done once every 24 hours for 
this list. You can use a "View by date" link below to access more 
recent postings.

Hope that resolves you query. Let me know if not.


On Wed Feb 18 03:36:50 EST 2004 Joerg Fries said:

Hello All,

yesterday I've integrated htdig into mailman successfully. My archives 
searchable now.

When I read the docs, I've expected the following: When a new mail 
arrived, the archiver qrunner should update the archives *and* run 
rundig to
update the database files in
/var/lib/mailman/archives/private/<listname>/htdig. Am I right? But on 
site there is no update of the htdig files.

I am running mailman-2.1.4 and htdig-3.1.6 on SuSE 8.2 with all the 
provided by Richard Barrett applied (thanks for all, Richard). Here is 
mm_cfg.py file:

HTDIG_RUNDIG_PATH = '/usr/bin/rundig'
HTDIG_HTSEARCH_PATH = '/srv/www/cgi-bin/htsearch'
HTDIG_FILES_URL = '/htdig/images/'

No entries in log files error and qrunner (I've restarted qrunner 
before I

Thanks for any help

Richard Barrett                               http://www.openinfo.co.uk

More information about the Mailman-Users mailing list