From owner-freebsd-ports Mon Oct 4 13:41:26 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 685561528C for ; Mon, 4 Oct 1999 13:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA12508; Mon, 4 Oct 1999 13:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ee.utah.edu (ee.elen.utah.edu [128.110.18.3]) by hub.freebsd.org (Postfix) with ESMTP id 6C4D014ED2 for ; Mon, 4 Oct 1999 13:30:39 -0700 (PDT) (envelope-from howard@ee.utah.edu) Received: by ee.utah.edu (Postfix, from userid 106) id E03895412; Mon, 4 Oct 1999 14:30:38 -0600 (MDT) Message-Id: <19991004203038.E03895412@ee.utah.edu> Date: Mon, 4 Oct 1999 14:30:38 -0600 (MDT) From: howard@ee.utah.edu Reply-To: howard@ee.utah.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/14128: Postfix config error Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14128 >Category: ports >Synopsis: Wrong group and mode on postdrop program >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 4 13:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Walt Howard >Release: FreeBSD 3.3-RELEASE i386 >Organization: University of Utah Electrical Engineering Dept >Environment: FreeBSD 3.3-RELEASE on an Intel server which is the mail host for a bunch of other machines plus itself. Postfix-19990606-pl02 in /usr/ports/mail >Description: FreeBSD configures postfix to run with the SGID postfix-script. This requires that the 'postdrop' program be installed sgid to the same group that can write on the /var/spool/postfix/maildrop directory. The FreeBSD-provided Makefile does not set the sgid bit on the postdrop program or set the correct group for it when installing. With postdrop configured this way, local mailers cannot deposit outgoing mail in the maildrop directory, so the remainder of the delivery mechanism cannot pick it up to deliver. >How-To-Repeat: cd /usr/ports/mail/postfix; make install; try to send local mail >Fix: Here is a diff on /usr/ports/mail/postfix/Makefile 66c66 < @for f in postalias postcat postconf postfix postkick \ --- > @for f in postalias postcat postconf postdrop postfix postkick \ 72,73d71 < ${INSTALL} -C -o root -g maildrop -m 2755 -s ${WRKSRC}/bin/postdrop \ < ${PREFIX}/sbin/postdrop >Release-Note: >Audit-Trail: >Unformatted: Walt Howard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message