🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16916

Re: Mail2News crosspost thoughts.

#16916
From: Steve Lodin
Date: Fri, 11 Apr 1997 00:00
29 lines
1441 bytes

In article <slrn5k0rv7.q2n.brennan@crashprone.allegheny.edu>, brennan@crashprone.allegheny.edu (Andrew Brennan) writes:
>    Ok ... this is a Q&D approach, but I figured to toss the idea out
>    and see if someone could put a better spin on it.
> 

What I've done is to munge the Message ID:.  Since each mail -> news
article gets processed separately by the mail2news program, I've added
the following code to generate a unique Message ID: header:

   # make the message id unique
   s/^Message-ID:\s+<(.*)>/Message-ID: <$^T.$1>/;
   s/^Message-Id:\s+<(.*)>/Message-Id: <$^T.$1>/;

$^T is the time (as delivered by "time") when the program started.


Probably not elegant either.


Steve
-- 
Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (765)451-0479


			When all else fails, read the manual.

Technical Details
Message-ID: <5ilr2b$amf$1@kocrsv08.delcoelect.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <slrn5k0rv7.q2n.brennan@crashprone.allegheny.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5ilr2b$amf$1@kocrsv08.delcoelect.com>
Subject: Re: Mail2News crosspost thoughts.
Date: Fri, 11 Apr 1997 00:00:00 +0000
From: swlodin@delcoelect.com (Steve Lodin)
References: <slrn5k0rv7.q2n.brennan@crashprone.allegheny.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 232365505
Organization: Delco Electronics Corp.
Newsgroups: news.software.nntp
Originator: swlodin@kocrsw26