MM 2.1rc1 Virtual hosting
I'm trying to setup virtual hosting on a test install of MM 2.1 rc1 ... my default list host is "midrange.com", and the virtual is "lists.fallingrock.net".
I've setup a virtual hosted list with the 'lists.fallingrock.net' domain, but when I send a message to the list I get odd results.
Some of the headers show the 'lists.fallingrock.net' comain, but some show 'midrange.com' ... here's a partially edited sample...
X-BeenThere: beta-testers@lists.fallingrock.net X-Mailman-Version: 2.1rc1 Precedence: list Reply-To: beta-testers@midrange.com List-Id: New Feature Beta Testers <beta-testers.lists.fallingrock.net> List-Unsubscribe: <http://lists.fallingrock.net/xxxxxxx/listinfo/beta-testers>,
<mailto:beta-testers-request@lists.fallingrock.net?subject=unsubscribe>
List-Archive: <http://lists.fallingrock.net/xxxxxxx/private/beta-testers> List-Post: <mailto:beta-testers@lists.fallingrock.net> List-Help: <mailto:beta-testers-request@lists.fallingrock.net?subject=help> List-Subscribe: <http://lists.fallingrock.net/xxxxxxx/listinfo/beta-testers>,
<mailto:beta-testers-request@lists.fallingrock.net?subject=subscribe>
Sender: beta-testers-bounces@midrange.com Errors-To: beta-testers-bounces@midrange.com
Here's a fragment of my mm_cfg.py file ...
DEFAULT_EMAIL_HOST = 'midrange.com' DEFAULT_URL_HOST = 'lists.midrange.com' DEFAULT_URL_PATTERN = 'http://%s/mailman2/' DEFAULT_HOST_NAME = DEFAULT_EMAIL_HOST DEFAULT_URL = DEFAULT_URL_PATTERN % DEFAULT_URL_HOST VIRTUAL_HOST_OVERVIEW = 1 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost('lists.fallingrock.net')
The list configuration has the host_name value set to 'lists.fallingrock.net'.
Any ideas why the reply-to, send, errors-to, etc, all have 'midrange.com' instead of 'lists.fallingrock.net'?
Thanks!
david
"Barry A. Warsaw" <barry@python.org> wrote in message news:15888.32018.207631.790602@gargle.gargle.HOWL...
DG> Any ideas why the reply-to, send, errors-to, etc, all have DG> 'midrange.com' instead of 'lists.fallingrock.net'?Your MTA is probably munging them.
Thanks! That's what I needed to know. I had to add the "limited_masquerade" feature to my sendmail config.
david
participants (2)
-
barry@python.org -
David Gibbs