Xref: utzoo comp.mail.headers:409 comp.mail.misc:1280 comp.mail.sendmail:122 comp.mail.uucp:2003
Path: utzoo!attcan!uunet!husc6!bu-cs!dartvax!andyb@coat.uucp
From: andyb@coat.uucp (Andy Behrens)
Newsgroups: comp.mail.headers,comp.mail.misc,comp.mail.sendmail,comp.mail.uucp
Subject: Re: "Return-Receipt-To:" and Mail/mailx
Message-ID: <10213@dartvax.Dartmouth.EDU>
Date: 28 Sep 88 17:29:28 GMT
References: <511@mipseast.mips.COM> <3975@psuvax1.cs.psu.edu> <22535@tut.cis.ohio-state.edu> <21154@watmath.waterloo.edu>
Sender: news@dartvax.Dartmouth.EDU
Reply-To: andyb%burcoat@dartmouth.edu
Organization: Burlington Coat Factory Warehouse
Lines: 34

Egisin@watmath.waterloo.edu (Eric Gisin) writes:
> You can create your own sendmail. This is my etc/sendmail --
> 
> #! /bin/sh
> (cat <<.; cat) | /usr/lib/sendmail "$@"
> From: (Eric Gisin) egisin @ math.Waterloo.EDU (U of Waterloo)
> .
>
> Then assign SENDMAIL=$HOME/etc/sendmail and export it from your .profile.

In many versions of mail, the environment variable is $sendmail (lower
case) rather than $SENDMAIL.  Also, the existing mail delivery program
may not be /usr/lib/sendmail; on my system it is "/bin/mail".

It may be more convenient to put a
		
	    set sendmail=$HOME/mysendmail

command in your .mailrc file.  If you want everyone on the system to
use the local version of sendmail, put the set command in the global
mail rc file.  (Berkeley /usr/lib/Mail.rc, SysV /usr/lib/mailx/mailx.rc).


--
"Christ died for our sins.  Dare we make his martyrdom meaningless by
not committing them?"
					Andy Behrens
					andyb@coat.uucp
					(formerly: andyb@burcoat.uucp)

internet: andyb%coat@dartmouth.edu
uucp:     {harvard,decvax}!dartvax!coat!andyb
bitnet:   andyb%coat@dartcms1
RFD 1, Box 116, East Thetford, Vt. 05043		 (802) 649-1258