Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!ogccse!blake!lgy
From: lgy@blake.acs.washington.edu (Laurence Yaffe)
Newsgroups: comp.sys.mips
Subject: Re: Using sendmail for local mail?
Message-ID: <3767@blake.acs.washington.edu>
Date: 24 Sep 89 21:38:37 GMT
References: <3750@blake.acs.washington.edu> <28109@igate.mips.COM>
Reply-To: lgy@newton.phys.washington.edu (Laurence Yaffe)
Distribution: na
Organization: University of Washington, Seattle
Lines: 29

In article <28109@igate.mips.COM> wje@igate (William J. Earl) writes:
-In article <3750@blake.acs.washington.edu>, lgy@blake (Laurence Yaffe) writes:
-> 
->     Has anyone figured out how to use sendmail instead of /bin/mail for
-> delivering local mail (send using mailx). [...]
-> 
-     The easy way to get the same effect is to create the empty 
-configuration file /usr/lib/sendmail.ok, and not set the sendmail variable
-in mailx.  mailx will then deliver mail via /bin/mail, which will in turn
-hand it off to sendmail.  After sendmail processing, sendmail will in turn
-hand the mail back to /bin/mail for actual insertion in a mailbox.
-(Except for the configuration file, this is identical to how mail is
-usually handled on 4.3 BSD.  The configuration file is used so that the
-default behavior is compatible with System V; /usr/lib/sendmail.ok is
-not created by the default installation.)  This feature is described in
-man page mail(1-SysV).

    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.

	Laurence Yaffe

-- 
Laurence G. Yaffe		Internet: lgy@newton.phys.washington.edu
University of Washington	  Bitnet: yaffe@uwaphast.bitnet