From owner-freebsd-ports@FreeBSD.ORG Wed Dec 30 09:28:53 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C9C31065693; Wed, 30 Dec 2009 09:28:53 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id B8B858FC26; Wed, 30 Dec 2009 09:28:52 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id D40B834D461; Wed, 30 Dec 2009 09:28:29 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org, glarkin@freebsd.org Date: Wed, 30 Dec 2009 09:28:29 +0000 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.4; amd64; ; ) References: <200912291421.16006.david@vizion2000.net> <200912291856.58383.david@vizion2000.net> <4B3A52B6.9010909@FreeBSD.org> In-Reply-To: <4B3A52B6.9010909@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912300928.29770.david@vizion2000.net> Cc: Boris Kochergin Subject: Re: mailman web access to archives failure: 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: Wed, 30 Dec 2009 09:28:53 -0000 > David Southwell wrote: > [...] > > >> Hi David, > >> > >> This directory has a problem if mailman runs its scripts with uid/gid of > >> www/www: > >> > >> drwxrws--- 10 mailman mailman 512 Dec 28 15:45 > >> /usr/local/mailman/archives/private > >> > >> "Other" users (including www) are prevented from entering that > >> directory. > >> > >> Have you tried running the check_perms scripts from the mailman package? > >> That may help you determine where the problem is. More information can > >> be found here, along with some specific info about the permissions for > >> the private directory: http://bit.ly/7Ht0rS > >> > >> Hope that helps, > >> Greg > > > > Yes I did run the perms script - but that was before I made the changes > > to httpd.conf . I have just rerun check_perms and all is now working!!! > > > > You guys have been brilliant - it looks as though the problem was a > > combination of errors in ownership of mailman/archives, plus > > mal-configured httpd.conf and my apache virtual configuration files. Once > > I got thtose soirted out as a result of all the advice I received, the > > problem has gone away. > > > > Many thanks > > > > David > > Beautiful - glad to hear it! > > Cheers, > Greg > Thanks Greg One thing I need to mention here.. when I reviewed the history of this the one thing that definitely contributed to the error roll was the instructions to add mailman aliases to /etc/aliases. I think this was where the slide into chaos began because I failed to realise that those instructions (which came from creating a mail list) should not have been heeded! When the aliases are put into /etc/aliases the owner:group combination causes a the perms failure. Not realising this was the root cause, I tried to correct the situation, but instead made it a lot worse!*******************!!! Here is one example of the auto generated message for the list: **************************************************************************** Mailing list creation request for list bps_comps_print_announce From: mailman-owner@vizion2000.net To: mailman-owner@vizion2000.net The mailing list `bps_comps_print_announce' has been created via the through- the-web interface. In order to complete the activation of this mailing list, the proper /etc/aliases (or equivalent) file must be updated. The program `newaliases' may also have to be run. Here are the entries for the /etc/aliases file: bps_comps_print_announce: "|/usr/local/mailman/mail/mailman post bps_comps_print_announce" bps_comps_print_announce-admin: "|/usr/local/mailman/mail/mailman admin bps_comps_print_announce" bps_comps_print_announce-bounces: "|/usr/local/mailman/mail/mailman bounces bps_comps_print_announce" bps_comps_print_announce-confirm: "|/usr/local/mailman/mail/mailman confirm bps_comps_print_announce" bps_comps_print_announce-join: "|/usr/local/mailman/mail/mailman join bps_comps_print_announce" bps_comps_print_announce-leave: "|/usr/local/mailman/mail/mailman leave bps_comps_print_announce" bps_comps_print_announce-owner: "|/usr/local/mailman/mail/mailman owner bps_comps_print_announce" bps_comps_print_announce-request: "|/usr/local/mailman/mail/mailman request bps_comps_print_announce" bps_comps_print_announce-subscribe: "|/usr/local/mailman/mail/mailman subscribe bps_comps_print_announce" bps_comps_print_announce-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe bps_comps_print_announce" ************************************************************************* Thanks again everyone