Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  4 Oct 1999 14:30:38 -0600 (MDT)
From:      howard@ee.utah.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14128: Postfix config error
Message-ID:  <19991004203038.E03895412@ee.utah.edu>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991004203038.E03895412>