[Mailman-Users] Mailman / Postfix new list issue

Dan Offord liv3d at multiplay.co.uk
Mon Jul 2 07:12:27 CEST 2012


On 1 July 2012 15:27, Mark Sapiro <mark at 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 at 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 at multiplay.co.uk.



More information about the Mailman-Users mailing list