[Mailman-Users] Virtual hosts question
Rob
pennguin at mac.com
Thu Jan 13 20:14:06 CET 2011
Hi,
I'm just turning virtual hosts on for the first time in a stable installation of Mailman 2.1.13 (the distribution provided with Mac OS X Server 10.6)
I rewrote my mm_cfg.py file like this:
# Put YOUR site-specific settings below this line.
MTA = 'Postfix'
DEFAULT_EMAIL_HOST = 'acvr.org'
DEFAULT_URL_HOST = 'www.acvr.org'
VIRTUAL_HOST_OVERVIEW='ON'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost(www.lists.eavdi.org, lists.eavdi.org)
add_virtualhost(www.lists.ecvdi.org, lists.ecvdi.org)
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'
ALLOW_SITE_ADMIN_COOKIES = Yes
VERP_PROBES = Yes
VERP_PASSWORD_REMINDERS = Yes
VERP_PERSONALIZED_DELIVERIES = Yes
VERP_DELIVERY_INTERVAL = 1
VERP_CONFIRMATIONS = Yes
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
OWNERS_CAN_CHANGE_MEMBER_PASSWORDS = Yes
IMAGE_LOGOS = '/icons/'
But when I use mailmanctl to restart I get this error:
Traceback (most recent call last):
File "./mailmanctl", line 106, in <module>
from Mailman import mm_cfg
File "/usr/share/mailman/Mailman/mm_cfg.py", line 50, in <module>
add_virtualhost(www.lists.eavdi.org, lists.eavdi.org)
NameError: name 'www' is not defined
Thanks in advance for your help.
-Rob McLear
More information about the Mailman-Users
mailing list