[Mailman-Users] script alias

Web Analysts csa at web-analysts.net
Sun May 12 12:16:52 EDT 2019

Okay. That worked. Now I have upgraded Mailman from an early 2x to 2.1.29.
the script alias is not working consistently now across all lists. Some web
page admin links are broken requiring me to manually insert the /cgi-bin/
into the web browser to bring up admin pages. Other links work w.o. the
cgi-bin. I cannot admin one of my lists too. Any link I click on in the
General Options Section takes me back to asking me for the list admin
password, i.e. stuck in a loop.

Thank you again.

-----Original Message-----
From: Mailman-Users
[mailto:mailman-users-bounces+csa=web-analysts.net at python.org] On Behalf Of
Mark Sapiro
Sent: Saturday, May 11, 2019 11:22 AM
To: mailman-users at python.org
Subject: Re: [Mailman-Users] mailman start error

On 5/11/19 7:43 AM, Web Analysts via Mailman-Users wrote:
> I'm now getting an error when I start Mailman:
> root at primeo:~# /etc/init.d/mailman start
> Traceback (most recent call last):
>   File "/usr/local/mailman/bin/mailmanctl", line 106, in <module>
>     from Mailman import mm_cfg
>   File "/usr/local/mailman/Mailman/mm_cfg.py", line 54, in <module>
>     add_virtualhost(lists.domainname.tld, lists.domainname.tld)
> NameError: name 'lists' is not defined
> root at primeo:~#
> What did I inadvertently break?

In the line

add_virtualhost(lists.domainname.tld, lists.domainname.tld)

which you added to mm_cfg.py, the domain names need to be quoted as in

add_virtualhost('lists.domainname.tld', 'lists.domainname.tld')

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users at python.org
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

More information about the Mailman-Users mailing list