[Mailman-Users] Recipient address rejected: User unknown invirtualmailbox table

franc walter francwalter at gmx.de
Sat Jul 10 12:00:06 CEST 2010


On Fri, 9 Jul 2010 18:20:25 -0700 you wrote:


> You have only set one host. The default host has web domain
> 'example.org' and email domain 'lists.example.org'.

> The only lists for which Mailman will create virtual-mailman entries
> are those whose email domain is 'example.org' or 'example2.de'.

> At a minimum, you want to put something like

> add_virtualhost('www.example2.de', 'example2.de')

> following the add_virtualhost() for the default domains.



OK, again, if I have 3 virtual domains on it:

example1.org
example2.org
example3.org

and i want to have for each domain a separate list:

list1 on example1.org
list2 on example2.org
list3 on example3.org

The emailhost of each of those lists should be like

lists.example1.org
lists.example2.org
lists.example3.org


So is this the right setting:


POSTFIX_STYLE_VIRTUAL_DOMAINS = ['example1.org', 'example2.org',
'example3.org']

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('example1.org', 'lists.example1.org')
add_virtualhost('example2.org', 'lists.example2.org')
add_virtualhost('example3.org', 'lists.example3.org')

?

In Postfix i put:

alias_maps = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases
relay_domains = lists.example1.org,lists.example2.org,lists.example3.org
mydestination = lists.example1.org, lists.example2.org, lists.example3.org,
example1.org, example2.org, example3.org, localhost
virtual_alias_maps =
mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf,hash:/var/lib/mailman/data/virtual-mailman

is this right?

I wonder if i want to add a new virtual domain, now i have to change a lot
in mm_cfg.py (mailman) and also in main.cf (postfix).
And only then i can run:

newlist --urlhost=example4.org --emailhost=lists.example4.org list4

This seems to me much too complicated that i think there must be still many
things i didn't get or i set wrong.

I think my main problem is, that my origin language is NOT english and i
probably just don't understand some important things when i read the doc.
And there is NO german doc for mailman.



: franc



More information about the Mailman-Users mailing list