[Mailman-Users] transport-mailman and virtual-mailman not updated with new list

Mark Sapiro mark at msapiro.net
Wed Jan 6 19:23:52 EST 2016


On 01/06/2016 03:56 PM, Eggert Ehmke wrote:
> 
> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain1.de', 'domain2.de']
> 
> # for list in `bin/list_lists -b`; do  bin/dumpdb lists/$list/config.pck | grep 
> host_name.:; done
>     'host_name': 'lists.domain2.de',
>     'host_name': 'lists.domain1.de',
>     'host_name': 'vxxxxxxxxxxxx.yourvserver.net',
>     'host_name': 'domain1.de',
>     'host_name': 'lists.domain1.de',
> 
> Where domain1 is the domain of the old list, domain2 the domain of the new 
> list. Vxxxxxx is the hostname that my provider has assigned to the server.


The names in POSTFIX_STYLE_VIRTUAL_DOMAINS must exactly match the
host_names. I.e. for the above, the only list that will get
data/virtual-mailman and data/transport-mailman entries is the one with
host_name = 'domain1.de'.

Since host_name is intended to be the email domain of the list, not the
web domain, I'm guessing that the host_name values for the three lists
that currently begin with 'lists.' should actually be just 'domain1.de'
or 'domain2.de', but if you really mail to these lists
@lists.domainx.de, you need to add 'lists.domain2.de' and
'lists.domain1.de' to POSTFIX_STYLE_VIRTUAL_DOMAINS.

Also, if 'vxxxxxxxxxxxx.yourvserver.net' is a virtual domain as opposed
to a Postfix mydestination (local) domain, that needs to be in
POSTFIX_STYLE_VIRTUAL_DOMAINS too.

-- 
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