
Hi,
A few simple questions.
I want to run mail man as part of the main name space, i.e. listnames@nhm.ac.uk, however the machine it runs on will be called someother.nhm.ac.uk, and the alias I want for the web front end will be lists.nhm.ac.uk. Am I correct in doing this by setting the following variables in ~mailman/Mailman/mm_cfg.py
and that this will acheive the following
DEFAULT_EMAIL_HOST = 'nhm.ac.uk' DEFAULT_URL_HOST = 'lists.nhm.ac.uk' DEFAULT_URL_PATTERN = 'http://%s/mailman/' VIRTUAL_HOSTS.clear()
- When users go to http://lists.nhm.ac.uk, they will be able to view the lists
- mail from the lists will come from listname@nhm.ac.uk
Thanks
RB

Robert Bannocks wrote:
As long as this is followed by
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
This will require appropriate configuration of your webserver. Normally, you would go to a URL like http://lists.nhm.ac.uk/mailman/. If you want http://lists.nhm.ac.uk to go to the listinfo overview, but you want to access various Mailman CGIs as http://lists.nhm.ac.uk/mailman/admindb/listname, etc. then the above is OK and for Apache as an example, you would put something like the following in the lists.nhm.ac.uk section of httpd.conf
ScriptAlias /mailman/ /path/to/mailman/cgi-bin/ Alias /pipermail/ /path/to/mailman/archives/public/ RedirectMatch ^[/]+$ http://lists.nhm.ac.uk/mailman/listinfo
If you don't want to use 'mailman' in the URLs at all, e.g., go to URLs like http://lists.nhm.ac.uk/admindb/listname, you need something like
ScriptAlias / /path/to/mailman/cgi-bin/ Alias /pipermail/ /path/to/mailman/archives/public/ RedirectMatch ^[/]+$ http://lists.nhm.ac.uk/listinfo
And you need
DEFAULT_URL_PATTERN = 'http://%s/'
in mm_cfg.py.
Yes.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Robert Bannocks wrote:
As long as this is followed by
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
This will require appropriate configuration of your webserver. Normally, you would go to a URL like http://lists.nhm.ac.uk/mailman/. If you want http://lists.nhm.ac.uk to go to the listinfo overview, but you want to access various Mailman CGIs as http://lists.nhm.ac.uk/mailman/admindb/listname, etc. then the above is OK and for Apache as an example, you would put something like the following in the lists.nhm.ac.uk section of httpd.conf
ScriptAlias /mailman/ /path/to/mailman/cgi-bin/ Alias /pipermail/ /path/to/mailman/archives/public/ RedirectMatch ^[/]+$ http://lists.nhm.ac.uk/mailman/listinfo
If you don't want to use 'mailman' in the URLs at all, e.g., go to URLs like http://lists.nhm.ac.uk/admindb/listname, you need something like
ScriptAlias / /path/to/mailman/cgi-bin/ Alias /pipermail/ /path/to/mailman/archives/public/ RedirectMatch ^[/]+$ http://lists.nhm.ac.uk/listinfo
And you need
DEFAULT_URL_PATTERN = 'http://%s/'
in mm_cfg.py.
Yes.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Robert Bannocks