On Tuesday, August 5, 2003, at 06:06 pm, Kirk R. Wythers wrote:
On Tue, 2003-08-05 at 16:40, Richard Barrett wrote:See the FAQ entry:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp
Run fix_url after you have changed mm_cfg.py and do not foget to mailmanctl restart.
I'm restarting mailmanctl and I it keeps setting the url to the uname of
the machine. Here is the output form fix_url
lorax[/usr/local/mailman/bin]$ ./withlist -l -r fix_url neighborsunited -v Importing fix_url... Running fix_url.fix_url()... Loading list neighborsunited (locked) Setting web_page_url to: http://lorax.forestry.umn.edu/mailman/ Setting host_name to: lorax.forestry.umn.edu Saving list Finalizing lorax[/usr/local/mailman/bin]$
Here is my mm_cfg (do I have to add the virtual host line?):
############################################### # Here's where we get the distributed defaults.
from Defaults import *
################################################## # Put YOUR site-specific settings below this line.
DEFAULT_HOST_NAME = 'neighborsunited.net' DEFAULT_URL = 'http://www.neighborsunited.net' MAILMAN_OWNER = '[EMAIL PROTECTED]' % DEFAULT_HOST_NAME
I cited the FAQ entry in my initial response because it says the following at the top:
<quote>
Changing hostnames
------------------
These changes should be made $prefix/Mailman/mm_cfg.py. The applicable MM config variables are described in $prefix/Mailman/Defaults.py. Typically something like what follows, at the end of your mm_cfg.py, will do the trick:
DEFAULT_EMAIL_HOST = 'your.mailhostname.tld' DEFAULT_URL_HOST = 'your.webhostname.tld' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
and some more add_virtualhost(URL_FQDN, EMAIL_FQDN) if you are using virtual hosts.
</quote>
I am at a loss to find any simpler way of expressing what needs to be done.
If you do this then fix_url.py will probably work as planned!
On Tuesday, August 5, 2003, at 05:15 pm, Kirk R. Wythers wrote:
-- Kirk R. Wythers Department of Forest Resources Tel: 612.625.2261 University of Minnesota Fax: 612.625.521 1530 Cleveland Ave. N Email: [EMAIL PROTECTED] Saint Paul, MN 55108 USA
------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] 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/
This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org