🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16945

Re: Mail2News crosspost thoughts.

#16945
From: James Beal
Date: Mon, 14 Apr 1997 00:00
31 lines
1804 bytes
Steve Lodin wrote:
> 
> 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.

	I think it's better to append the current message id with the name of
the group the message went to, that way the same transformation can be
applied to the reference lines.

-- 
James Beal - Sysadmin, Harlequin Ltd,Barrington
Hall,Barrington,Cambridge
,CB2 5RG, UK. Phone 01223 873845 Fax 01223 872519
--------------------------------------------------------------------------
I have great faith in fools.Self-confidence, my friends call it. :E.A.
Poe

Technical Details
Message-ID: <33521AEB.5EB8@harlequin.co.uk>
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> <5ilr2b$amf$1@kocrsv08.delcoelect.com>

Show Full Headers
Complete Article Headers
Message-ID: <33521AEB.5EB8@harlequin.co.uk>
Subject: Re: Mail2News crosspost thoughts.
Date: Mon, 14 Apr 1997 00:00:00 +0000
From: James Beal <jamesb@harlequin.co.uk>
References: <slrn5k0rv7.q2n.brennan@crashprone.allegheny.edu> <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
X-Deja-AN: 234692723
Distribution: inet
Organization: The Harlequin Group.
Newsgroups: news.software.nntp