Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!bin
From: bin@primate.wisc.edu (Brain in Neutral)
Newsgroups: comp.sys.mips
Subject: Re: Using sendmail for local mail?
Message-ID: <795@uakari.primate.wisc.edu>
Date: 25 Sep 89 14:51:13 GMT
References: <3767@blake.acs.washington.edu>
Sender: bin@primate.wisc.edu
Reply-To: bin@primate.wisc.edu
Distribution: na
Lines: 26

From article <3767@blake.acs.washington.edu>, by lgy@blake.acs.washington.edu (Laurence Yaffe):
>     This does not appear to work as you describe on my M/2000 (running 4.0).
> I created /usr/lib/sendmail.ok long ago.  Mail sent using /bin/mail is
> getting handed off to sendmail, however, mail sent using /usr/bin/mailx
> does not appear to be handled by sendmail.  For example, mail to 'postmaster'
> set using mailx is not getting mapped using /usr/lib/aliases, whereas the
> same mail sent using /bin/mail succeeds.

Ah, yes.  The mailers under RISC/os have been one of the more frustrating
aspects of running our MIPS machine like a BSD host.

I tossed sendmail and mailx and replaced with BSD sendmail (so no sendmail.ok
or sendmail.smtp necessary; they should be unnecessary *anyway*, in my opinion)
and /usr/ucb/{M,m}ail.  /usr/ucb/Mail has to be hacked to understand From_
line format as written by /bin/mail (the date does NOT have seconds in it as
it appears to on straight BSD systems).  sendmail has to be hacked to
understand how to get load average out of the kernel (uses /unix, not /vmunix,
for one thing; load average var type is different, for another).

I would toss /bin/mail, too, if I could, but the licensing is stricter on
that than on sendmail and /usr/ucb/Mail.

This is on an M/120 (4.0[01]).

Paul DuBois
dubois@primate.wisc.edu