Thread View: comp.mail.headers
7 messages
7 total messages
Started by Roger B.A. Klorese
Fri, 23 Sep 1988 14:51
"Return-Receipt-To:" and Mail/mailx
Author: Roger B.A. Klorese
Date: Fri, 23 Sep 1988 14:51
Date: Fri, 23 Sep 1988 14:51
10 lines
977 bytes
977 bytes
Does anyone have any suggestions for adding a "Return-Receipt-To:" header
to mail generated by /usr/ucb/mail (on our BSD system) or mailx (on our
SV system)? I use EMACS as my mailer, so can add it easily, but the rest
of the local staff uses, and must continue to use, the basic user agents.
--
Roger B.A. Klorese MIPS Computer Systems, Inc.
{ames,decwrl,prls,pyramid}!mips!rogerk 25 Burlington Mall Rd, Suite 300
rogerk@mips.COM (rogerk%mips.COM@ames.arc.nasa.gov) Burlington, MA 01803
I don't think we're in toto any more, Kansas... +1 617 270-0613
Re: "Return-Receipt-To:" and Mail/mailx
Author: Dan Ehrlich
Date: Mon, 26 Sep 1988 13:55
Date: Mon, 26 Sep 1988 13:55
23 lines
1714 bytes
1714 bytes
In article <511@mipseast.mips.COM> rogerk@mips.COM (Roger B.A. Klorese) writes: > >Does anyone have any suggestions for adding a "Return-Receipt-To:" header >to mail generated by /usr/ucb/mail (on our BSD system) or mailx (on our >SV system)? I use EMACS as my mailer, so can add it easily, but the rest >of the local staff uses, and must continue to use, the basic user agents. For anybody who uses /use/ucb/mail (I am not sure about SV) one can create a file named .mailcf in one's home directory. This file can conatin any additional headers that one would like to appear in the outgoing message. Here is what I have in the one I use: HWork-Phone: +1 814 863 1142 This bit of magic was shown to me by one of the other systems programmers here. I have not delved into the source for /usr/ucb/mail to figure out what else can go in to this file or what other magic can be done. Dan Ehrlich <ehrlich@blitz.cs.psu.edu> | Disclaimer: The opinions expressed are The Pennsylvania State University | my own, and should not be attributed Department of Computer Science | to anyone else, living or dead. University Park, PA 16802 |
Re: "Return-Receipt-To:" and Mail/mailx
Author: Karl Kleinpaste
Date: Mon, 26 Sep 1988 17:22
Date: Mon, 26 Sep 1988 17:22
15 lines
1215 bytes
1215 bytes
ehrlich@blitz writes: For anybody who uses /use/ucb/mail (I am not sure about SV) one can create a file named .mailcf in one's home directory... ... This bit of magic was shown to me by one of the other systems programmers here. I have not delved into the source for /usr/ucb/mail to figure out what else can go in to this file or what other magic can be done. The use of the ~/.mailcf file is not a function of /usr/ucb/[Mm]ail; rather, it's a function of sendmail. [Mm]ail's (mailx') configuration is based entirely in ~/.mailrc. ~/.mailcf is in the same format (including your header example) as /usr/lib/sendmail.cf. --Karl
Re: "Return-Receipt-To:" and Mail/mailx
Author: Dan Ehrlich
Date: Tue, 27 Sep 1988 00:49
Date: Tue, 27 Sep 1988 00:49
14 lines
1330 bytes
1330 bytes
Ahem...(pardon me while I put on my humble hat :-). It was pointed out to me by Jordan Hayes <jordan@ads.com> that the feature I attributed to /usr/ucb/Mail was (note the use of the past tense) actually a feature of Sendmail that was removed in Sendmail V4.30, quite a while ago. Appearently it was hacked back into sendmail here at Penn State. Hopefully there are not a lot of folks out there trying to figure out why their copy of Mail doesn't do this. Sorry for any inconvience I may have caused. Dan Ehrlich <ehrlich@blitz.cs.psu.edu> | Disclaimer: The opinions expressed are The Pennsylvania State University | my own, and should not be attributed Department of Computer Science | to anyone else, living or dead. University Park, PA 16802 |
Re: "Return-Receipt-To:" and Mail/mailx
Author: Fuat C. Baran
Date: Tue, 27 Sep 1988 02:12
Date: Tue, 27 Sep 1988 02:12
18 lines
1479 bytes
1479 bytes
In article <22535@tut.cis.ohio-state.edu> karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste) writes: >The use of the ~/.mailcf file is not a function of /usr/ucb/[Mm]ail; >rather, it's a function of sendmail. [Mm]ail's (mailx') configuration >is based entirely in ~/.mailrc. ~/.mailcf is in the same format >(including your header example) as /usr/lib/sendmail.cf. I believe support for ~/.mailcf was taken out of more recent versions of sendmail. According to the Version.c file it was put in in version 3.57 and removed in version 4.30 since it was "abused". --Fuat -- ARPANET: fuat@columbia.edu U.S. MAIL: Columbia University BITNET: fuat@cunixc.cc.columbia.edu Center for Computing Activities USENET: ...!rutgers!columbia!cunixc!fuat 712 Watson Labs, 612 W115th St. PHONE: (212) 280-5128 New York, NY 10025
Re: "Return-Receipt-To:" and Mail/mailx
Author: Eric Gisin
Date: Tue, 27 Sep 1988 14:17
Date: Tue, 27 Sep 1988 14:17
10 lines
804 bytes
804 bytes
The .mailcf hack was apparently removed from 4.3 bsd sendmail. If your system has exec'able shell scripts, 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.
Re: "Return-Receipt-To:" and Mail/mailx
Author: Andy Behrens
Date: Wed, 28 Sep 1988 17:29
Date: Wed, 28 Sep 1988 17:29
34 lines
1747 bytes
1747 bytes
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
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