[Mailman-Users] can a single mailman/postfix instance run lists for two different domains?

Mark Sapiro mark at msapiro.net
Tue Mar 15 15:18:16 EDT 2016

On 03/15/2016 04:25 AM, Jack Beanstallk wrote:
> Mailman v 2.1.9 
> What more info would you need to advise further?
> When lists are created I don't manually add list names to /etc/aliases nor does it appear in the file.
> Ideally it would be nice to use the same UI for different1.org <http://different1.org> lists (I understand can't have the same name lists for different domains in 2.1.x) but also happy to use use an alternative UI hosted on the same server.

Please keep threads on the list unless there is necessary, private
information in the post

It seems you have Mailman-Postfix integration configured, so list
aliases are in Mailman's data/aliases(.db) files.

> /etc/mailman/mm_cfg.py
> DEFAULT_URL_PATTERN = 'https://%s/mailman/'
> DEFAULT_EMAIL_HOST = "example1.org"
> # Because we've overriden the virtual hosts above add_virtualhost
> # MUST be called after they have been defined.
> /etc/postfix/main.cf <http://main.cf>

When you want to show someone your Postfix config, give them the output
of 'postconf -n'.

> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mx1.$mydomain, different1.org
> MTA = 'Postfix

I hope this last line is actually in mm_cfg.py.

So what happens if you just create a list normally and then in it's web
UI, set it's General Options -> host_name to different1.org?

I think all should be fine. If not, please post 'postconf -n' and
details about what is not working with the list.

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