[Mailman-Users] Adding archive link to mail footer?

Mark Sapiro mark at msapiro.net
Mon Mar 5 19:19:51 CET 2012


Mailman Admin wrote:
>
>For private archives use
>%(web_page_url)sprivate/%(_internal_name)s


Yes.


>And for public ones use
>%(web_page_url)spublic/%(_internal_name)s


No. This won't work in a standard Mailman installation. It might work
if you have set

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

in mm_cfg.py and put the appropriate alias for mailman/public in your
web server, but for defauly public archives you need to use something
like

http://www.example.com/pipermail/%(list_name)s

Note that in msg and digest headers and footers, %(list_name)s and
%(_internal_name)s are equivalent, but %(_internal_name)s is a
deprecated usage (even though it is still in the default footer).

Note also that in the above, www.example.com could be replaced with
%(host_name)s, but only if the list's web and email hosts are the same
as %(host_name)s is the list's email host.

-- 
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