From owner-freebsd-ports@FreeBSD.ORG Thu Apr 12 19:11:52 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F5DF16A404 for ; Thu, 12 Apr 2007 19:11:52 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 1597713C44C for ; Thu, 12 Apr 2007 19:11:51 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 7116F216C78; Thu, 12 Apr 2007 14:44:10 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 12 Apr 2007 14:44:06 -0400 X-Sasl-enc: jYPowiz1TqhNiFEpHsUosEUMihXeM/yUkV5ahc0p/mrp 1176403446 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 28E69242B9; Thu, 12 Apr 2007 14:44:06 -0400 (EDT) In-Reply-To: <200704120956.09647.david@vizion2000.net> References: <200704120956.09647.david@vizion2000.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3D4180FF-4970-4495-8B86-EDD2E2543D48@goldmark.org> Content-Transfer-Encoding: 7bit From: Jeffrey Goldberg Date: Thu, 12 Apr 2007 13:44:03 -0500 To: David Southwell X-Mailer: Apple Mail (2.752.2) Cc: ports@freebsd.org Subject: Re: Mailman setup X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 19:11:52 -0000 On Apr 12, 2007, at 11:56 AM, David Southwell wrote: > I am trying to setup mailman and am using apache22 with a number of > virtual > servers. All the virtual server roots are located on a seperate > physical > drives with the path to the root > being /usr2/virtualwebs/my_virtual_server_name/ > > After installed from /usr/ports/mail/mailman I find I have the > mailman files > in /usr/local/mailman. > > I am puzzled about what files are meant to be placed in the path of > the server > root..(presumably my_virtual_server_name/mailman). I have looked at > docs but > if there is info on this I have failed to find it. Should I have > compiled > with prefix=/usr2/virtualwebs/my_virtual_server_name/ or should > this be in > some config file? The short answer is apache's Alias and ScriptAlias directives. Here's a bit of mine ScriptAlias /mailman "/usr/local/mailman/cgi-bin" Alias /pipermail "/usr/local/mailman/archives/public" Alias /icons "/usr/local/mailman/icons" Take a look at /usr/local/share/doc/mailman/FreeBSD-post-install-notes That tell you the kind of thing that you need to do to configure apache to find these things. It will also point you to other mailman installation material in that directory. Below is a larger excerpt from my /usr/local/etc/apache22/extras/ httpd-vhosts.conf ## lists.shepard-families.org DocumentRoot /usr/local/www/apache22/data/lists.shepard-families.org/ ServerName lists.shepard-families.org ServerAdmin webmaster@goldmark.org AddDefaultCharset utf-8 ScriptAlias /mailman "/usr/local/mailman/cgi-bin" Alias /pipermail "/usr/local/mailman/archives/public" Alias /icons "/usr/local/mailman/icons" CustomLog /var/log/apache2/lists.shepard-families.org-access_log combined AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all order allow,deny allow from all Options +FollowSymLinks order allow,deny allow from all Ideally, it would be nice if the port deposited a sample configuration file in /usr/local/etc/apache-VERSION/Includes But I don't know how to do that with all of the different apache ports (which, I believe, differ in how they organize the configuration files). Good luck with this. As you can see I'm running mailman and apache22 (and postfix) from ports and am very happy with it. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/