On 01/07/2016 08:05 AM, Eggert Ehmke wrote:
>
> Ok I changed /etc/mailman/mm_cfg.py and removed the "lists" from the
> hostnames. It lookes like this now:
> DEFAULT_EMAIL_HOST = 'domain1.de'
> DEFAULT_URL_HOST = 'domain1.de'
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
> add_virtualhost('domain2.de', 'domain2.de')
Actually, what you probably want is
DEFAULT_EMAIL_HOST = 'domain1.de'
DEFAULT_URL_HOST = 'lists.domain1.de'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('lists.domain2.de', 'domain2.de')
Because at least in a normal Debian/Ubuntu package web URLs are
http://lists.domainx.de/... and list mailing addresses are [email protected].
> Now the above command produces this list:
> 'host_name': 'domain2.de',
> 'host_name': 'lists.domain1.de',
> 'host_name': 'vxxxxxx.yourvserver.net',
> 'host_name': 'domain1.de',
> 'host_name': 'lists.domain1.de',
>
> When running genaliases again,
> data/aliases contains all lists in both domains, db is updated
> data/transport-mailman contains only one list of both domains,
> data/virtual-mailman contains only one list of both domains, db is not updated
>
> Anyway, the most importand list is now there. I run postmap on the virtual-
> mailman manually. Mailinglist still not working, that may be a postfix
> problem.
The changes you made to mm_cfg.py do not affect the host_name for any
existing lists. I suggest you do the following:
1) make the changes I suggest above in mm_cfg.py
2) for each list in domain1 run
bin/withlist -l -r fix_url LISTNAME
and for each list in domain2 run
bin/withlist -l -r fix_url LISTNAME -u lists.domain2.de
This will fix the list's web_page_url and host_name attributes
appropriately.
3) run bin/genaliases
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org