[comp.mail.sendmail] From: rc

charles@c3engr.UUCP (Charles Green) (07/17/88)

In article <1029@ucsd.EDU> akkana@brain.UCSD.EDU (Akkana) /* comments */:
>The story so far:  I just upgraded my Sun network to 4.0, putting
>/usr/spool/mail on an NFS partition (*) and installing the old sendmail.cf
>    /*
>     (*) This used to require root-over-the-net privs on the client, but
>     with 4.0 it no longer does.  So maybe sendmail is setuid()ing to the
>     owner of the /usr/spool file in order to deliver the mail, and
>     somehow the From line gets changed in the process?
	...
>    */

This reminds me of a problem I'm seeing when I try to run 'sendmail' on a
Masscomp.  Mail that I receive says it's "From: rc".  For some reason, even
though I can write a small test program to exercise the getlogname() call
(or whatever the subroutine is) and verify that it's correct for me, when
sendmail runs it, he gets the answer 'rc'!

Has anyone else seen a problem like this?  Could it have something to do with
running setuid root, maybe disassociated from a controlling terminal, and
"rc" is the only wtmp entry that seems to fit those conditions??

As always, I'll summarize any Email received.  Thanks in advance.
-- 
#ident	"@(#).signature	1.5 :~charles/s..signature 04/27/88 21:40:43"
TwoBitNet: 460 Herndon Pkwy, Herndon, VA 22091-1928	UUCP:decuac!c3*!charles