[Mailman-Users] external archivers

Mark Sapiro msapiro at value.net
Thu Jun 16 02:28:29 CEST 2005


Andy Heath wrote:

>In 2.0.6 though there was a place to plug in
>archivers in mm_config.py it didn't work and
>I had to hack the code which left me in a
>development island unable to follow upgrades.
>
>What's the position in 2.1.5 ?
>
>I see the posts from another person on this and
>that there is a place to pipe posts to another
>archiver.  What about
>
>a) plugging in a link in the places where mm says "click here
>to go to archives" ?

There is a Defaults.py/mm_cfg.py variable which defaults to

PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'

You can change this for public archives.

For private archives, see below.

>b) authentication ?
>
>It would be nice if the same locations could be used
>and mm also authenticated (assuming the other archive
>is a replacement not a supplementary).
>
>Is there a way to do this ?

For private archives, URLs look like
http://<host>/mailman/private/<list>/...  These urls are handled by a
CGI script Mailman/Cgi/private.py that does both the authentication
and the actual access. You could modify this script to keep the
authentication and just access your own archive. The security for
private archives is enforced by their not being world readable or
accessable to the web server directly. The web server accesses
private.py through the cgi-bin/private wrapper which is setgid to the
mailman group which does have access to the archives.

--
Mark Sapiro <msapiro at value.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