[Mailman-Developers] MAILMAN_SITE_LIST

Richard Barrett R.Barrett@ftel.co.uk
Thu, 20 Dec 2001 16:07:09 +0000


Looking at the Defaults.py on my MM 2.1a3 test installation I notice that 
it reads as follows:

# Site-specific settings
DEFAULT_EMAIL_HOST = 'mymachine.mydomain.co.uk'
DEFAULT_URL_HOST = 'mymachine.mydomain.co.uk'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

# For backwards compatibility.  Note: DEFAULT_URL_PATTERN must end in a slash!
DEFAULT_HOST_NAME = DEFAULT_EMAIL_HOST
DEFAULT_URL       = DEFAULT_URL_PATTERN % DEFAULT_URL_HOST

Adding a definition for DEFAULT_EMAIL_HOST='mysite.net' to your mm_cfg.py 
may be worthwhile.

If you are creating your new lists through the web rather than with 
bin/newlist I think you also need a call to add_virtualhost (see comments 
in Defaults.py) or redefine VIRTUAL_HOSTS = {} in mm_cfg.py

Hope this helps

At 11:45 20/12/2001 -0300, Rodolfo Pilas wrote:
>El Thu, 20-12-2001 a las 11:00, Richard Barrett escribi?
>
> > >Can you tell me how to have  mailman@mysite.net  (without "www") and a
> > >default host_name  "mysite.net"  again?
>
> > 1. do you get the same problem with a newly created lists?
>
>I have just create a new list, both problems are there:
>- listinfo shows  testlist@www.mysite.net  as address of the list
>- host_name  shows   www.mysite.net
>
> > 2. what is the effect of resetting the list's host_name attribute on the
> > General Options page of the admin web GUI for the list?
>
>Ok, I have just change it to   mysite.net  and now  listinfo and
>host_name has mysite.net only.  This resolves a particular list, but
>the"site-wide" mailing list ("mailman") are grong displayed at  general
>listinfo page.
>
>You can see my site at:
>- General listinfo page: http://www.espaciolibre.net/cgi-bin/listinfo
>where you see mailman@www.espaciolibre.net
>
>- Particular list mailman:
>http://www.espaciolibre.net/cgi-bin/listinfo/mailman
>where I modified the host_name attribute to espaciolibre.net and you see
>mailman@espaciolibre.net
>
>
>I confirm you again that this problem is into the MM 2.1a3  and not into
>2.1a2.  Please, confirm me if your require additional test.
>
>--
>
>  Rodolfo Pilas                Quien los puso a estos tipos donde estan,
>  rodolfo@linux.org.uy         Quien los deja seguir en su lugar,
>  http://rodolfo.pilas.net     Quien los baja ahora de su altar,
>  ICQ #17461636                Quien les paga para que hagan lo que haran
>  http://xtralinux.org         -=# Apocalipsis Now % Cuarteto de Nos #=-
>
>   Public GnuPG key: http://www.keyserver.net 1024D/57153363 2001-06-02
>   key fingerprint = DAAE 3246 3F7D A420 B7A0  48A5 D120 C773 5715 3363