[Mailman-Users] Creating a new list fails

Mark Sapiro mark at msapiro.net
Sat May 30 23:42:13 CEST 2009


LuKreme wrote:
>
>I managed to fix this by editing Defaults.py
>
>DEFAULT_EMAIL_HOST = 'mail.covisp.net'
>DEFAULT_URL_HOST = 'mailman.covisp.net'


See the FAQ at <http://wiki.list.org/x/fIA9> for why you should make
this change in mm_cfg.py, not Defaults.py.

It's a bit more complicated in this case than just adding the above two
lines to mm_cfg.py (although that would suffice for the newlist issue)
because those settings are used in an additional definition in
Defaults.py so you also need

VIRTUAL_HOSTS.clear()

to undo what was done in Defaults.py, and

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

to redo it with the correct values.

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