Article View: news.software.readers
Article #18201Re: SLRN bug
From: John E. Davis
Date: Sat, 27 Jan 1996 00:00
Date: Sat, 27 Jan 1996 00:00
30 lines
1332 bytes
1332 bytes
On Thu, 25 Jan 1996 14:51:57 GMT, charles <charles@fma.com>
wrote:
: The Reply-To: line works fine for postings, and fine for replies via
: email. But it breaks when I try forwarding articles, and defaults
: to the hostname.
To add this header, in art.c, look for the function:
static void forward (void)
In that function, you will find:
fprintf (fp, "To: %s\nSubject: %s\n\n",
to, subject == NULL ? "" : subject);
Change it to (i.e., remove the last \n)
fprintf (fp, "To: %s\nSubject: %s\n",
to, subject == NULL ? "" : subject);
and immediately after it, add:
if (0 != *Slrn_User_Info.replyto)
fprintf (fp, "Reply-To: %s\n", Slrn_User_Info.replyto);
putc ('\n', fp);
--John
Technical Details
Message-ID:
<slrn4gkps7.8kn.davis@wiwaxia.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn4gf9f7.fbi.charles@fma10.fma.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn4gkps7.8kn.davis@wiwaxia.mit.edu> Subject: Re: SLRN bug Date: Sat, 27 Jan 1996 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn4gf9f7.fbi.charles@fma10.fma.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 136791315 Organization: Center for Space Research Reply-to: davis@space.mit.edu Newsgroups: news.software.readers