🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.mail.headers
6 messages
6 total messages Started by Rouben Rostamian Fri, 09 Feb 1990 20:23
How to set a "Reply-To: " filed in the mail header?
#681
Author: Rouben Rostamian
Date: Fri, 09 Feb 1990 20:23
22 lines
1287 bytes
I use ucb mail in ULTRIX.  I wonder if there is an option to add a header line
of the sort:

"Reply-To: a_preferred_return_address"

in some of the mail that I send out from various machines, just like it's
done in usenet postings.  My man page on mail is silent about this.

Any hints will be appreciated.

--Rouben Rostamian

P.S.: I do know about .forward files, but nevertheless I would prefer
      specifying a Reply-To header field.

--
      
Rouben Rostamian                               Telephone: (301) 455-2458
Department of Mathematics and Statistics       e-mail:
University of Maryland Baltimore County        rostamian@umbc.bitnet
Baltimore, MD 21228                            rostamian@umbc3.umbc.edu
Re: How to set a "Reply-To: " filed in the mail header?
#683
Author: Robert Stephens
Date: Tue, 20 Feb 1990 03:21
11 lines
986 bytes
In article <2773@umbc3.UMBC.EDU>, rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
> 
> I use ucb mail in ULTRIX.  I wonder if there is an option to add a header line
> of the sort:
> 
> "Reply-To: a_preferred_return_address"

Not that I know of.  I just had to add such an option to our version of ucb
Mail in IRIX.  I don't think you can do it at all with standard ucb Mail.

	Robert Stephens
Re: How to set a "Reply-To: " filed in the mail header?
#684
Author: Dan Heller
Date: Tue, 20 Feb 1990 07:00
28 lines
1913 bytes
In article <51174@sgi.sgi.com> roberts@nimrod.wpd.sgi.com (Robert Stephens) writes:
> In article <2773@umbc3.UMBC.EDU>, rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
> > I use ucb mail in ULTRIX.  I wonder if there is an option to add a header line
> > of the sort:
> > "Reply-To: a_preferred_return_address"
> Not that I know of.  I just had to add such an option to our version of ucb
> Mail in IRIX.  I don't think you can do it at all with standard ucb Mail.

In Mush, just type:
    my_hdr Reply-To: roberts
and there you go.  Note: Mush is backwards compatible with ucbMail,
so there's no learning curve involved in getting up to speed with
Mush.  However, Mush is as powerful as the other mail packages, if
not more so, so it might be worth your while to ftp it than to
continue hacking your ucbMail.  And while I'm pushing Mush :-),
it's portable to virtually all versions of UNIX (no problems yet)
and there is a DOS version as well.

ftp info: ucbvax:pub/mailers/mush-7.0.tar.Z
those who want the DOS version mail to lmoc@lena.uucp (via uunet).
Mush is currently at version 7.0.4.  7.1 will be out shortly --
this has significant improvements to the sunview mode.
dan
-----------------------------------------------------------
		    O'Reilly && Associates
		argv@sun.com / argv@ora.com
	   632 Petaluma Ave, Sebastopol, CA 95472 
     800-338-NUTS, in CA: 800-533-NUTS, FAX 707-829-0104
Re: How to set a "Reply-To: " filed in the mail header?
#685
Author: Barton E. Schaefer
Date: Tue, 20 Feb 1990 16:51
34 lines
1644 bytes
In article <51174@sgi.sgi.com> roberts@nimrod.wpd.sgi.com (Robert Stephens) writes:
} In article <2773@umbc3.UMBC.EDU>, rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
} > 
} > I use ucb mail in ULTRIX.  I wonder if there is an option to add
} > 
} > "Reply-To: a_preferred_return_address"
} 
} Not that I know of.  I just had to add such an option to our version of ucb
} Mail in IRIX.  I don't think you can do it at all with standard ucb Mail.

You can't do it "right", but you can do it:

----------------------------------------
#! /bin/sh
# "mail" front-end for Reply-To: headers
echo -n "Subject: "
read subject
# Note imbedded return in the "" text
mail -s "$subject
Reply-To: a_preferred_return_address" $*
----------------------------------------

I won't go to the work of figuring out how to test for "set ask" before
prompting for the subject, nor how to parse a -s option to the script,
but it can be done.

You still ought to get Mush. ;-)

Just the other mush hacker,
-- 
Bart Schaefer          "February.  The hangnail on the big toe of the year."
                                                                    -- Duffy

schaefer@cse.ogi.edu (used to be cse.ogc.edu)
Re: How to set a "Reply-To: " filed in the mail header?
#686
Author: Jan Stevens
Date: Wed, 21 Feb 1990 12:54
10 lines
843 bytes
Most mailers use a fixed, predefined header. To change the header you
must use a mailer which is capable of adding lines to the header. Elm is
such a type of mailer. What the layout of the header concerns :
  It ends with an empty line.
  It must have a To and From line.

Jan Stevens, Unix Support Engineer
Philips CFT, the Netherlands
e-mail: jan@philtis.cft.philips.nl
Re: How to set a "Reply-To: " filed in the mail header?
#691
Author: Jerry Peek
Date: Fri, 02 Mar 1990 11:18
26 lines
1532 bytes
In article <2773@umbc3.UMBC.EDU>, rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
> I use ucb mail in ULTRIX.  I wonder if there is an option to add a header line
> of the sort:
> 
> "Reply-To: a_preferred_return_address"

I'm two weeks behind on my news :-(, so sorry if I missed someone else's
posting (expired by now) with this answer.  MH lets you customize
the header completely.  You make a blank draft template file called
"components".  It could look like this:

	To:
	Reply-to: a_preferred_return_address
	cc:
	Subject:
	-------

Then, when you send a message, you'll be prompted for the empty components.
The Reply-to: component in this file will be used, as is, automatically.

--Jerry Peek; Syracuse University Academic Computing Services; Syracuse, NY
  jdpeek@rodan.acs.syr.edu, JDPEEK@SUNRISE.BITNET        +1 315 443-3995
-- 

--Jerry Peek; Syracuse University Academic Computing Services; Syracuse, NY
  jdpeek@rodan.acs.syr.edu, JDPEEK@SUNRISE.BITNET        +1 315 443-3995
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads