From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 15 16:00:19 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EE3B1065670 for ; Wed, 15 Jun 2011 16:00:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 771898FC0A for ; Wed, 15 Jun 2011 16:00:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5FG0JwE001057 for ; Wed, 15 Jun 2011 16:00:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5FG0JjJ001056; Wed, 15 Jun 2011 16:00:19 GMT (envelope-from gnats) Resent-Date: Wed, 15 Jun 2011 16:00:19 GMT Resent-Message-Id: <201106151600.p5FG0JjJ001056@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hilko Meyer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E80B1065670 for ; Wed, 15 Jun 2011 15:54:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id F2AD88FC19 for ; Wed, 15 Jun 2011 15:54:11 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5FFsB7p035886 for ; Wed, 15 Jun 2011 15:54:11 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5FFsBQ6035869; Wed, 15 Jun 2011 15:54:11 GMT (envelope-from nobody) Message-Id: <201106151554.p5FFsBQ6035869@red.freebsd.org> Date: Wed, 15 Jun 2011 15:54:11 GMT From: Hilko Meyer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157904: mailman doesn't work after update to 2.1.14_3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 16:00:19 -0000 >Number: 157904 >Category: ports >Synopsis: mailman doesn't work after update to 2.1.14_3 >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 15 16:00:19 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hilko Meyer >Release: 7.3 >Organization: >Environment: FreeBSD XXX 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #2: Thu Mar 10 18:47:41 CET 2011 hilti@XXX:/usr/obj/usr/src/sys/KIRK i386 >Description: After the update from 2.1.14_1 to 2.1.14_3 the mailing lists doesn't work anymore. A mail to the listaddress bounces with: Group mismatch error. Mailman expected the mail wrapper script to be executed as group "@MAIL_GROUP@", but the system's mail server executed the mail script as group "mailnull". Try tweaking the mail server to run the script as group "@MAIL_GROUP@", or re-run configure, providing the command line option `--with-mail-gid=mailnull'. The webinterface is broken too: Mailman CGI error!!! The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog: Group mismatch error. Mailman expected the CGI wrapper script to be executed as group "@CGI_GROUP@", but the system's web server executed the CGI script as group "www". Try tweaking the web server to run the script as group "@CGI_GROUP@", or re-run configure, providing the command line option `--with-cgi-gid=www'. Some debuging info: root@kirk:/usr/ports/mail/mailman> make showconfig ===> The following configuration options are available for mailman-2.1.14_3: SENDMAIL=on "for use with sendmail" EXIM3=off "for use with exim3" EXIM4=off "for use with exim4" POSTFIX=off "for use with postfix" COURIER=off "for use with courier" CHINESE=off "support for Chinese mailing lists" HTDIG=off "htdig integration patches" NAMAZU2=off "make private archives searchable with namazu2" root@kirk:/usr/ports/mail/mailman> make configure ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for mailman-2.1.14_3 You may change the following build options: MM_USERNAME=mailman The username of the Mailman user. MM_USERID=91 The user ID of the Mailman user. MM_GROUPNAME=mailman The group to which the Mailman user will belong. MM_GROUPID=MM_USERID The group ID for the Mailman user. MM_DIR=mailman Mailman will be installed in /usr/local/mailman. CGI_GID=www The group name or id under which your web server executes CGI scripts. IMGDIR=www/icons Icon images will be installed in /usr/local/www/icons. ===> Extracting for mailman-2.1.14_3 => SHA256 Checksum OK for mailman/mailman-2.1.14.tgz. ===> Patching for mailman-2.1.14_3 ===> Applying FreeBSD patches for mailman-2.1.14_3 ===> mailman-2.1.14_3 depends on file: /usr/local/bin/python2.7 - found ===> mailman-2.1.14_3 depends on file: /usr/local/bin/autoconf-2.68 - found ===> Configuring for mailman-2.1.14_3 checking for --with-python... /usr/local/bin/python2.7 checking Python interpreter... /usr/local/bin/python2.7 checking Python version... 2.7.1 checking Python's email package... ok checking Japanese codecs... ok checking Korean codecs... ok checking that Python has a working distutils... yes checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether make sets $(MAKE)... yes checking for true... /usr/bin/true checking for --without-gcc... no checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether #! works in shell scripts... yes checking for --with-var-prefix... no checking for --with-permcheck... no checking for --with-username... mailman checking for user name "mailman"... okay checking for --with-groupname... mailman checking for group name "mailman"... okay checking permissions on /usr/local/mailman... skipped checking for mail wrapper group; i.e. --with-mail-gid... mailnull checking for CGI wrapper group; i.e. --with-cgi-gid... www checking for CGI extensions... no checking for --with-mailhost... no checking for --with-urlhost... no checking for default mail host name... XXX checking for default URL host component... XXX checking for strerror... yes checking for setregid... yes checking for syslog... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for vsnprintf... yes configure: creating ./config.status >How-To-Repeat: >Fix: root@kirk:/usr/ports/mail/mailman> grep -r MAIL_GROUP * [...] work/mailman-2.1.14/src/Makefile.in:MAIL_GROUP= @MAIL_GROUP@ [...] work/mailman-2.1.14/src/Makefile:MAIL_GROUP= @MAIL_GROUP@ root@kirk:/usr/ports/mail/mailman> grep -r CGI_GROUP * [...] work/mailman-2.1.14/src/Makefile.in:CGI_GROUP= @CGI_GROUP@ [...] work/mailman-2.1.14/src/Makefile:CGI_GROUP= @CGI_GROUP@ I replaced there @MAIL_GROUP@ manualy with mailnull and @CGI_GROUP@ with www. That dirty hack fixed the problem for me. >Release-Note: >Audit-Trail: >Unformatted: