Thread View: news.software.readers
2 messages
2 total messages
Started by SanJay Vanvari
Fri, 24 Jun 1994 01:39
Saving header info of a whole newsgroup -- Help! Help! Help!
Author: SanJay Vanvari
Date: Fri, 24 Jun 1994 01:39
Date: Fri, 24 Jun 1994 01:39
29 lines
1609 bytes
1609 bytes
Hi! I'd like to save information from the header of _each_ article of a newsgroup. What I'd like to do is - * Save the e-mail address of each and every individual that posts to a newsgroup. Ideally I'd like to save each poster's name just once [actually each account] but that is more of a detail that I think I can iron out later [if u have an answer on that too now - that's great!] Does anyone in NetLand have an answer on how I could so this? I'm no expert of trn [or any other news reader] but just by going through the MAN pages it seems like this should be do-able by some kinda CUSTOM MACROS.... Could one do it by the SELECT file and instead of (j)unking the article, (s)ave the "From:" (%t) field? Any ideas? Does anyone know what I am talking about, or am I just blabbering? _Rohit! [Am I living up to the adage of 'a little knowledge is harmful' ;-] Please post or reply to rohit@tim.com
Re: Saving header info of a whole newsgroup -- Help! Help! Help!
Author: Sridhar Venkataraman
Date: Fri, 24 Jun 1994 14:19
Date: Fri, 24 Jun 1994 14:19
30 lines
2227 bytes
2227 bytes
vanvari@netcom.com (SanJay Vanvari) writes:
| I'd like to save information from the header of _each_ article of a
| newsgroup. What I'd like to do is -
|
| * Save the e-mail address of each and every individual that
| posts to a newsgroup.
|
| Ideally I'd like to save each poster's name just once [actually each
| account] but that is more of a detail that I think I can iron out later
| [if u have an answer on that too now - that's great!]
The easiest way is to pipe the article to a script using a junk clause
in your kill file. Have the script save whatever header fields (using
awk/sed/perl) you need. This won't necessarily give the right
reply-able address if some use a Reply-To but piping it to "formail -rtxTo:"
and extracting the return address would give you that address. This
address can be "grep"ed with the addresses you have saved already.
Having said this, I am not giving any detailed solutions here due to
the fact that Internet/Usenet junkmail is on the rise and though I
don't doubt your intentions, a solution to your request can be misused by
business-oriented folks to troll for addresses.
Sridhar.
--
Sridhar Venkataraman ASU, Tempe, Arizona USA sridhar@asuvax.eas.asu.edu
<A HREF="http://enuxsa.eas.asu.edu/~sridhar/places/">India page</A>
Note: People from *.psi.{net,com} are banned from accessing the above URL.
Check news.admin.misc for reasons.
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