Article View: news.software.nn
Article #1814Re: Correcting/Augmenting Mail Headers (was: User setting From: address in sendmail input)
From: Mike J. Fuller
Date: Mon, 01 Jul 1991 17:23
Date: Mon, 01 Jul 1991 17:23
55 lines
3550 bytes
3550 bytes
>>>>> On 29 Jun 91 17:25:02 GMT, mwills@x102a (wills ms 01309) said:
(stuff deleted)
wills> My question is this: How can I enable these features (Reply-to: header
wills> and end-to-end ack) in all my mail, rather than just mail and postings
wills> sent from inside "nn" (e.g. GNU emacs rmail and vm)? Is there a
wills> comp.mail.headers FAQ or internet RFC which describes other header
wills> options available to the user?
As far as getting the Reply-to: header, this stuff which I hacked out of my
.emacs should do the trick for rmail, vm, etc.:
(setq my-mailhost "sarah.lerc.nasa.gov")
(setq my-mail-address (concat (user-login-name) "@" my-mailhost))
(setq mail-default-reply-to my-mail-address)
I don't know what the "best" way to implement other headers is. I got the
feedmail package that was posted to gnu.emacs.sources a few months ago and did
the following:
(setq my-organization
"Computational Materials Laboratory, NASA Lewis Research Center")
(setq feedmail-last-chance-hook
'(lambda ()
(interactive)
(save-excursion
(set-buffer feedmail-prepped-text-buffer)
(if (and (file-exists-p "~/.sig")
(y-or-n-p "Append ~/.sig? "))
(progn
(goto-char (point-max))
(insert "\n")
(insert-file-contents "~/.sig")))
(goto-char (point-min))
(re-search-forward "^\n")
(backward-char 1)
(if (y-or-n-p "Return receipt? ")
(insert "Return-receipt-to: " my-mail-address "\n"))
(insert "X-Mailer: GNU Emacs " emacs-version)
(insert (if (boundp 'vm-version)
(concat ", VM " vm-version "\n")
"\n"))
(insert "X-Organization: " my-organization "\n")
)))
Also, the RFC which I believe you are interested in is RFC #822, "STANDARD FOR
THE FORMAT OF ARPA INTERNET TEXT MESSAGES".
/-----------------------------------------------------------------------------\
| Mike J. Fuller | Internet: mikef@sarah.lerc.nasa.gov | "I hate |
|----------------| mikef@zippysun.math.uakron.edu | quotations." |
|/\/\/\/\/\/\/\/\| Bitnet: r3mjf1@akronvm | -- R.W. Emerson |
\-----------------------------------------------------------------------------/
Technical Details
Message-ID:
<1991Jul1.172336.1880@eagle.lerc.nasa.gov>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!eagle.lerc.nasa.gov!mikefReferences:
<FWP1.91Jun19183837@Jester.CC.MsState.Edu> <1991Jun20.022606.1680@shaman.com> <BARNETT.91Jun21093917@grymoire.crd.ge.com> <6634@trantor.harris-atd.com>Show Full Headers
Complete Article Headers
Message-ID: <1991Jul1.172336.1880@eagle.lerc.nasa.gov> Subject: Re: Correcting/Augmenting Mail Headers (was: User setting From: address in sendmail input) Date: Mon, 01 Jul 1991 17:23:36 +0000 From: mikef@hoover.lerc.nasa.gov (Mike J. Fuller) References: <FWP1.91Jun19183837@Jester.CC.MsState.Edu> <1991Jun20.022606.1680@shaman.com> <BARNETT.91Jun21093917@grymoire.crd.ge.com> <6634@trantor.harris-atd.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!eagle.lerc.nasa.gov!mikef Newsgroups: comp.mail.sendmail,comp.mail,comp.mail.headers,comp.mail.misc,gnu.emacs.help,gnu.emacs.vm.bug,gnu.emacs.vm.info,news.software.nn Sender: news@eagle.lerc.nasa.gov Reply-To: mikef@sarah.lerc.nasa.gov Organization: Computational Materials Laboratory, NASA Lewis Research Center Lines: 54 In-Reply-To: mwills@x102a's message of 29 Jun 91 17:25:02 GMT X-Newsreader: GNU Emacs 18.57.4, GNUS 3.13, NNTP 3.10