[Mailman-Users] integrating htdig with cpanel mailman

Mark Sapiro mark at msapiro.net
Wed Sep 2 09:03:43 CEST 2015


On 09/01/2015 12:32 PM, Jason Fayre wrote:
> Hello,
> I'm attempting to get Mailman 2.1.20 working with htdig.
> I've installed the htdig patch for this version of Mailman from Mark's site.


I'd be surprised if this doesn't have conflicts with cPanel's mods. What
happened when you ran patch? were there any rejects?


> When I run a search from the archive pages, I get a blank page.
> I've seen others asking this, but have never seen a solution.
> I think I may have had this working a few years ago, but don't remember what
> I did to fix it. It broke when cpanel updated mailman.


Not surprising. cPanel's mailman has many patches of its own, mostly
because of the list name = name_domain feature to allow lists of the
same 'name' in different domains.


> When I try running the mmsearch script by itself, I get the following error,
> which is expected as I under stand it:
> htdig Archives Access Failure
> CGI problem. -5-Field count -4- fields: 


Yes, this is expected. You could try going to a URL like

<http://example.com/mailman/mmsearch/LISTNAME?method=and&format=short&sort=score&config=LISTNAME>


> If you want to make another attempt to access a list archive then go via the
> list users information page. 
> 
> If this problem persists then please e-mail the following information to the
> mailman at nfbnet.org: 
>     Referer not known
>     /mailman/mmsearch/blparent_nfbnet.org


The above is not familiar to me. It may be a cPanel thing.


> Running the htsearch command by itself doesn't yield any results with a
> keyword and the short format.


Do you specify the -c option with an appropriate config file?


> The version of htdig is 3.2.0b6. I noticed that there are patched versions
> of rundig and the nightly scripts on the patch site, but don't know if that
> applies to newer patches or not.


Those patches allow the nightly update to do an update rather than a
complete rebuild of the htdig search index.


-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list