[Mailman-Users] Recipient address rejected: User unknown invirtualmailbox table
Mark Sapiro
mark at msapiro.net
Sat Jul 10 03:20:25 CEST 2010
franc walter wrote:
>Am Fri, 9 Jul 2010 19:22:30 +0300 (IDT) schriebst du:
>
>> Can you post your mm_cfg.py file as it is now?
>
>My mm_cfg.py:
[...]
>MAILMAN_SITE_LIST = 'mailman'
>
>
>DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
>
>PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
>
>IMAGE_LOGOS = '/images/mailman/'
>
>DEFAULT_EMAIL_HOST = 'lists.example.org'
>
>DEFAULT_URL_HOST = 'example.org'
>
>add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
>DEFAULT_SERVER_LANGUAGE = 'en'
>
>USE_ENVELOPE_SENDER = 0 # Still used?
>
>DEFAULT_SEND_REMINDERS = 0
>
>MTA='Postfix'
>
>DEFAULT_SERVER_LANGUAGE = 'de'
>
>POSTFIX_STYLE_VIRTUAL_DOMAINS = ['example.org', 'example2.de']
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. Then you could
create a list in the example2.de domain either by going to
<http://www.example2.de/mailman/cgi-bin/create> or via "bin/newlist -u
www.example2.de" and the list will be created with email domain (the
list's host_name attribute) example2.de and virtual mappings for the
list will be created in data/virtual-mailman (because example2.de is
in POSTFIX_STYLE_VIRTUAL_DOMAINS.
As it is, your lists are created with email host (host_name) =
DEFAULT_EMAIL_HOST = 'lists.example.org' which is not in
POSTFIX_STYLE_VIRTUAL_DOMAINS, so no virtual-mailman entries.
Do you really want the default lists to have URLs like
<http://example.org/mailman/cgi-bin/...> and email addresses like
list at lists.example.org? If this is the reverse of what you want, you
need to reverse your settings for DEFAULT_EMAIL_HOST and
DEFAULT_URL_HOST.
If you make changes, you will probably need to run fix_url to change
the existing lists.
--
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