[Mailman-Users] cgi/create and local use - trouble...
mark at msapiro.net
Wed Jun 20 04:39:35 CEST 2012
>I have a lan with several machines on it. I've installed MM 2.1.14 on the
>unix host 'genesis' which also runs my apache server. In order to browse to
>genesis' web server from within the lan, I have to use something like:
>Using the fqdn (genesis.domain.net or domain.net) just times out.
Why? This would seem to be a network configuration issue, and fixing it
would semm to be the "correct" solution to your problem.
Possibly an entry in /etc/hosts like
at least on the MM machine would be enough.
>So when I tried to use cgi/create (web) to create a list, I got:
>"Unknown virtual domain: genesis"
>So in mm_cfg.py I put the following:
>DEFAULT_EMAIL_HOST = 'genesis.domain.net'
>DEFAULT_URL_HOST = 'genesis.domain.net'
The above are correct.
The above line effectively replaces
which is probably not correct if DEFAULT_EMAIL_HOST =
'genesis.domain.net' is what you want, so should be removed.
>That solved the virtual host problem, but now, when using cgi/create to
>create the list "test" I get:
>'Illegal list name: test@' < note no domain name
is equivalent to
which is clearly not what you want.
If add_virtualhost is given only one argument (web host) the
corresponding email host is created by stripping everythig through the
first '.' from the argument.
>So I tried creating test with the fqdn and was told that the '@' was not
>allowed in the list name (makes sense). I was able to create the list using
>bin/newlist, bur it seems the newlist creates lists as private, not public,
What do you mean by private vs public? There should be no difference
except possibly for the web and email hostnames.
>So... does anyone know how this script can be used locally as well as from
>outside the lan?
Use only the fully qualified domain name and fix your network so it
works from inside the LAN.
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users