Mark,
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 *
SMTPHOST='domain.com'
add_virtualhost('www.subdomain.domain.com','subdomain.domain.com')
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,
David
-----Original Message-----
From: Mark Sapiro [mailto:[EMAIL PROTECTED]
Sent: Monday, August 20, 2007 6:46 PM
To: David Buntin; [email protected]
Subject: Re: [Mailman-Users] virtual host problem - mail not originating
fromsubdomain
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 [EMAIL PROTECTED]
>
>- 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 [EMAIL PROTECTED]
>
>- 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
subdomain.domain.com
>appears as [EMAIL PROTECTED] <--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
>well.
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 <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp