[Mailman-Users] DEFAULT_HOSTNAME?
Paul Cox
paul at coxcentral.com
Wed Sep 26 02:24:32 CEST 2001
On Monday, Sep 24, 2001, Eric Pretorious wrote:
> I've just spent most of an entire evening trying to understand where
> Mailman (i.e., the scripts that build Mailman - configure & make - and
> Mailman itself) gets its identity from. I'm attempting to install Mailman
> on the host charlie. charlie is the web host for pretorious.net and
> funkymonkeybutt.com. A reverse-DNS lookup of charlie's IP address
> will return pretorious.net. Mailman will only be accessible via
> www.funkymonkey.com (once I get it installed and configured correctly).
Why don't you just edit mm_cfg.py to contain the hostname that you want?
It's easy... here's the relevant part of mine:
=====
###############################################
# Here's where we get the distributed defaults.
from Defaults import *
##################################################
# Put YOUR site-specific settings below this line.
MAILMAN_URL = 'http://www.list.org/'
# Site-specific settings
DEFAULT_HOST_NAME = 'coxcentral.com'
# DEFAULT_URL must end in a slash!
DEFAULT_URL = 'http://lists.coxcentral.com/mailman/'
PUBLIC_ARCHIVE_URL = '/archives'
MAILMAN_OWNER = 'mailman-owner@%s' % DEFAULT_HOST_NAME
=====
Note that you have to have MAILMAN_OWNER in there (even though it looks
the same as the default) because you're changing the DEFAULT_HOST_NAME.
--
Paul Cox <paul at coxcentral dot com>
Kernel: 2.4.7-12.3mdk - Uptime: 7 days 12 hours 24 minutes.
More information about the Mailman-Users
mailing list