🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Bruce Lilly Sat, 02 Jan 1993 00:08
trn and REPLYTO
#2935
Author: Bruce Lilly
Date: Sat, 02 Jan 1993 00:08
22 lines
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
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