billc wrote: > >What's the correct syntax for Virtual_Hosts {} in Defaults.py? I keep >getting errors when I try to put something there.
As pointed out by Dragon in another reply, don't change Defaults.py. Override or supplement settings in mm_cfg.py instead. To answer your question, VIRTUAL_HOSTS is a dictionary with web host as keys and mail hos as vallues, but you don't need or want to edit it directly. You use add_virtualhost() as in add_virtualhost('www.example.com', 'example.com') To add entries to VIRTUAL_HOSTS. VIRTUAL_HOSTS is initialized in Defaults.py with add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) If these values are correct, just add more virtual hosts with add_virtualhost() in mm_cfg.py. If these values need to be changed, change them in mm_cfg.py with DEFAULT_URL_HOST = '...' DEFAULT_EMAIL_HOST = '...' then clear the old values from VIRTUAL_HOSTS with VIRTUAL_HOSTS.clear() and add the new values with add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) followed by add_virtualhost() lines for the other domains. >I need to set moderation of new accounts (including any which are >subscribed and confirmed from here forward) to OFF. Where is that >setting? I see the one to toggle moderation on/off for all current >subscribers on the main Membership List page, but that doesn't appear >to affect new subscribers. Answered by Dragon in another reply. >Despite "Mod" being unchecked, all posts from my test subscribers >result in an email to the list admin with: > > As list administrator, your authorization is requested for the > following mailing list posting: > > List: [EMAIL PROTECTED] > From: [EMAIL PROTECTED] > Subject: And another test > Reason: Message has implicit destination > >What does that mean? Answered by Dragon in another reply. -- 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://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