[Mailman-Users] Virtual hosts
igoldste at gw.neric.org
Mon Apr 9 14:33:53 CEST 2007
Hi. The list's host_name on the web page does reflect the desired virtual host name. I've tried the add_virtualhost as
both with and without:
but did not see any difference in the system response.
I've spent the weekend reading up on postfix, but can not see where postfix is rewriting the header (I'm not saying that it isn't doing this, just that with my limited knowledge, I don't see it).
The local_header_rewrite_clients in canonical is commented out (as is every line in the file).
The alias_database and local_recipient_maps are commented out in main.cf
The relocated and generic files also contains just comments
The masquerade* and virtual commands in main.cf are:
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
virtual_alias_maps = hash:/etc/postfix/virtual, hash:/var/lib/mailman/data/virtual-mailman, hash:/var/lib/mailman/data/virt-mailman2
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_mailbox_domains = dom2.ain
virtual_uid_maps = static:1001
virtual_gid_maps = static:1050
virtual_mailbox_base = /var/spool/virtual_mailboxes
Interestingly, the lists from dom2.ain appear in both /var/lib/mailman/data/aliases as well as in /var/lib/mailman/data/virtual-mailman, for example, for the list "nine":
aliases: nine-request: "|/usr/lib/mailman/mail/mailman request nine"
virtual-mailman:nine-request at dom2.ain nine-request
I tried /usr/sbin/sendmail -bv nine at dom2.ain and saw the following
Enclosed is the mail delivery report that you requested.
The Postfix program
<nine at dom.ain> (expanded from <nine at dom2.ain>): delivery
via local: delivers to command: /usr/lib/mailman/mail/mailman post nine
Any suggestions as to which postfix parameters to change would be greatly appreciated.
>>> Mark Sapiro <msapiro at value.net> 4/6/2007 1:51 PM >>>
Ira Goldstein wrote:
>Is there a way that mail to lists on dom2.ain appears as if it comes from
>dom2.ain, while keeping mail to lists at dom1.ain appearing as if it comes
If the list's host_name attributes on the General Options page ("Host
name this list prefers for email." near the bottom of the page)
reflect the correct virtual domain, then the issue is that your
outgoing MTA is rewriting the domain.
If the host_name attributes are not correct, then you need to look at
your add_virtualhost() directives and perhaps run fix_url (Mailman's
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mailman-Users