Mike Brown wrote:
On Mon, Jul 14, 2008 at 07:04:46PM -0700, Mark Sapiro wrote:
Put the following in mm_cfg.py
DEFAULT_URL_HOST = 'vidiot.com'
DEFAULT_EMAIL_HOST = 'vidiot.com'
Those two lines were there.
VIRTUAL_HOSTS.clear()
Don't see this mentioned in the Defaults.py file.
It's not. What's in Defaults.py is
VIRTUAL_HOSTS = {}
and
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
These two things initialize VIRTUAL_HOSTS to an empty dictionary and
then add the DEFAULT_URL_HOST: DEFAULT_EMAIL_HOST entry.
When you change DEFAULT_URL_HOST and/or DEFAULT_EMAIL_HOST in mm_cfg.py,
you want to clear the VIRTUAL_HOSTS dictionary and start over. Granted,
Defaults.py only mentions putting the add_virtualhost in mm_cfg.py, and
it isn't strictly necessary to remove the original entry from
Defaults.py, but I think it's good to do. See <http://wiki.list.org/x/gIA9>.
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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