LuKreme <***@kreme.com>
Date: Sat, 30 May 2009 14:55:44 -0600
Post by LuKremePost by Mark SapiroPost by LuKreme$ bin/newlist -l en --urlhost=mailman.covisp.net --
Create a new, unpopulated mailing list.
Usage: bin/newlist [options] [listname [listadmin-addr [admin-
password]]]
[ bunch of stuff]
The short answer is DEFAULT_EMAIL_HOST must be a fully qualified doman
name.
kreme.com _IS_ a fqdn. Or are we talking about a setting somwhere
else?
Yes, and this is really a bug in newlist in that you supplied an email
host, but it didn't put it in the initial Create() method call, so
create uses DEFAULT_EMAIL_HOST (from Defaults.py or mm_cfg.py) as the
domain to validate the list posting address. This setting is
DEFAULT_EMAIL_HOST = 'akane'.
Post by LuKremeI do have several lists up and running, but they were all
created years ago and have been pretty much left alone. If I trey to
Error: Unknown virtual host: mailman.covisp.net
This is because you went to the create page via a URL with hostname
mailman.covisp.net, and that name is not in your VIRTUAL_HOSTS
dictionary. See below.
Post by LuKremePost by Mark SapiroThe underlying issue is the MailList.Create() method as called by
bin/newlist validates the list name by checking that
So I need to create the listname aliases before the list is created?
No. the check is for 'syntactically valid', not 'deliverable'
Post by LuKremePost by Mark SapiroThis check in
turn requires at least one dot '.' in the domain part.
###############################################
# Here's where we get the distributed defaults.
from Defaults import *
##################################################
# Put YOUR site-specific settings below this line.
VERP_CONFIRMATIONS = Yes
VERP_PASSWORD_REMINDERS = Yes
VERP_PERSONALIZED_DELIVERIES = Yes
VERP_DELIVERY_INTERVAL = 1
ADMIN_MEMBER_CHUNKSIZE = 100
OWNERS_CAN_ENABLE_PERSONALIZATION = Yes
ADMINDB_PAGE_TEXT_LIMIT = 4096
OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes
HOLD_MESSAGES_AS_PICKLES = No
You also want (guessing based on above)
DEFAULT_URL_HOST = 'mailman.covisp.net'
DEFAULT_EMAIL_HOST = 'kreme.com'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
because the Defaults.py entries for these are not correct, and possibly
more add_virtualhost('www.example.com', 'example.com') entries if you
have other domains.
--
Mark Sapiro <***@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan