From owner-freebsd-stable Sat Nov 4 18:58:28 2000 Delivered-To: freebsd-stable@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id CA7A437B4E5 for ; Sat, 4 Nov 2000 18:58:23 -0800 (PST) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.11.2.Beta0/8.11.2.Beta0) id eA52wEN88668; Sat, 4 Nov 2000 18:58:14 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14852.52421.669235.2118@horsey.gshapiro.net> Date: Sat, 4 Nov 2000 18:58:13 -0800 (PST) From: Gregory Neil Shapiro To: Pilli Cc: stable@FreeBSD.ORG Subject: Re: mail.local permissions In-Reply-To: <87pukb19r6.fsf@mursu.pesa.fi> References: <87pukb19r6.fsf@mursu.pesa.fi> X-Mailer: VM 6.75 under 21.2 (beta36) "Notus" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG reissell> Just cvsup'ed to 4.2-BETA and sendmail's local mailer refused to reissell> play ball. After a little hair-pulling I noticed the permissions reissell> of /usr/libexec/mail.local lacked the setuid bit. Mail.local reissell> would return an error (75 if I recall) everytime it was called reissell> because it didn't have permissions to write to reissell> /var/mail/so-and-so. Please read the release notes when upgrading: mail.local(8) is no longer installed as a set-user-id binary. If you are using a /etc/mail/sendmail.cf from the default sendmail.cf included with FreeBSD any time after 3.1.0, you are fine. If you are using a hand-configured sendmail.cf and mail.local for delivery, check to make sure the F=S flag is set on the Mlocal line. Those with .mc files who need to add the flag can do so by adding the following line to their your .mc file and regenerating the sendmail.cf file: MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl Note that FEATURE(`local_lmtp') already does this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message