🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69085

Re: mail2news script

#69085
From: Zax
Date: Thu, 29 Apr 2004 23:18
51 lines
3700 bytes
In article <c6kg2h$jcv$1@squay.lomarline.freeserve.co.uk>, pbs wrote:

> I am confused. In you initial posting you wrote
> 
>: # To: list@somesite.com
>: # Cc: mail2news@demon.co.uk
>: # Newsgroups: alt.test
>:
>: If I host alt.test on my news server and also want to post
>: list@somesite.com messages to local.list.somesite, I end up with a
>: duplicated Message-ID.
> 
> If you were to post the message using "inews" with a list of news groups 
> you want to post too in the newsgroup field, instead of "rnews", then 
> inews will take care of the message IDs for you and cross post them 
> correctly. If you do not want then cross posted then post them to the 
> "alt.test" and again to "local.list.somesite".
The problem I encoutered occurs when people send a message via Email to
the mailing list, and also to a newsgroup through a mail2news gateway.
The Message-ID is the same in both instances, but the destination
newsgroup is different:  One destination is defined by the Newsgroups
header as specified by the message originator, this is propagated to
each news server in the usual manner.  The second instance is posted to
my local news server to a specific newsgroup that I define for messages
coming from that mailing list; this one is posted via rnews.  The
message in effect arrives twice at the same news server with the same
Message-ID, but with different destination groups and from different
sources.

> Relying on the mail list contributors email programs to generate unique 
> message IDs seems to me to be courting disaster. -- or am I confused and 
> this is not what you do?
That is true, but the risk of a duplicate ID being sent to a mailing
list I carry as a newsgroup is pretty small.
 
> In the example you give, mail2news@demon.co.uk will presumably post the 
> same message onto news.demon.co.uk and eventually you will download that 
> message via your standard nntp feed.
Correct.

> Presumably you will end up with 2 postings in alt.test for each
> initial list message, one posted locally (via rnews or inews) and one
> posted via mail2news@demon.co.uk. As alt.test is not local, these 2
> messges will be propergated around the internet via nntp. Have you
> thought of a solution to this problem?
Not quite; the message will be posted once to alt.test via
mail2news@demon.co.uk in accordance with the originators Newsgroups
header.  It will then be posted via rnews to local.list.something based
on the originating mailing list, *not* the Newsgroups header.  The
two messages have the same Message-ID so the second instance will not
get posted.
Technical Details
Message-ID: <c6s2g1$5vr$1@bananasplit.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!news.glorb.com!news.bananasplit.info!not-for-mail
References: <c6fubi$pob$1@bananasplit.info> <c6gqdr$q9q$1@puck.litech.org> <c6gshh$kgi$1@bananasplit.info> <c6h5ff$1ir$02$1@news.t-online.com> <c6hcr1$4fj$1@bananasplit.info> <c6jsbi$3er$04$1@news.t-online.com> <c6k3qq$lqi$1@bananasplit.info> <c6kg2h$jcv$1@squay.lomarline.freeserve.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <c6s2g1$5vr$1@bananasplit.info>
Subject: Re: mail2news script
Date: Thu, 29 Apr 2004 23:18:25 +0000
From: Zax <fleegle@bananasplit.info>
References: <c6fubi$pob$1@bananasplit.info> <c6gqdr$q9q$1@puck.litech.org> <c6gshh$kgi$1@bananasplit.info> <c6h5ff$1ir$02$1@news.t-online.com> <c6hcr1$4fj$1@bananasplit.info> <c6jsbi$3er$04$1@news.t-online.com> <c6k3qq$lqi$1@bananasplit.info> <c6kg2h$jcv$1@squay.lomarline.freeserve.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.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!news.glorb.com!news.bananasplit.info!not-for-mail
Newsgroups: news.software.nntp
Organization: Bananasplit
Lines: 51
X-Complaints-To: abuse@bananasplit.info
NNTP-Posting-Date: Thu, 29 Apr 2004 23:18:25 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)