Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 1996 01:24:59 -0500
From:      Benjamin Lewis <blewis@vet.purdue.edu>
To:        David Kelly <dkelly@hiwaay.net>
Cc:        questions@freebsd.org
Subject:   Re: sendmail and mh problem 
Message-ID:  <199610130624.BAA00463@ylana.vet.purdue.edu>
In-Reply-To: Your message of "Sat, 12 Oct 1996 18:56:01 EST." <XFMail.961012190526.dkelly@hiwaay.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
David Kelly wrote:
> Am trying to use exmh and cann't figure out how to get the right
> return/from address into outgoing mail. Sending mail to myself
> thru my ISP I've progressed to the point I can get it to look like
> this:
> From: "David Kelly <dkelly@hiwaay.net>" <dkelly@nexgen.n4hhe.ampr.org>
> 
> by adding a line in ~/.mh_profile:
> Signature: David Kelly <dkelly@hiwaay.net>
	[snip]

There are a couple ways to do what you want.  First, remove the Signature:
line from your .mh_profile, and then either:

     1) Copy /usr/local/lib/mh/componenets and /usr/local/lib/mh/replcomps
	to ~/Mail.  In your personal copies of these files, add a line that
	looks like:
		From: David Kelly <dkelly@hiwaay.net>
	in the headers section, just above the line of dashes.
	This will cause mh to insert the From: header, which sendmail 
	shouldn't touch.

	-or-

     2) Modify /etc/sendmail.cf to make your machine masquerade as 
	hiwaay.net.  This is what I do; it works well, and is not mh
	specific.  Here's the relevant part and what it should look like:

	# who I masquerade as (null for no masquerading) (see also $=M)
	DMhiwaay.net

There are probably better ways to do this, but what the heck - it works for
me!

-Ben

-- 
Benjamin Lewis - blewis@vet.purdue.edu





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610130624.BAA00463>