Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!philabs!sdcsvax!sdcattb!sdcarl!rusty
From: rusty@sdcarl.UUCP
Newsgroups: net.unix-wizards
Subject: Re: /bin/mail
Message-ID: <4282@sdcarl.UUCP>
Date: Mon, 13-Jun-83 11:46:37 EDT
Article-I.D.: sdcarl.4282
Posted: Mon Jun 13 11:46:37 1983
Date-Received: Tue, 14-Jun-83 16:29:22 EDT
Lines: 10

i'm not sure this is a complete fix, but what i did was to
add

	setuid(getuid())

in the routine sendmail() just before it exec's delivermail.

i think the problem is an interaction between /bin/mail being
setuid root and delivermail not knowing that the uid it is
being exec'd with came from a program that was setuid.