🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #220

Re: Gating mailing lists - was Re: Large articles - Re: B8 checkgroups (propagation issue)

#220
From: D. Stussy
Date: Wed, 29 Apr 2009 00:29
143 lines
8369 bytes
"Ralf Döblitz" <doeblitz@doeblitz.net> wrote in message
news:gt7aij$6d4$1@msgid.netzverwaltung.net...
> In news.admin.peering D. Stussy <spam@bde-arc.ampr.org> wrote:
> > "Ralf Döblitz" <doeblitz@doeblitz.net> wrote in message
> > news:gt4oom$vtv$1@msgid.netzverwaltung.net...
> >> In news.admin.peering D. Stussy <spam@bde-arc.ampr.org> wrote:
> >> [...]
> >> >> Yes. But the same mail may have been sent to multiple lists the
same
> > way
> >> >> that you crosspost usenet articles. As you cannot detect this with
> >> >> certainty (and convert it into a crosspost) you must treat each
list
> > as
> >> >> indepent from any other and thus refrain from using unaltered
> >> >> message-IDs.
> >> >
> >> > That still doesn't justify a change of the message ID.  Why would
one
> > gate
> >> > a news article to multiple mailing lists then return it to a
newsgroup
> >> > instead of using the original form of the article received via NNTP
> > which
> >> > has the crossposted lists of groups intact?
> >>
> >> There is no "original form" from NNTP, the article is injected
> >> originally into several mailing lists and thus distributed via
multiple
> >> lists with the same message-ID.
> >
> > ...But you told me that the gateways CHANGE the message ID?
>
> The MUST change the message-ID to avoid producing nopes. Mailing lists
> do not necessarily modify message-IDs, so an article mailed e.g. to
> foo-announce and foo-help may be propagated via both lists with the same
> message-ID. If you then gate both lists into usenet without changing the
> message-IDs only one of the article's incarnations can be propagated
> which is undesirable (as you do not have the information needed to make
> a crosspost of them).

Propagating ONLY ONE COPY of the article (gated or not) is not only
desirable but specifically what NNTP is designed to do.  It should not be
circumvented.

Multiple gateways means (potentially) multiple injection points into NNTP.

http://www.eyrie.org/~eagle/usefor/drafts/draft-ietf-usefor-usepro-14.txt
3.4.2.  Multiple Injection of Articles
"The posting agent MUST supply the Message-ID, Date, and Injection-Date
header fields, and the proto-article as offered to each injecting agent
MUST be identical."

The standards (draft) disagrees with you.  The Message-ID MUST NOT BE
CHANGED.  As I stated, the reason is to prevent duplicates.

I disagree that the "Injection-Date" header need be preserved.  However, as
a matter of the process, the "Date" header would be preserved.

---------------
3.10.  Duties of a Gateway
"Transformation of an article into another medium stands a very high chance
of discarding or interfering with the protection inherent in the news
system against duplicate articles."

Altering the Message-ID GUARENTEES DUPLICATION of the article.  That's why
it's forbidden.

3.10.1.  Duties of an Outgoing Gateway
"The message identifier of the news article should be preserved if at all
possible, preferably as or within the corresponding unique identifier of
the other medium, but if not at least as a comment in the message."

- That means KEEP the Message-ID UNALTERED.

"The message should be tagged in some way so as to prevent its reinjection
into Netnews."

As I stated, that may not be necessary in some cases, or needs workarounds
in others (e.g. crossposted messages).

3.10.2.  Duties of an Incoming Gateway
"An incoming gateway MUST NOT gate the same message twice."

If the message-ID field is altered, it will assume that it's a different
message, and thus VIOLATE this section.

"If there is a message identifier that fills a role similar to that of the
Message-ID header field in news, it SHOULD be used in the formation of the
message identifier of the news article, perhaps with transformations
required to meet the uniqueness requirement of Netnews and with the removal
of any comments so as to comply with the syntax in Section 3.1.3 of
[USEFOR].  Such transformations SHOULD be designed so that two messages
with the same identifier generate the same Message-ID header field."

A message identifer from a non-NNTP source may be altered ONLY to bring it
into compliance with the Netnews standard.  Message-IDs from SMTP already
comply with the Netnews standard (as the standards are virtually identical,
having sourced from the same RFCs), and are therefore unnecessary.

"Exceptionally, if there are multiple incoming gateways for a particular
set of messages, each to a different newsgroup(s), each one SHOULD generate
a message identifier unique to that gateway.  Each incoming gateway
nonetheless MUST ensure that it does not gate the same message twice."

