[Mailman-Users] listinfo_url and optionsurl alternatives?

Mark Sapiro mark at msapiro.net
Thu Dec 13 01:19:24 CET 2007

Michael Grueter wrote:
>On Dec 10, 2007, at 1:10 PM, Mark Sapiro wrote:
>> If you have the appropriate add_virtualhost() directives in mm_cfg.py
>> for this host and you have run fix_url if necessary to give the list
>> the correct web_page_url attribute, you should get the URL's you want
>> from the default template.
>> See some of the articles returned by
>> <http://www.python.org/cgi-bin/faqw-mm.py? 
>> query=web_page_url&querytype=simple&casefold=yes&req=search>.
>Hi Mark,
>Thanks for the info. I was able to play with the variables you  
>mentioned and it works. So as far as correctly configuring Mailman is  
>concerned, are you saying that I should not have to edit  
>subscribeack.txt in order for the "host name this list prefers for  
>email" to show up instead of the generic mail server host name?

For purposes of discussion, let's say the "host name this list prefers
for email" is example.com.

Then, what I am saying is that if the URLs for your list's web pages
should be of the form http://example.com/mailman/..., the list's
hidden web_page_url attribute should be 'http://example.com/mailman/'
and then %(listinfo_url)s will produce
http://example.com/mailman/listinfo/listname and %(optionsurl)s will
produce http://example.com/mailman/options/listname/username%40domain

Now there are several ways to accomplish this, but first you should have

add_virtualhost('example.com', 'example.com')

in mm_cfg.py. Then you can run

bin/withlist -r -r fix_url listname -u example.com

to fix the list.

>I'm running Mac OS X Server 10.4.10 and there is a GUI admin tool for  
>configuring mailing lists. This is what I used to setup my mailing  
>list. Maybe it is not configuring things properly. Are you familiar  
>with this tool?

No, although I know that some people who run Apple's Mac OS X Server
Mailman forgo Apples GUI and use Mailman's web admin interface instead.

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