
Dan Offord wrote:
I'm having an issue with any new lists created in Mailman, it appears to be forcing each mailing lists host_name to: multiplay.co.uk
So any welcome emails specifically states:
"To post to this list, send your message to:
newlist@multiplay.co.uk"
Where the host/domain for Mailman is set to lists.multiplay.co.uk
My mm_cfg.py is at http://pastie.org/4178388
The relevant lines of which are:
DEFAULT_URL_HOST = 'lists.multiplay.co.uk' add_virtualhost('lists.multiplay.co.uk') DEFAULT_EMAIL_HOST = 'lists.multiplay.co.uk' host_name = 'lists.multiplay.co.uk'
The assignment to host_name in mm_cfg.py does nothing useful. remove it.
add_virtualhost() takes one or two arguments and creates a mapping from a url host (web host) to an email host. If the email host argument is ommitted, it is determined by stripping everything up to the first dot '.' from the url host argument. This is documented in Defaults.py
# ... If optional emailhost is # omitted it defaults to urlhost with the first name stripped off, e.g. # # add_virtualhost('www.dom.ain') # VIRTUAL_HOST['www.dom.ain'] # ==> 'dom.ain'
Thus,
add_virtualhost('lists.multiplay.co.uk')
is the same as
add_virtualhost('lists.multiplay.co.uk', 'multiplay.co.uk')
What you want in mm_cfg.py are these 3 lines in this order
DEFAULT_URL_HOST = 'lists.multiplay.co.uk' DEFAULT_EMAIL_HOST = 'lists.multiplay.co.uk' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
Then, you can fix the host_name of the already created list either from the web UI General Options page or by running fix_url {see <http://wiki.list.org/x/mIA9>).
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan