[Mailman-Users] Mailman and virtual domains...

Mark Sapiro mark at msapiro.net
Thu Jul 9 16:06:41 CEST 2009

Grant Taylor wrote:
> Is it possible to have (a single instance of) Mailman installed and
> accessed by different domain names such that each domain sees a
> different set of mailing lists?  I.e.
> example.com has the following lists
>     comlist1
>     comlist2
> example.net has the following lists
>     netlist1
>     netlist2
> example.org has the following lists
>     orglist1
>     orglist2
> I would like the Mailman interface on each domain
> (http://maillists.example.(com|net|org)/mailman/listinfo) to only show
> the lists appropriate for the domain.

Mailman does this. If VIRTUAL_HOST_OVERVIEW is on (the default), Mailman
only shows the lists for the url host (domain) on the admin and listinfo
overview pages.

There are two possible issues. List names must be globally unique, and if
you know a list name, you can go to it from any host. E.g. using the
above, http://example.org/mailman/listinfo will show only orglist1 and
orglist2 (assuming they are public), but
http://example.org/mailman/listinfo/netlist1 will work to get netlist1's
listinfo page.

You need to have (e.g.) an

add_virtualhost('example.net', 'example.net')

directive in mm_cfg.py for each domain, except possibly the
DEFAULT_(URL|EMAIL)_HOST domain if it is properly set by configure in
Defaults.py, so that lists can be properly created.

See the FAQ at <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

More information about the Mailman-Users mailing list