From owner-freebsd-questions@FreeBSD.ORG Mon Aug 29 23:08:01 2005 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F0FA16A41F for ; Mon, 29 Aug 2005 23:08:01 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D69FF43D48 for ; Mon, 29 Aug 2005 23:08:00 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 152D45C53; Mon, 29 Aug 2005 19:08:00 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17107-09; Mon, 29 Aug 2005 19:07:58 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-79-217.ny325.east.verizon.net [68.161.79.217]) by pi.codefab.com (Postfix) with ESMTP id 222B05C2F; Mon, 29 Aug 2005 19:07:56 -0400 (EDT) Message-ID: <4313955D.9050507@mac.com> Date: Mon, 29 Aug 2005 19:08:13 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Kline , freebsd Questions References: <20050829222107.GA41702@thought.org> In-Reply-To: <20050829222107.GA41702@thought.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: Subject: Re: setting up 2 VIRTUAL_HOSTS under mailman. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 23:08:01 -0000 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. -- -Chuck