[Mailman-Users] integrating htdig with cpanel mailman

Jason Fayre jason at fayre.me
Thu Sep 3 17:02:18 CEST 2015

I made the modifications you suggested. 
Now when I run nightly_htdig on a list, I get an error back that "I" is an
invalid option for htfuzzy. I uncommented that line in the rundig script.
Any ideas?
If it isn't critical, I can just re-comment that line.

-----Original Message-----
From: Mailman-Users [mailto:mailman-users-bounces+jason=fayre.me at python.org]
On Behalf Of Mark Sapiro
Sent: Wednesday, September 02, 2015 8:34 PM
To: Mailman Users <mailman-users at python.org>
Subject: Re: [Mailman-Users] integrating htdig with cpanel mailman

Forwarding to mailman-users for completeness.

On 09/02/2015 05:29 PM, Mark Sapiro wrote:
> On 09/02/2015 05:07 PM, Jason Fayre wrote:
>> Here you go.
>> Thanks so much for your help on this!
>> This rundig is from the centos 6.7 htdig package.
> Your rundig has been modified from the 3.2.0b6 htdig base. The base 
> rundig always does a full rebuild of the index My patch to rundig adds 
> a '-u' option to do an 'update' rather than a full rebuild. Your 
> RedHat/Centos package rundig already has this option only it's '-i' 
> for incremental.
> Thus, you don't need to patch your rundig at all unless you want to 
> uncomment line 79 (which my patch does) per lines 77-79
> # If you want to use the soundex and (or) metaphone fuzzy matchings, # 
> Uncomment the following line # $BINDIR/htfuzzy $opts soundex metaphone
> What you do need to do however is change nightly_htdig. My patch added 
> amongst other things the line
>         init_or_update = ' -u'
> per
> @@ -109,6 +109,7 @@
>          # test if the archive volume directories mod times have
>          # changed
>          recent_posts = None
> +        init_or_update = ' -u'
>          rundig_run_file = os.path.join(list_htdig_dir, 'rundig_last_run')
>          archive = HyperArch.HyperArchive(mlist)
>          try:
> You need to change that to
>         init_or_update = ' -i'
> because in your rundig the 'incremental' option is '-i', not '-u'.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users at python.org
Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy:
http://wiki.list.org/x/QIA9 Searchable Archives:

More information about the Mailman-Users mailing list