Article View: news.software.readers
Article #2935trn and REPLYTO
From: Bruce Lilly
Date: Sat, 02 Jan 1993 00:08
Date: Sat, 02 Jan 1993 00:08
22 lines
1941 bytes
1941 bytes
[This might also apply to rn; I'm not sure exactly where the trn-specific
bits of trn are]
Although the man pages and other documentation (e.g. file NEW) mentions that
the environment variable REPLYTO can be used to specify the contents of a
Reply-to header, no Reply-To header is generated when using trn's follow-up
or reply mechanisms (it appears that the stand-alone scripts Rnmail and
Pnews may work).
The solution, if CONDSUB is defined is to alter the definition of MAILHEADER
and/or NEWSHEADER in file common.h, then rebuild respond.o and relink trn.
In case anybody cares, here's what I'm currently using for those definitions
(Newsgroups: and some other news-specific headers are inappropriate for
email replies, IMO):
# define MAILHEADER "To: %t\nSubject: Re: %S\n%(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}\n)In-Reply-To: %i\nReferences: %R\nCc: \nBcc: \n\n"
# define NEWSHEADER "Newsgroups: %(%F=^$?%C:%F)\nSubject: %(%S=^$?%\"\n\nSubject: \":Re: %S)\nSummary: \nExpires: \n%(%R=^$?:References: %R\n)Sender: \nFollowup-To: \n%(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}\n)Distribution: %(%i=^$?%\"Distribution: \":%D)\nOrganization: %o\nKeywords: %[keywords]\n\n"
--
Bruce Lilly blilly!bruce@Broadcast.Sony.COM
...uunet!sonyusa!sonyd1!blilly!bruce
Technical Details
Message-ID:
<1993Jan2.000849.475@blilly.UUCP>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!psinntp!monymsys!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruceShow Full Headers
Complete Article Headers
Message-ID: <1993Jan2.000849.475@blilly.UUCP> Subject: trn and REPLYTO Date: Sat, 02 Jan 1993 00:08:49 +0000 From: bruce@blilly.UUCP (Bruce Lilly) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!psinntp!monymsys!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce Newsgroups: news.software.readers,news.software.b Followup-To: news.software.readers Organization: Bruce Lilly Reply-To: lilb@sony.compuserve.com (Bruce Lilly) Lines: 22