From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 23:20:20 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97F4E16A469 for ; Wed, 1 Aug 2007 23:20:20 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (crsd-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2d5::2]) by mx1.freebsd.org (Postfix) with ESMTP id 97C5213C465 for ; Wed, 1 Aug 2007 23:20:19 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l71NK2Br038202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Aug 2007 03:20:08 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l71NK2MD038201; Thu, 2 Aug 2007 03:20:02 +0400 (MSD) (envelope-from yuri@darklight.org.ru) From: Yuri Pankov To: Geo In-Reply-To: <056501c7d48e$34eefab0$e50010ac@gkt> References: <056501c7d48e$34eefab0$e50010ac@gkt> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8VOpMHKyAQdOw7Dm3+cw" Date: Thu, 02 Aug 2007 03:20:02 +0400 Message-Id: <1186010402.1237.6.camel@darklight.org.ru> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Thu, 02 Aug 2007 03:20:08 +0400 (MSD) Cc: freebsd-questions@freebsd.org Subject: Re: problem in Manmail Makefile? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 23:20:20 -0000 --=-8VOpMHKyAQdOw7Dm3+cw Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-08-02 at 02:49 +0400, Geo wrote: > Mailman Makefile contains: > ----------------------------------=20 > .if defined(WITH_SENDMAIL) > MAIL_GID?=3D mailnull > .endif > ------------------------------------=20 > But after installation (FreeBSD 6.2, /usr/ports/mail/mailman) when I sen= d > any message > to mailman list I receive the error: > ----------------------------------- > Group mismatch error. Mailman expected the mailwrapper script to be > executed as group "mailman", but the system's mail server executed the m= ail > script as group "mailnull". Try tweaking the mail server to run the scr= ipt > as group "mailman", or re-run configure, providing the command line opti= on > `--with-mail-gid=3Dmailnull'. > -------------- >=20 > What (and how!) can I do to set MAIL_GID=3D mailnull? >=20 > If I understand I'll describe this in detail for users! >=20 Are you sure that you have selected Sendmail in `make config' stage? Check that you have the same output (and if it's indeed the same, then there's really something wrong with args passed to configure by port): [/usr/ports/mail/mailman]> make -V WITH_SENDMAIL true [/usr/ports/mail/mailman]> make -V MAIL_GID mailnull [/usr/ports/mail/mailman]> make -V CONFIGURE_ARGS --prefix=3D/usr/local/mailman --with-python=3D/usr/local/bin/python2.5 --with-username=3Dmailman --with-groupname=3Dmailman --with-mail-gid=3Dmailnull --with-cgi-gid=3Dwww HTH, Yuri --=-8VOpMHKyAQdOw7Dm3+cw Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGsRUieoAklVFrLdgRAvdoAJsEAI3+Jt9K3aIHSundKEyDObWxtgCeKmkb ptDJjjFY8xFKG6XfEJD5cVI= =bKuw -----END PGP SIGNATURE----- --=-8VOpMHKyAQdOw7Dm3+cw--