[Mailman-Developers] Search engine + authentication
Kiss Gabor (Bitman)
kissg at ssg.ki.iif.hu
Wed Dec 6 12:21:46 CET 2006
Dear folks,
I've just combined Namazu (http://www.namazu.org/index.html.en)
with Mailman as described in Tom Morrison's article
(http://mail.python.org/pipermail/mailman-users/2004-June/037584.html)
However I found that unathenticated/unauthorized users
can search in any list archive.
After a few experimental solutions finally I rewrote
Lindsay Haisley's nmz_wrapper.cgi script (http://www.fmp.com/namazu/).
Now it is called /usr/lib/mailman/Mailman/Cgi/search.py and
uses the same authentication mechanism as
/usr/lib/mailman/Mailman/Cgi/private.py does.
I use Debian binary version of mailman and I did not want
to recompile the package.
However I needed a new cgi-wrapper named
/usr/lib/cgi-bin/mailman/search to call search.py with proper
setgid settings. So I just patched an other wrapper:
perl -p -e 's/rmlist/search/g' rmlist > search
(Yes I know this is a rude hack. :-)
My question is: is it possible to add such a wrapper to the next release
as hook for any third party search engine?
Gabor
More information about the Mailman-Developers
mailing list