Thanks for your offer to help.

For what it's worth, I created the lists after creating the subdomain and
virtual host. I created the lists with newlist and the appropriate --urlhost
and --email host options.

To be safe I tried running the fix_url script as you suggested with the same
results (no change.)

The contents of my mm_cfg.py are:

from Defaults import *
SMTP_LOG_EVERY_MESSAGE = ('smtp','%(msg_message-id)s smtp to %(listname)s
or %(#recips)d recips, completed in %(time).3f seconds. To=%(msg_to)s Return
Path=%(msg_return-path)s Sender=%(msg_sender)s Errors To=%(msg_errors-to)s')

The contents of Default.py that you requested are:

DEFAULT_EMAIL_HOST = 'domain.com'
DEFAULT_URL_HOST = 'domain.com'

Thanks again for your help,

-----Original Message-----
From: Mark Sapiro [mailto:msapiro at value.net]
Sent: Monday, August 20, 2007 6:46 PM
To: David Buntin; Mailman-Users at python.org
Subject: Re: [Mailman-Users] virtual host problem - mail not originating

David Buntin wrote:
Here's my problem with details changed to keep it generic:

- I have a server at www.domain.com <http://www.domain.com/> and host a
list with address list1 at domain.com.

- I have configured a subdomain for a customer at www.subdomain.domain.com
<http://www.subdomain.domain.com/> and host a list for that customer with
address list2 at subdomain.domain.com.

- I configured a Mailman virtual host per all the instructions and advice.
It works great with one exception.

- The "To:" field in all mail forwarded by Mailman from
appears as list2 at domain.com. <--notice the "subdomain" has been omitted.

- Upon closer inspection of the email headers, it appears the subdomain is
also omitted from the "Return-Path:", "Sender:", and "Errors-To:" fields as

Run the following command in Mailman's directory:

bin/withlist -l -r fix_url list2 -u www.subdomain.domain.com

If that doesn't fix it, report the contents of mm_cfg.py and the
settings for DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST from Defaults.py.

Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 8 | next ›
Discussion Overview
groupmailman-users @
postedAug 20, '07 at 10:21p
activeAug 21, '07 at 8:01p



site design / logo © 2022 Grokbase