Path: utzoo!attcan!uunet!munnari!mulga!wcc!latcs1!ditmela!yarra!technix!ahl From: ahl@technix.oz.au (Tony Landells) Newsgroups: comp.mail.sendmail Subject: Re: Bizare problem with sendmail Summary: what about /bin/mail? Message-ID: <199@technix.oz.au> Date: 1 Jan 89 09:57:26 GMT References: <3644@phri.UUCP> Organization: TechNIX Consulting Services, Melbourne, Australia Lines: 19 In article <3644@phri.UUCP>, roy@phri.UUCP (Roy Smith) writes: > The basic symptoms are as follows: If you send local mail, the > file in /usr/spool/mail/ ends up being owned by the sender. If you send > mail that gets delivered over the network (with the faulty machine on the > receiving end) the spool file ends up being owned by deamon. It looks for > all the world like sendmail has stopped being suid root, but: > > wombat> ls -l /usr/lib/sendmail > -r-sr-x--x 1 root 139264 Nov 9 17:03 /usr/lib/sendmail* My sun runs SunOS 4.0, so I'm not sure if this is your solution, but my sendmail will reset its uid to that of the invoker under certain circumstances (which I'm not too sure of). Thus, it may be that your mail program invoking sendmail may have lost its setuid root permission, causing sendmail to reset its uid to that of the invoker, which would be the sender for local mail, and daemon for remote mail, wouldn't it? Tony Landells