[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-users
Subject:    Re: [Mailman-Users] Mailman / Postfix new list issue
From:       Dan Offord <liv3d () multiplay ! co ! uk>
Date:       2012-07-02 5:12:27
Message-ID: CA+wvyis8fS4PHuwm3v1zhTVYseHEj+CxhPJR_iagDYQFoWOAtw () mail ! gmail ! com
[Download RAW message or body]

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.

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/mailman-users%40progressive-comp.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic