Hello!
Thank you for your patient clarifications!
Yes, I understand: Internally Mailman uses only the listname. And the
domainname/hostname.
Perhaps another explanation is helpful (from postfix-side):
To get Mailman working the following configuration is needed actually:
myhostname = mail.myserver.de
mydomain = myserver.de
mydestination = $myhostname, $mydomain, localhost
But I want/need to change this to (working before without problems):
myhostname = mail.myserver.de
mydomain = myserver.de
mydestination = $myhostname, localhost
because $mydomain is used by virtual mailsystem (postfix-warning: "Jul
24 10:32:19 lovejoy postfix/trivial-rewrite[31288]: warning: do not list
domain myserver.de in BOTH mydestination and virtual_mailbox_domains").
How can I avoid this warning (without removal of the other
email-handling for myserver.de)?
Kind regards,
Jens
Mark Sapiro schrieb:
Jens Meyer wrote:
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).
I do not understand your question. I think you do not understand
Mailman's processing.
Internally, Mailman uses only the list name. Mailman doesn't do
'internal redirections'
For incoming mail, the MTA handles mail according to its configuration,
but ultimately, for mail destined to Mailman, pipes the mail to
Mailman's wrapper to be posted to a list via a pipe like
"|/usr/local/mailman/mail/mailman post listname". Only the listname is
involved at this point. No domain is involved.
If you want mail to '[EMAIL PROTECTED]' to be handled as though it
were addressed to '[EMAIL PROTECTED]' you have to do that in
Postfix, but I don't think that is your issue.
Answer these questions:
How do you want list mail to be addressed? I.e., to list@ what domain?
Is this domain a virtual domain in Postfix?
I think the answers are mail to [EMAIL PROTECTED] (not
[EMAIL PROTECTED]), and yes, hostname.com is a virtual domain in
Postfix.
If this is correct, you want something like
DEFAULT_EMAIL_HOST = 'hostname.com'
DEFAULT_URL_HOST = 'lists.hostname.com'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['hostname.com']
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
in mm_cfg.py, and in your Postfix configuration
alias_maps = ... hash:/path/to/mailman/data/aliases
and
virtual_alias_domains = ... hostname.com
and
virtual_alias_maps = ... hash:/path/to/mailman/data/virtual-mailman
------------------------------------------------------
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