From owner-freebsd-bugs Sat Mar 1 20:56:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA21148 for bugs-outgoing; Sat, 1 Mar 1997 20:56:15 -0800 (PST) Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA21112 for ; Sat, 1 Mar 1997 20:55:58 -0800 (PST) Received: (from henrich@localhost) by crh.cl.msu.edu (8.8.5/8.8.4) id XAA02996; Sat, 1 Mar 1997 23:54:52 -0500 (EST) From: Charles Henrich Message-Id: <199703020454.XAA02996@crh.cl.msu.edu> Subject: Re: mail.local modifications? To: bde@zeta.org.au (Bruce Evans) Date: Sat, 1 Mar 1997 23:54:52 -0500 (EST) Cc: peter@spinner.DIALix.COM, freebsd-bugs@FreeBSD.org, joerg_wunsch@uriah.heep.sax.de, mpp@freefall.freebsd.org In-Reply-To: <199703020301.OAA05452@godzilla.zeta.org.au> from Bruce Evans at "Mar 2, 97 02:01:58 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > >I'd hate to throw fuel on the fire, but I'd prefer that we replaced the > >mail.local sources with a .PATH to src/usr.sbin/sendmail/mail.local/*.. > > > >The change you describe is already present there (and has been for quite > >some time), along with a number of other enhancements. Unfortunately, > >there is some portability cruft in there, but at least it's being reasonably > >actively maintained. > > It's also in Lite2. Berkeley ids for mail.local.c: > > -current: 8.6 > Lite2: 8.22 > sendmail: 8.34 > > All the versions make heavy work of restoring the original euid. > The Lite2 and senddmail versions seem to miss restoring it in at least > one case (when close(mfbd) fails). The easiest way to restore it is to > use seteuid(0) after deliver(). Im happy with any change as long as the features get added :) It does seem to make most sense to tie it to sendmail which mail.local is sort of a complimentary component.. -Crh Charles Henrich Michigan State University henrich@msu.edu http://pilot.msu.edu/~henrich