[Mailman-Users] mailman start error

Mark Sapiro mark at msapiro.net
Sat May 11 14:21:42 EDT 2019

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

More information about the Mailman-Users mailing list