However, that is the CAUSE OF THE PROBLEM:  Multiple gateways for the same
mailing list SHOULD BE USING THE SAME NEWSGROUP NAME, not different names,
when being distributed off of the gateway news server.  When using the same
name, the message-ID MUST be preserved.  The WASTE OF GATING A SINGLE LIST
TO MULTIPLE GROUPS (in some cases, up to 14 times) as a 1-to-1 mapping is
precisely what MUST BE STOPPED.

3.10.4.  Gateway Example
"1.  The news-to-mail gateway preserves the message identifier of the news
article in the generated email message.  The mail-to-news gateway likewise
preserves the email message identifier provided that it is syntactically
valid for Netnews.  This allows the news system's built-in suppression of
duplicates to serve as the first line of defense against loops."

That means DON'T ALTER THE MESSAGE-ID.

"General gatewaying to world-wide newsgroups poses additional difficulties;
one must be very wary of strange configurations, such as a newsgroup gated
to a mailing list which is in turn gated to a different newsgroup."

That's why it MUST NOT be done.  Multiple gating of a mailing list needs to
be with the same newsgroup name in all gateways to avoid the problems.


CONCLUSION:

Multiple gateways of a given mailing list MUST preserve the message-ID
field and MUST use the same newsgroup name mapping as every other gateway
gating the list.  Messages (originating in Usenet) that are crossposted
MUST either be rejected via SMTP (when first seen via the mailing list
gateway, thus awaiting the NNTP version to propagate in as the copy to be
stored) or must recreate the crossposted list of groups.  This means that
news-to-mail gateways must somehow preserve the fact that the originating
article was crossposted (passing the "Newsgroups" header out to SMTP seems
to be the easiest way to accomplish this), and mail-to-news gateways must
recognize it.

Technical Details
Message-ID: <gt871k$lst$1@aux.snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
References: <6vmku45940u095srq731bfmidplen76thg@4ax.com> <gsdna6$g3i$1@news.trigofacile.com> <gsqh3a$6e7$1@aux.snarked.org> <gsqi81$t7b$1@news.trigofacile.com> <gsqrf1$7r7$1@aux.snarked.org> <87ljprkmjf.fsf@windlord.stanford.edu> <gsr8p1$9av$1@aux.snarked.org> <87hc0e227b.fsf@windlord.stanford.edu> <gsrf1i$aq4$1@aux.snarked.org> <gssa8g$k4c$1@gondor.sdsu.edu> <gstri7$mri$1@aux.snarked.org> <gsub0g$lf8$1@msgid.netzverwaltung.net> <gt0cas$s8d$1@aux.snarked.org> <gt1gh2$lqs$1@msgid.netzverwaltung.net> <gt3042$5p7$1@aux.snarked.org> <gt4oom$vtv$1@msgid.netzverwaltung.net> <gt5ora$e3a$1@aux.snarked.org> <gt7aij$6d4$1@msgid.netzverwaltung.net>

Show Full Headers
Complete Article Headers
Message-ID: <gt871k$lst$1@aux.snarked.org>
Subject: Re: Gating mailing lists - was Re: Large articles - Re: B8 checkgroups (propagation issue)
Date: Tue, 28 Apr 2009 17:29:34 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <6vmku45940u095srq731bfmidplen76thg@4ax.com> <gsdna6$g3i$1@news.trigofacile.com> <gsqh3a$6e7$1@aux.snarked.org> <gsqi81$t7b$1@news.trigofacile.com> <gsqrf1$7r7$1@aux.snarked.org> <87ljprkmjf.fsf@windlord.stanford.edu> <gsr8p1$9av$1@aux.snarked.org> <87hc0e227b.fsf@windlord.stanford.edu> <gsrf1i$aq4$1@aux.snarked.org> <gssa8g$k4c$1@gondor.sdsu.edu> <gstri7$mri$1@aux.snarked.org> <gsub0g$lf8$1@msgid.netzverwaltung.net> <gt0cas$s8d$1@aux.snarked.org> <gt1gh2$lqs$1@msgid.netzverwaltung.net> <gt3042$5p7$1@aux.snarked.org> <gt4oom$vtv$1@msgid.netzverwaltung.net> <gt5ora$e3a$1@aux.snarked.org> <gt7aij$6d4$1@msgid.netzverwaltung.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp,news.admin.peering
Lines: 143
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net
X-Trace: aux.snarked.org 1240964981 22429 71.106.211.188 (29 Apr 2009 00:29:41
 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Wed, 29 Apr 2009 00:29:41 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478