Mailman / Postfix new list issue
![](https://secure.gravatar.com/avatar/f7419aa17e089e8cebe970e72ce677c7.jpg?s=120&d=mm&r=g)
Hi,
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 My main.cf and master.cf is at http://pastie.org/4178383
Is there something totally obvious I'm missing which would be causing it to send the wrong address in the welcome email?
Thank you,
Dan Offord
Technical Systems Administrator
Multiplay (UK) Ltd, Unit 7 Whitefield, Lepe Road, Blackfield Southampton, Hampshire, SO45 1XR
Registered in England & Wales No. 3370594
Phone: +44 (0) 845 868 1337 | Direct: +44 (0) 56 000 36985 Twitter: @liv3d | Skype: mpukliv3d This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/f7419aa17e089e8cebe970e72ce677c7.jpg?s=120&d=mm&r=g)
On 1 July 2012 15:27, Mark Sapiro <mark@msapiro.net> wrote:
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
Thank you Mark,
That fixed the issue I was seeing :)
Kind Regards,
Dan Offord
Technical Systems Administrator
Multiplay (UK) Ltd, Unit 7 Whitefield, Lepe Road, Blackfield Southampton, Hampshire, SO45 1XR
Registered in England & Wales No. 3370594
Phone: +44 (0) 845 868 1337 | Direct: +44 (0) 56 000 36985 Twitter: @liv3d | Skype: mpukliv3d This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
participants (2)
-
Dan Offord
-
Mark Sapiro