[Mailman-Users] Mailman on non-standard port : Public list notdisplayed on listinfo page

Raven Kong ravenkong at gmail.com
Wed Jun 23 07:29:30 CEST 2010

Hello Mark,

Thanks for your suggestion. I've commented out these 2 lines


So now my mm_cfg.py looks like:
MTA = 'Postfix'
DEFAULT_URL_PATTERN = 'http://%s:8888/mailman/'

and restart mailman then fix_url on a testing purpose list 'testlist1', I
have this verbose info:
*Setting web_page_url to: http://a.b.c:8888/mailman/*
*Setting host_name to: a.b.c*

This still doesn't fix the problem, 'testlist1' is not displayed. Neither
does the new 'testlist2' I created after the changes made.
Do you have any idea about this?


2010/6/22 Mark Sapiro <mark at msapiro.net>

> Raven Kong wrote:
> >
> >I have trouble getting the public list shown on the general listinfo page.
> >My mailman is install on a host with port number 8888 (80 is used by
> another
> >service), so the url address is something like
> >http://a.b.c:8888/mailman/listinfo. And those list created public is not
> >displayed in this overview page.
> >I've searched the wiki page and found these articles:
> >http://wiki.list.org/pages/viewpage.action?pageId=4030613 and
> Which says:
> There are also the following deprecated settings which still exist to
> support old mm_cfg.py files, but shouldn't be referenced in current
> mm_cfg.py files.
> >http://wiki.list.org/pages/viewpage.action?pageId=4030592
> >And as described in the articles I modified my mm_cfg.py  like this:
> >
> >MTA = 'Postfix'
> >DEFAULT_HOST_NAME = 'a.b.c'
> >DEFAULT_URL = 'http://a.b.c'
> As noted above, these two settings are deprecated and should not be
> used, and in fact override some of the settings below.
> >DEFAULT_URL_HOST = 'a.b.c'
> >VIRTUAL_HOSTS.clear()
> >DEFAULT_URL_PATTERN = 'http://%s:8888/mailman/'
> If the above two domains are really the same, it's redundant to list it
> >
> >Restart my apache, mailman, postfix and then use bin/fix_url to fix the
> >exist list,  it doesn't show up in the overview page. Those new list
> created
> >after the modification don't show in the overview page too.
> >As my understanding , in the article mentioned above, only when the *
> >host_name* and *web_page_url * are identical the list can be shown in the
> >mailman/listinfo page.
> Not quite. host_name doesn't come into it. if VIRTUAL_HOST_OVERVIEW is
> on, the host including port in the list's web_page_url must match that
> used to access the page for the list to be displayed. Since you set
> DEFAULT_URL, your lists' web_page_url attribute is 'http://a.b.c'
> rather than 'http:/a.b.c:8888/mailman/'. This will cause other
> problems as well in that all URLs generated by Mailman will be wrong.
> Remove
> DEFAULT_URL = 'http://a.b.c'
> from mm_cfg.py, restart Mailman and re-run fix_url.
> --
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan

Best regards,

Raven Kong
--Life is not as we know it.

More information about the Mailman-Users mailing list