Date: Mon, 29 Aug 2005 17:54:11 -0700 From: Gary Kline <kline@tao.thought.org> To: Chuck Swiger <cswiger@mac.com> Cc: Gary Kline <kline@tao.thought.org>, freebsd Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: setting up 2 VIRTUAL_HOSTS under mailman. Message-ID: <20050830005411.GB42178@thought.org> In-Reply-To: <4313955D.9050507@mac.com> References: <20050829222107.GA41702@thought.org> <4313955D.9050507@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 29, 2005 at 07:08:13PM -0400, Chuck Swiger wrote: > Gary Kline wrote: > > If none of the mailman gurus here want to bother with it, > > ok, I'll re-singup to the mailman lists. I just want to > > set up two virtual lists. I can usually get more out of > > reading the src code than the documentation, and > > Mailman/Defaullts.py was > > > > VIRTUAL_HOSTS={} > > > > into which I added {'foo.thought.org', 'bar.thought.org'} > > The comment before explains: > > # Set up your virtual host mappings here. This is primarily used for the > # thru-the-web list creation, so its effects are currently fairly limited. > # Use add_virtualhost() call to add new mappings. The keys are strings as > # determined by Utils.get_domain(), the values are as appropriate for > # DEFAULT_HOST_NAME. > > ...so: > > VIRTUAL_HOMES={'foo.thought.org': 'realname.thought.org', > 'bar.thought.org': 'realname.thought.org'} > > ...where realname is the hostname of the listserver machine running > Mailman. You can probably use regexs like '*.thought.org' as a key, too. > Thanks for the datapoints. I'm new to mailinglists, mailman esp'ly, so don't understand the comment entirely. Is he saying that I can, via the web (http://sage.thought.org/mailman/listinfo) create a virtual host? grepping -r thru the code, I can see where my FQDN is. Hardcoded. (sage is my webserver.) Seems like hardcoding it either in Defaults or in mm_cfg is the better way of adding new mappings. Oh: {virt ":" real "," virt ":" real} is syntax I didn't know of. gary -- Gary Kline kline@thought.org www.thought.org Public service Unix
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050830005411.GB42178>