From owner-freebsd-stable Sun Nov 5 10:49: 2 2000 Delivered-To: freebsd-stable@freebsd.org Received: from post.it.helsinki.fi (post.it.helsinki.fi [128.214.205.24]) by hub.freebsd.org (Postfix) with ESMTP id 88E3937B4CF for ; Sun, 5 Nov 2000 10:48:57 -0800 (PST) Received: from mursu.pesa.fi (root@sirppi.helsinki.fi [128.214.205.27]) by post.it.helsinki.fi (8.11.1/8.11.0-SPAMmers-sod-off) with ESMTP id eA5ImsG27280; Sun, 5 Nov 2000 20:48:54 +0200 (EET) Received: (from poku@localhost) by mursu.pesa.fi (8.11.1/8.11.1) id eA5ImZm30185; Sun, 5 Nov 2000 20:48:35 +0200 (EET) (envelope-from poku@mursu.pesa.fi) To: Gregory Neil Shapiro Cc: Pilli , stable@FreeBSD.ORG Subject: Re: mail.local permissions References: <87pukb19r6.fsf@mursu.pesa.fi> <14852.52421.669235.2118@horsey.gshapiro.net> From: Pilli Date: 05 Nov 2000 20:48:35 +0200 In-Reply-To: Gregory Neil Shapiro's message of "Sat, 4 Nov 2000 18:58:13 -0800 (PST)" Message-ID: <87hf5mjlvg.fsf@mursu.pesa.fi> Lines: 28 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gregory Neil Shapiro writes: > 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. Ok, thanks. But would you believe, I *did* read the release notes I'm aware of: /usr/src/contrib/sendmail/RELEASE_NOTES. The above snippet isn't in that file. I found it in the URL Warner Losh provided, but haven't been able to locate it in the /usr/src hierachy. Am I missing something really really obvious? jussi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message