From owner-freebsd-ports@FreeBSD.ORG Mon Dec 28 09:57:20 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 E1633106566B for ; Mon, 28 Dec 2009 09:57:19 +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 5ED498FC14 for ; Mon, 28 Dec 2009 09:57:19 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 460FC34D451; Mon, 28 Dec 2009 09:57:00 +0000 (GMT) From: David Southwell Organization: Voice & Vision To: freebsd-ports@freebsd.org Date: Mon, 28 Dec 2009 09:57:00 +0000 User-Agent: KMail/1.12.4 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.4; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912280957.00211.david@vizion2000.net> Subject: Mailman - group mismatch error 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: Mon, 28 Dec 2009 09:57:20 -0000 Thanks in advance for any replies. Despite scouring the web and trying the many different solutions that seem to be offered to this problem I have be unable to fix it. Is there a way of tracing the cause? The entry in maillog does not say how to tweak postfix! Freebsd 7.2 p3 amd64 on Intel quad core I have run /usr/local/mailman dns1# ./bin/check_perms No problems found dns1# ./bin/genaliases dns1# ls -l /etc |grep aliases -rw-r--r-- 1 root wheel 5916 Dec 27 18:14 aliases -rw-r--r-- 1 root wheel 16384 Dec 27 18:48 aliases.db -rw-r--r-- 1 root wheel 2726 Dec 27 17:52 aliases~ dns1# ls -l ./data total 58 -rw-r----- 1 mailman mailman 41 Dec 19 17:46 adm.pw -rw-rw---- 1 mailman mailman 3760 Dec 28 09:40 aliases -rw-rw---- 1 mailman mailman 16384 Dec 28 09:40 aliases.db -rw-r--r-- 1 root mailman 10 Dec 28 09:23 last_mailman_version -rw-r--r-- 1 root mailman 14100 Dec 28 09:23 sitelist.cfg -rw-rw---- 1 root mailman 3284 Dec 28 09:40 virtual-mailman -rw-rw---- 1 mailman mailman 16384 Dec 28 09:40 virtual-mailman.db I tried to get the mail script changed to run --with-mail-gid=nobody but either I did not issue the command correctly or if I did it made no difference.! If someone could post the comand line they know to be correct I will try that again. Extract from maillog: TEST_15 Dec 28 09:25:41 dns1 postfix/pickup[33009]: 1278934D451: uid=1001 from= Dec 28 09:25:41 dns1 postfix/cleanup[44509]: 1278934D451: message- id=<200912280925.41000.david@vizion2000.net> Dec 28 09:25:41 dns1 postfix/qmgr[23289]: 1278934D451: from=, size=3166, nrcpt=2 (queue active) Dec 28 09:25:41 dns1 Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mailman", but the system's mail server executed the mail script as group "nobody". Try tweaking the mail server to run the script as group "mailman", or re-run configure, providing the command line option `--with-mail-gid=nobody'. Dec 28 09:25:41 dns1 postfix/local[44512]: 1278934D451: to=, relay=local, delay=0.07, delays=0.06/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Dec 28 09:25:41 dns1 postfix/local[44511]: 1278934D451: to=, relay=local, delay=0.08, delays=0.06/0.01/0/0.01, dsn=5.3.0, status=bounced (Command died with status 2: "/usr/local/mailman/mail/mailman post bps_comps_print_announce". Command output: Group mismatch error. Mailman expected the mail wrapper script to be executed as group "mailman", but the system's mail server executed the mail script as group "nobody". Try tweaking the mail server to run the script as group "mailman", or re-run configure, providing the command line option `-- with-mail-gid=nobody'. ) Dec 28 09:25:41 dns1 postfix/cleanup[44509]: 18F7434D456: message- id=<20091228092541.18F7434D456@dns1.vizion2000.net> Dec 28 09:25:41 dns1 postfix/bounce[44514]: 1278934D451: sender non-delivery notification: 18F7434D456 Dec 28 09:25:41 dns1 postfix/qmgr[23289]: 18F7434D456: from=<>, size=5719, nrcpt=1 (queue active) Dec 28 09:25:41 dns1 postfix/qmgr[23289]: 1278934D451: removed Dec 28 09:25:41 dns1 postfix/local[44512]: 18F7434D456: to=, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Dec 28 09:25:41 dns1 postfix/qmgr[23289]: 18F7434D456: removed Thanks David