[Mailman-Users] Virtual hosts [was: newlist mailman - python error]
Ulrich Pöschl
ulrich at p-consult.at
Tue Mar 13 21:42:55 CET 2007
Mark Sapiro schrieb:
> Standard Mailman supports multiple virtual hosts from a single instance
> with the restriction that all list names must be unique across all
> hosts. This restriction is planned to be removed for Mailman 2.2 and
> there are various patches available for Mailman 2.1 which may or may
> not work. See
> <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.047.htp>.
>
> If you can live with the unique list name restriction, the Mailman part
> of virtual hosting is simple. In mm_cfg.py, just put add_virtualhost()
> directives for the additional host(s), e.g.
>
> add_virtualhost('www2.example.com', 'lists2.example.com')
>
> Then web created lists will be created with the proper web and mail
> host names based on the host name of the URL that accessed the create
> page. bin/newlist has options for specifying domains other than
> DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST.
>
> Lists will only be shown on the overview page for the accessing host
> unless you set VIRTUAL_HOST_OVERVIEW = Off.
>
> Of course, you have to set up the virtual domains in the web server and
> in the incoming MTA so that the web server invokes the mailman CGIs
> for Mailman URLs for all the hosts and the MTA properly delivers list
> mail for any host to Mailman. These latter things are specific to your
> web server, MTA and virtual hosting setup.
>
heya. I'm astonished. it works like a charm.
i've tested running another instance from a different apache vhost and I
found it out myself in the meantime. I can live with the mentioned
restrictions very well...
thank you very much!
ciao,
Ulrich
More information about the Mailman-Users
mailing list