[Mailman-Users] Problems with different hostnames

Mark Sapiro mark at msapiro.net
Tue Dec 7 18:47:13 CET 2010

Ruud wrote:
>On my debian leny I run the mailman 2.1.11 stable version in english
>I have different hostnames pointing to the server. Lets say, default is
>domain1. When I create a newlist and login to de admin-interface, I change
>the hostname to domain2.  
>When the system sends mail to recipients (using postfix), it use only the
>default domain1 hostname in the links in the message.

This is because there are two list attributes that contain the domain.
They are host_name and web_page_url, and web_page_url is not visible
in the admin GUI.

>How could I change this/fix this so message sended to the users with links
>in it, points to the configured second domainname, domain2?

You need to add a second domain/host in mm_cfg.py

add_virtualhost('domain2.tld', 'domain2.tld')

Then you fix the list by running the Mailman command

 bin/withlist -l -r fix_url LISTNAME -u domain2.tld

Also, see the FAQ at <http://wiki.list.org/x/lYA9>.

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