Hello Mark,

thank you, that looks much better now! The alias, transport and virtual tables 
are now correct.  The problem that remains may be postfix or dovecot related, 
but perhaps you have an idea too:

When I send a mail to [email protected], it is forwarded to [email protected], 
which does not work of course.

Jan  8 13:56:05 domain1 postfix/pipe[2066]: 9EE1C1003F1: to=<[email protected]>, 
orig_to=<[email protected]>, relay=dovecot, delay=0.03, delays=0.02/0/0/0.02, 
dsn=5.1.1, status=bounced (user unknown)

Eggert


Am Donnerstag, 7. Januar 2016, 12:02:48 schrieb Mark Sapiro:
> 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
------------------------------------------------------
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

Reply via email to