Subject: bin/16034: postfix requires group postdrop by default
To: None <gnats-bugs@gnats.netbsd.org>
From: Kimmo Suominen <kim@tac.nyc.ny.us>
List: netbsd-bugs
Date: 03/24/2002 11:07:34
>Number:         16034
>Category:       bin
>Synopsis:       postfix requires group postdrop by default
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 24 08:08:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimmo Suominen
>Release:        NetBSD 1.5ZC 2002-03-21
>Organization:
>Environment:
System: NetBSD morgoth.gw.com 1.5ZC NetBSD 1.5ZC (GW-GENERIC) #1: Sat Mar 23 14:28:02 EST 2002 kim@nix.gw.com:/net/beowulf/src-1/NetBSD/cvsroot/src/sys/arch/i386/compile/GW-GENERIC i386
Architecture: i386
Machine: i386
>Description:
Postfix requires group "postdrop" in the setgid_group parameter if the
setting is not specified in the config explicitly.  It appears that in
NetBSD one is supposed to use "maildrop" instead.

I think the compiled-in value in the binaries that come with NetBSD (or
result from a build) should match the intended default for NetBSD.
>How-To-Repeat:
After updating a system postfix will complain about unknown group
"postdrop" even though "maildrop" is listed in /etc/group, and there
is no "postdrop" group in /usr/src/etc/group either.
>Fix:
The following configuration will stop the error messages:

 # setgid_group: The group for mail submission and queue management
 # commands.  This must be a group name with a numerical group ID that
 # is not shared with other accounts, not even with the Postfix account.
 #
 setgid_group = maildrop

However, a better fix would be to make this the compiled-in default.
>Release-Note:
>Audit-Trail:
>Unformatted: