🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #59768

[tin] x-newsgroups in mailed articles

#59768
From: Greg Shenaut
Date: Tue, 28 Mar 2000 00:00
27 lines
1650 bytes
Sometimes I like to mail myself a news article that interests me
so I can keep it.  I use MH to auto-sort incoming mail, and I used
to be able to sort such articles using the "Newsgroups" header line.
However, this header line is now suppressed for some reason, although
when mailing a reply to an article's author, it is converted to
"X-Newsgroups".  I added a line to post.c as follows to restore
this functionality to articles I mail to myself:

> *** post.c	Sun Sep 26 15:22:51 1999
> --- ../src/tin-19990927/src/post.c	Tue Mar 28 12:15:35 2000
> ***************
> *** 2182,2187 ****
> --- 2182,2188 ----
>   			msg_add_header ("Reply-To", reply_to);
>   
>   		msg_add_x_headers (msg_headers_file);
> + 		msg_add_header ("X-Newsgroups", note_h.newsgroups);
>   	}
>   	start_line_offset = msg_write_headers (fp) + 1;
>   	msg_free_headers ();

If this doesn't break something else, I would like to request that
it be made part of the standard distribution.

Greg Shenaut

Technical Details
Message-ID: <8br4g1$6hr$1@mark.ucdavis.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-mail

Show Full Headers
Complete Article Headers
Message-ID: <8br4g1$6hr$1@mark.ucdavis.edu>
Subject: [tin] x-newsgroups in mailed articles
Date: Tue, 28 Mar 2000 00:00:00 +0000
From: Greg Shenaut <greg@bogslab.ucdavis.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-mail
X-Deja-AN: 603560245
Organization: University of California, Davis
User-Agent: tin/pre-1.4-19990927 ("Nine While Nine") (UNIX) (FreeBSD/3.2-RELEASE (i386))
Reply-To: gkshenaut@ucdavis.edu
Newsgroups: news.software.readers