Article View: news.software.nntp
Article #88204Re: Distribution header
From: Franck
Date: Sat, 01 Feb 2020 17:13
Date: Sat, 01 Feb 2020 17:13
72 lines
3315 bytes
3315 bytes
Le 01/02/2020 à 11:43, Julien ÉLIE a écrit : Bonjour Julien, > There's also RFC 5537 (USEPRO): Omited to mention it, but read :-) > If the result of "LIST DISTRIB.PATS" for instance contains > "5:fr.*:france", INN (nnrpd) adds the Distribution header field with the > value "france" if a posting agent hasn't set a Distribution header field > itself. Ok. But to be sure : If "Distribution" is set by the server, it's just for internal use as I do not see "Distribution" in every article on usenet. Correct? > As for relaying articles, I see that the newsfeeds man page gives some > explanation: > https://www.eyrie.org/~eagle/software/inn/docs/newsfeeds.html Thanks for the link! > - If the Distribution: header matches any of the values in the > sub-field, the article is sent. OK > - If a distribution starts with an exclamation point, and it matches the > Distribution: header, the article is not sent. OK > - If the Distribution: header does not match any distribution in the > site's entry and no negations were used, the article is not sent. OK > - If the Distribution: header does not match any distribution in the > site's entry and any distribution started with an exclamation point, the > article is sent. OK > If an article has more than one distribution specified, then each one is > handled according according to the above rules. If any of the specified > distributions indicate that the article should be sent, it is; if none > do, it is not sent. In other words, the rules are used as a logical or. > %% OK > %% > ME:!*/!local,!collabra-internal:: > > If the ME entry has a distribution sub-field, only articles that match > that distribution list are accepted and all other articles with a > distribution are rejected. A common use for this is to put something > like /!local in the ME entry to reject local postings from other > misconfigured sites. The distribution sub-field of ME has no effect on > the acceptance or rejection of articles that do not have a Distribution > header field. > %% Hum, this part needs more investigations for me. > I hope this helps. > Basically, distributions permit to reject received articles (like > "local") and to not propagate them to some or all peers. Yes, as always, it helps A LOT! Thanks a lot, Julien, for all the clarifications.
Technical Details
Message-ID:
<r14bk6$1mno$1@gioia.aioe.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<r12vsf$1kke$1@gioia.aioe.org> <r13ko9$vil$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <r14bk6$1mno$1@gioia.aioe.org> Subject: Re: Distribution header Date: Sat, 1 Feb 2020 18:13:43 +0100 From: Franck <franck@email.invalid> References: <r12vsf$1kke$1@gioia.aioe.org> <r13ko9$vil$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Aioe.org NNTP Server Lines: 72 Nntp-Posting-Host: jSztEEE1piHoCFNM7izKig.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 Content-Language: fr X-Notice: Filtered by postfilter v. 0.9.2