[Mailman-Users] integrating htdig with cpanel mailman

Mark Sapiro mark at msapiro.net
Wed Sep 2 17:46:07 CEST 2015


On 09/02/2015 06:22 AM, Jason Fayre wrote:
> Hello,
> I do not get any rejects when applying the patch.
> I did pass the config file for the list to htsearch with the -c option.
> Any other ideas? 


The attached htsearch.txt is a transcript of an htsearch interaction on
my system. If you do the same do you get similar output? If not, your
htdig installation is broken.


> How are people typically handling archive search? I know I could use
> mail-archive, but would rather handle things on our end if we can.


I use htdig with Richard Barrett's patches as forward ported by me.
Other suggestions are in the FAQ at <http://wiki.list.org/x/4030514>.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
-------------- next part --------------
mark at sbh16:~$ /opt/www/cgi-bin/htsearch -c /var/lib/mailman/archives/htdig/mailman.conf
Enter value for words: two words
Content-type: text/html

Enter value for format: short
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>No match for '(two or twos) and (words or word or worded or wording or wordings)'</title></head>
<body bgcolor="#eef7ff">
<h1><img src="/htdig/htdig.gif" alt="ht://Dig">
Search results</h1>
<hr noshade size="4">
<h2>No matches were found for '(two or twos) and (words or word or worded or wording or wordings)'</h2>
<p>
Check the spelling of the search word(s) you used.
If the spelling is correct and you only used one word,
try using one or more similar search words with "<strong>Any</strong>."
</p><p>
If the spelling is correct and you used more than one
word with "<strong>Any</strong>," try using one or more similar search
words with "<strong>Any</strong>."</p><p>
If the spelling is correct and you used more than one
word with "<strong>All</strong>," try using one or more of the same words
with "<strong>Any</strong>."</p>
<hr noshade size="4">
<form method="get" action="https://sbh16.songbird.com/mailman/mmsearch/mailman">
<font size="-1">
<input type="hidden" name="config" value="">
<input type="hidden" name="restrict" value="">
<input type="hidden" name="exclude" value="">
Match: <select name="method">
<option value="and" selected>All
<option value="or">Any
<option value="boolean">Boolean
</select>

Format: <select name="format">
<option value="long">Long
<option value="short" selected>Short
</select>

Sort by: <select name="sort">
<option value="score" selected>Score
<option value="time">Time
<option value="title">Title
<option value="revscore">Reverse Score
<option value="revtime">Reverse Time
<option value="revtitle">Reverse Title
</select>

<br>
Refine search:
<input type="text" size="30" name="words" value="two words">
<input type="submit" value="Search">
</font>
</form>
<hr noshade size="4">
<a href="http://www.htdig.org/">
<img src="/htdig/htdig.gif" border="0" alt="">ht://Dig 3.2.0b6</a>
</body></html>
mark at sbh16:~$ 


More information about the Mailman-Users mailing list