[Mailman-Users] Newbie question regarding multiple domains with oneMailman installation

Mark Sapiro msapiro at value.net
Mon Jan 30 01:42:30 CET 2006

Daniel Spreadbury wrote:
>Apologies if this is covered in the Mailman docs or the FAQs, but I'm having
>problems finding any concrete information.

Searching the FAQ wizard at
>Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py


will return some relevant information including FAQs 4.29. 4.47 and

>I've installed Mailman via the FreeBSD ports collection on my FreeBSD server
>(running 4.7). My MTA is Exim 4.22, and my web server is Apache 1.3.x.

Mailman version? :-)

>I currently have mailman in /usr/local/mailman, and my web server has a
>virtual host at http://lists.dom.ain/ that points at this installation. My
>lists therefore have addresses like mailing-list at lists.dom.ain.
>I run a number of different virtual domains from my server, and would like
>to be able to run mailing lists for each of them, but using their domain
>names. I don't care about the limitation that they can't use the same list
>name -- the number of lists will be small, and that's an avoidable problem.
>So what do I need to do to run e.g. mailing-list-alpha at dom.ain and
>mailing-list-beta at another.domain from the same Mailman installation on my

Either put the Mailman specific alias and scriptalias, etc stuff in
each virtual host section in the web server config, or put it
somewhere where it will apply to all hosts.

Put directives like:

add_virtualhost('dom.ain', 'dom.ain')

in mm_cfg.py. This assumes you will access the web pages via
http://dom.ain/..., as well as emailing mailing-list-alpha at dom.ain,
i.e., that the web domain and the email domain are the same for the
hosts. If not, the generic form is

add_virtualhost('web.dom.ain', 'email.dom.ain')

Then when you create lists for these domains, they will only appear on
listinfo and admin overview pages accessed from that domain and web
links and email addresses for those lists will all use the list's

And read the FAQs mentioned above.

Mark Sapiro <msapiro at value.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