Hello Mark,
thank you for your further reply.
The problem are not the virtual hostnames or the "advertisements" of the
listnames.
My problem is the internal handling:
Is it possible to change Mailman's internal usage (target for internal
redirections) from @hostname.com to @mail.hostname.com (because
@hostname.com is used for virtual emails on this server actually).
Kind regards,
Jens
Mark Sapiro schrieb:
Jens Meyer wrote:
My system accepts mails for [EMAIL PROTECTED] without
problems. The only problem is that I can not use the internal
redirection from mailman to [EMAIL PROTECTED] without (internal)
postfix-warnings because the domain myserver.de is used by the virtual
mailhosting also (see my last post).
So one solution would be to "ask" mailman to redirect all emails not
to [EMAIL PROTECTED] but to [EMAIL PROTECTED]
I don't think I understand what you want to do. If you want the Mailman
list to 'advertise' itself as [EMAIL PROTECTED], all you need to
do is change the list's host_name attribute on the General Options admin
page to mail.myserver.de if it isn't already.
If what you are asking is for Mailman to create virtual alias map
entries for Postfix of the form
[EMAIL PROTECTED] listname
...
You need to set
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.myserver.de']
in mm_cfg.py instead of what you have, and then run Mailman's
bin/genaliases to generate Mailman's data/virtual-mailman* files with
the appropriate entries. You also need to reference this file in
Postfix's virtual_alias_maps.
This is what I tried to say below.
Mark Sapiro schrieb:
Jens Meyer wrote:
Our postfix-mailserver hosts several domains (virtual mailhosting,
postfix/mysql) and "mailman".
The "primary domain" myserver.de is a virtualized domain also. So
this domain is not listed in mydestination:
-->
myhostname = mail.myserver.de
mydomain = myserver.de
myorigin = $mydomain
mydestination = $myhostname, localhost
<--
As far as I understand mailman forwards all emails to the "primary
domain" (mydomain) and mailman is only working if I add $mydomain to
mydestination.
This is the assumption of Mailman/Postfix integration.
But when doing this there are warnings from postfix that it is not
allowed to list the domain in the virtual aliases (mysql-database)
and in relay_domains.
Is there any possiblity to configure mailman to forward the emails
in ./data/virtual-mailman not to "[EMAIL PROTECTED]" but to
"[EMAIL PROTECTED]"?
My actual config is:
-->
DEFAULT_EMAIL_HOST = 'mail.myserver.de'
DEFAULT_URL_HOST = 'lists.myserver.de'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.myserver.de']
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
<--
I don't understand your configuration. The above Mailman config items
say that lists.myserver.de is a postfix virtual domain and that
Mailman lists whose host_name is lists.myserver.de will get
virtual_mailman entries of the form
[EMAIL PROTECTED] testliste2
(i.e. map the virtual domain address '[EMAIL PROTECTED]' to
local name 'testliste2' where it will be handled by the 'testliste2:'
entry in aliases). However, your setting of DEFAULT_EMAIL_HOST =
'mail.myserver.de' says lists will be created with a host_name of
'mail.myserver.de', so no virtual_mailman entries will be created at
all.
Something is clearly wrong. From your description, I think if you change
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.myserver.de']
to
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail.myserver.de']
And run Mailman's bin/genaliases, you will get what you want. I.e., you
will get virtual_mailman with entries like
[EMAIL PROTECTED] testliste2
which will map the virtual domain list address
'[EMAIL PROTECTED]' to the local name 'testliste2' which
will be delivered to Mailman according to the 'testliste2' alias in
Mailman's data/aliases.
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9