[Mailman-Users] scripts/owners not setting list domain

Mark Sapiro msapiro at value.net
Fri Nov 17 19:42:40 CET 2006

Peter Radcliffe wrote:
>If it shouldn't be necessary then I'm missing something since I can't
>get that chunk of code to output the right answer... admittedly my
>python is a bit rusty, though.

Try the following tests:

$ bin/withlist -i
No list name supplied.
Python info ...
>>> from Mailman import Utils
>>> Utils.get_domain()
(should return 'www.pir.net')
>>> Utils.get_site_email()
(should return 'mailman at list.pir.net')
>>> from Mailman import mm_cfg
>>> mm_cfg.VIRTUAL_HOSTS
(should return {'www.pir.net': 'list.pir.net'}

Mark Sapiro <msapiro at value.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