[Mailman-Users] Need more guidance in getting Mailman lists runningon OS X Tiger Server

Mark Sapiro msapiro at value.net
Tue Jun 28 01:35:42 CEST 2005


Thomas Waters wrote:

>I tried to move our mailman lists from the older Panther Server to a  
>new install of tiger server, and I'm still not there.
>
>Postfix is working.  Mailman is working.  What isn't correct is the  
>Web UI for Mailman.
>
>The lists use the addresses somelist at pharmacy.pitt.edu, but the web  
>site has a URL of www/pharmacy.pitt.edu/mailman/somelist


I assume you mean www.pharmacy.pitt.edu/mailman/somelist


>In the mm_cfg.py file, email host is set to pharmacy.pitt.edu and URL  
>host set to www.pharmacy.pitt.edu.  Is this the correct settings?
>
>If I go to the Maillist admin web page, and try to create a new list,  
>I get error- unknown virtual host www.pharmacy.pitt.edu.
>
>I can create a list in the OS X Server Admin however.   I believe the  
>only pice that is "broken" is create a new list via the web UI.

It seems you haven't put

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

in mm_cfg.py following the definitions of DEFAULT_URL_HOST and
DEFAULT_EMAIL_HOST.

in mm_cfg.py you should have:

DEFAULT_EMAIL_HOST = 'pharmacy.pitt.edu'
DEFAULT_URL_HOST = 'www.pharmacy.pitt.edu'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

The VIRTUAL_HOSTS.clear() isn't absolutely necessary, but it removes
the presumably erroneous entry added in Defaults.py.

See http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp

You should not have any entries in mm_cfg.py for
DEFAULT_URL_PATTERN
DEFAULT_HOST_NAME
DEFAULT_URL

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list