From owner-freebsd-ports@FreeBSD.ORG Fri Apr 13 20:50:47 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 DA3A416A402 for ; Fri, 13 Apr 2007 20:50:47 +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 9C92213C4C1 for ; Fri, 13 Apr 2007 20:50:47 +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 EFF31217171; Fri, 13 Apr 2007 16:50:47 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 13 Apr 2007 16:50:47 -0400 X-Sasl-enc: ZpXgEZJk9CZ3vxZhsaqn5qZyVbk/SNsOjAu3b7tcMWTE 1176497447 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id EEEDE21E6C; Fri, 13 Apr 2007 16:50:46 -0400 (EDT) In-Reply-To: <200704131042.57321.david@vizion2000.net> References: <200704130517.20063.david@vizion2000.net> <200704131042.57321.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: <4C1BB7A9-D71D-4022-B526-6533F2809D53@goldmark.org> Content-Transfer-Encoding: 7bit From: Jeffrey Goldberg Date: Fri, 13 Apr 2007 15:50:46 -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: Fri, 13 Apr 2007 20:50:47 -0000 On Apr 13, 2007, at 12:42 PM, David Southwell wrote: > The path to my virtual webs is > /usr2/virtualwebs/my.virtual.site.name > > In attempting to create the first list I received no advice email > from the > list but did find the following errors in httpd-errors-log > > [Fri Apr 13 10:16:55 2007] [error] [client 192.168.15.1] File does not > exist: /usr2/virtualwebs/vizion2000.net/usr2, referer: > http://www.vizion2000.net/mailman/create > [Fri Apr 13 10:16:55 2007] [error] [client 192.168.15.1] File does not > exist: /usr2/virtualwebs/vizion2000.net/usr2, referer: > http://www.vizion2000.net/mailman/create Those errors are probably not related to why you received no mail. > I then tried: > [root@dns1 /usr/local/mailman]# fgrep -R usr2 ./* > ./Mailman/mm_cfg.py:IMAGE_LOGOS = '/usr2/virtualwebs/icons/' > Binary file ./Mailman/mm_cfg.pyc matches > ./Mailman/mm_cfg.py~:IMAGE_LOGOS = '/usr2/virtualwebs/icons/' > [root@dns1 /usr/local/mailman]# > > After some digging around I find that mailman is looking for the > icons in > http://www.vizion2000.net/usr2/virtualwebs/icons/ rather than in > /usr2/virtualwebs/icons > > My mm_cfg.py has the following entry line: > IMAGE_LOGOS = '/usr2/virtualwebs/icons/' > so it seems as though the path is being read as relative > to /usr2/virtualwebs/vizion2000.net rather than as an absolute path. Yes, that is what is described in the comments in Defaults.py before the IMAGE_LOGOS setting. > How can I change this behaviour? Why do you wish to change it? Just leave it as the default. Also recall that you should have something like Alias /icons "/usr/local/mailman/icons" in the virtual host configuration for apache. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/