Thread View: news.software.nntp
37 messages
37 total messages
Started by dunno
Thu, 05 May 2016 10:08
Obsolete Received: header
Author: dunno
Date: Thu, 05 May 2016 10:08
Date: Thu, 05 May 2016 10:08
9 lines
1165 bytes
1165 bytes
What's causing INN to reject article with error message "Obsolete Received: header"? Thanks. -- dunno
Re: Obsolete Received: header
Author: dunno
Date: Thu, 05 May 2016 10:20
Date: Thu, 05 May 2016 10:20
16 lines
1502 bytes
1502 bytes
dunno <dunno@dunno.dunno> wrote: > What's causing INN to reject article with error message "Obsolete Received: > header"? > > Thanks. > I guess I should clarify. Is that because of something in the body of the header? Or is it because of the fact that header is present in the article? Seems that this header is not mentioned in RFC 5536. -- dunno
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Thu, 05 May 2016 19:24
Date: Thu, 05 May 2016 19:24
38 lines
2432 bytes
2432 bytes
Hi dunno,
>> What's causing INN to reject article with error message "Obsolete Received:
>> header"?
>
> I guess I should clarify. Is that because of something in the body of the
> header? Or is it because of the fact that header is present in the article?
There is a header named "Received:" in the headers of such rejected
articles.
> Seems that this header is not mentioned in RFC 5536.
In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article
Format':
This obsolete pseudo-Internet article format, used briefly during the
transition between the A News format and the modern format, followed
the general outline of a MAIL message but with some non-standard
headers.
[...]
The Received header contained
the date when the latest relayer to process the article first saw it.
[...]
This format is documented for archaeological purposes only. Do not
generate articles in this format.
--
Julien ÉLIE
« – Les sangliers apprécient mieux que toi ma musique !
– C'est normal, tu chantes comme un cochon !!! » (Astérix)
Re: Obsolete Received: header
Author: dunno
Date: Thu, 05 May 2016 22:37
Date: Thu, 05 May 2016 22:37
55 lines
3225 bytes
3225 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: > Hi dunno, > >>> What's causing INN to reject article with error message "Obsolete Received: >>> header"? >> >> I guess I should clarify. Is that because of something in the body of the >> header? Or is it because of the fact that header is present in the article? > > There is a header named "Received:" in the headers of such rejected > articles. > > >> Seems that this header is not mentioned in RFC 5536. > > In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article > Format': > This obsolete pseudo-Internet article format, used briefly during the > transition between the A News format and the modern format, followed > the general outline of a MAIL message but with some non-standard > headers. > > [...] > > The Received header contained > the date when the latest relayer to process the article first saw it. > > [...] > > This format is documented for archaeological purposes only. Do not > generate articles in this format. > I'm not sure I understand. RFC 1849 is obsolete, and Received: header is a standard header of mail messages, according to RFC 5322, and supposedly RFC 5536 is built on RFC 5322. Thus, INN does not conform to the current standards. If not for that, we were able to post email messages as news articles without touching the headers (provided that email message already have valid Newsgroups: header). Now there is a need to do pointless renaming of headers to preserve tracing information of the email message. Is there any other undocumented behavior of INN which does not conform to the current standards? Thank you. P.S. I would suggest to remove checking the presence of Received: header. Even if someone in year of 2016 will decide to generate article in "B News" format, it won't be received by servers because this format uses Article-I.D.: header instead of Message-ID:. -- dunno
Re: Obsolete Received: header
Author: Adam H. Kerman
Date: Fri, 06 May 2016 01:50
Date: Fri, 06 May 2016 01:50
55 lines
3447 bytes
3447 bytes
dunno <dunno@dunno.dunno> wrote: >Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >> Hi dunno, >> >>>> What's causing INN to reject article with error message "Obsolete Received: >>>> header"? >>> >>> I guess I should clarify. Is that because of something in the body of the >>> header? Or is it because of the fact that header is present in the article? >> >> There is a header named "Received:" in the headers of such rejected >> articles. >> >> >>> Seems that this header is not mentioned in RFC 5536. >> >> In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article >> Format': >> This obsolete pseudo-Internet article format, used briefly during the >> transition between the A News format and the modern format, followed >> the general outline of a MAIL message but with some non-standard >> headers. >> >> [...] >> >> The Received header contained >> the date when the latest relayer to process the article first saw it. >> >> [...] >> >> This format is documented for archaeological purposes only. Do not >> generate articles in this format. >> > >I'm not sure I understand. RFC 1849 is obsolete, and Received: header is a >standard header of mail messages, according to RFC 5322, and supposedly RFC >5536 is built on RFC 5322. Thus, INN does not conform to the current >standards. If not for that, we were able to post email messages as news >articles without touching the headers (provided that email message already >have valid Newsgroups: header). Now there is a need to do pointless >renaming of headers to preserve tracing information of the email message. > >Is there any other undocumented behavior of INN which does not conform to >the current standards? > >Thank you. > >P.S. I would suggest to remove checking the presence of Received: header. >Even if someone in year of 2016 will decide to generate article in "B News" >format, it won't be received by servers because this format uses >Article-I.D.: header instead of Message-ID:. I think you should pay Julien to write the code you are demanding. Thank you.
Re: Obsolete Received: header
Author: Russ Allbery
Date: Fri, 06 May 2016 02:05
Date: Fri, 06 May 2016 02:05
90 lines
5464 bytes
5464 bytes
dunno <dunno@dunno.dunno> writes:
> I'm not sure I understand. RFC 1849 is obsolete, and Received: header is
> a standard header of mail messages, according to RFC 5322, and
> supposedly RFC 5536 is built on RFC 5322. Thus, INN does not conform to
> the current standards.
No Netnews agent is ever required to accept any article. It is
common for injecting, relaying, and serving agents to reject well-
formed articles for reasons of local policy (such as not wishing to
carry a particular newsgroup or attempting to filter out unwanted
articles). This document specifies how articles are to be treated if
they are accepted and specifies some cases where they must be
rejected, but an agent MAY always reject any article for other
reasons than those stated here.
There isn't a compliance issue here. There may be a quality of
implementation issue.
Also, please note the following extremely important paragraph in RFC 5536:
All header fields in a Netnews article are compliant with [RFC5322];
this specification, however, is less permissive in what can be
generated and accepted by agents. The syntax allowed for Netnews
article headers is a strict subset of the Internet Message Format
headers, making all headers compliant with this specification
inherently compliant with [RFC5322]. Note however that the converse
is not guaranteed to be true in all cases.
and see appendix C of that document. There are a bunch of other reasons
why a valid email message may not be a valid netnews messages.
> If not for that, we were able to post email messages as news articles
> without touching the headers (provided that email message already have
> valid Newsgroups: header).
And they would have shitty distribution because INN has rejected messages
containing Received headers for literally decades. So you would accept a
message and then that message would (silently) fail to propagate to other
servers, which is something that historically we've tried to avoid.
I've thought a few times about relaxing this requirement since it would
make mail to news gatewaying a lot easier, but it's a restriction of very
long standing, and the silent dropping of articles on subsequent
propagation is pretty bad. I think it's better to force people to rename
the headers so that they can propagate properly.
> Is there any other undocumented behavior of INN which does not conform
> to the current standards?
Probably. But if I wrote it all up, it would then be documented, and then
that would cause a paradox. :)
More seriously, while we've done a few audits of INN against various
standards, it probably doesn't conform in some places because people
haven't found those issues (or, in some rare cases, because the standard
is dubious in some respect). Most of them would be bugs if you found
them.
But, as noted above, rejection of these articles when offered for posting
is completely consistent with the standards and not a conformance issue.
> P.S. I would suggest to remove checking the presence of Received:
> header. Even if someone in year of 2016 will decide to generate article
> in "B News" format, it won't be received by servers because this format
> uses Article-I.D.: header instead of Message-ID:.
Feel free. You have all the source code. :) Specifically, this would
probably do what you want:
Index: post.c
===================================================================
--- inn/nnrpd/post.c (revision 10008)
+++ inn/nnrpd/post.c (working copy)
@@ -62,7 +62,6 @@
{ "Keywords", true, HTstd, 0, NULL, NULL, 0 },
{ "User-Agent", true, HTstd, 0, NULL, NULL, 0 },
{ "Date-Received", false, HTobs, 0, NULL, NULL, 0 },
- { "Received", false, HTobs, 0, NULL, NULL, 0 },
{ "Posted", false, HTobs, 0, NULL, NULL, 0 },
{ "Posting-Version", false, HTobs, 0, NULL, NULL, 0 },
{ "Relay-Version", false, HTobs, 0, NULL, NULL, 0 },
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Obsolete Received: header
Author: dunno
Date: Fri, 06 May 2016 07:49
Date: Fri, 06 May 2016 07:49
114 lines
6722 bytes
6722 bytes
Russ Allbery <eagle@eyrie.org> wrote:
> dunno <dunno@dunno.dunno> writes:
>
>> I'm not sure I understand. RFC 1849 is obsolete, and Received: header is
>> a standard header of mail messages, according to RFC 5322, and
>> supposedly RFC 5536 is built on RFC 5322. Thus, INN does not conform to
>> the current standards.
>
> No Netnews agent is ever required to accept any article. It is
> common for injecting, relaying, and serving agents to reject well-
> formed articles for reasons of local policy (such as not wishing to
> carry a particular newsgroup or attempting to filter out unwanted
> articles). This document specifies how articles are to be treated if
> they are accepted and specifies some cases where they must be
> rejected, but an agent MAY always reject any article for other
> reasons than those stated here.
>
> There isn't a compliance issue here. There may be a quality of
> implementation issue.
According to your interpretation of this paragraph, we can write server
software which rejects any article and still is RFC compliant. :)
Seriously though, according to RFC 5536, news article with Received: header
is valid article, and there is no obvious reason to reject it.
> Also, please note the following extremely important paragraph in RFC 5536:
>
> All header fields in a Netnews article are compliant with [RFC5322];
> this specification, however, is less permissive in what can be
> generated and accepted by agents. The syntax allowed for Netnews
> article headers is a strict subset of the Internet Message Format
> headers, making all headers compliant with this specification
> inherently compliant with [RFC5322]. Note however that the converse
> is not guaranteed to be true in all cases.
>
> and see appendix C of that document. There are a bunch of other reasons
> why a valid email message may not be a valid netnews messages.
This particular issue is not one of them.
>> If not for that, we were able to post email messages as news articles
>> without touching the headers (provided that email message already have
>> valid Newsgroups: header).
>
> And they would have shitty distribution because INN has rejected messages
> containing Received headers for literally decades. So you would accept a
> message and then that message would (silently) fail to propagate to other
> servers, which is something that historically we've tried to avoid.
Yes, I understand that. However, IMHO such behavior at least should be
documented. I personally would allow posting of such articles in new
versions of INN. This problem is very specific, no news agents deal with
Received: headers except automated mail2news software, so there will be no
any immediate impact. Current mail2news programs either strip such headers
or rename them.
Yes, in the meantime I would change the name of header or use some other
approach to ensure propagation. But eventually (even if years from now) it
would be nice to expect that valid articles can be posted.
> I've thought a few times about relaxing this requirement since it would
> make mail to news gatewaying a lot easier, but it's a restriction of very
> long standing, and the silent dropping of articles on subsequent
> propagation is pretty bad. I think it's better to force people to rename
> the headers so that they can propagate properly.
>
>> Is there any other undocumented behavior of INN which does not conform
>> to the current standards?
>
> Probably. But if I wrote it all up, it would then be documented, and then
> that would cause a paradox. :)
>
> More seriously, while we've done a few audits of INN against various
> standards, it probably doesn't conform in some places because people
> haven't found those issues (or, in some rare cases, because the standard
> is dubious in some respect). Most of them would be bugs if you found
> them.
I'll keep looking. :)
> But, as noted above, rejection of these articles when offered for posting
> is completely consistent with the standards and not a conformance issue.
>
>> P.S. I would suggest to remove checking the presence of Received:
>> header. Even if someone in year of 2016 will decide to generate article
>> in "B News" format, it won't be received by servers because this format
>> uses Article-I.D.: header instead of Message-ID:.
>
> Feel free. You have all the source code. :) Specifically, this would
> probably do what you want:
I have no problems changing the code on my local machine. Thanks though.
> Index: post.c
> ===================================================================
> --- inn/nnrpd/post.c (revision 10008)
> +++ inn/nnrpd/post.c (working copy)
> @@ -62,7 +62,6 @@
> { "Keywords", true, HTstd, 0, NULL, NULL, 0 },
> { "User-Agent", true, HTstd, 0, NULL, NULL, 0 },
> { "Date-Received", false, HTobs, 0, NULL, NULL, 0 },
> - { "Received", false, HTobs, 0, NULL, NULL, 0 },
> { "Posted", false, HTobs, 0, NULL, NULL, 0 },
> { "Posting-Version", false, HTobs, 0, NULL, NULL, 0 },
> { "Relay-Version", false, HTobs, 0, NULL, NULL, 0 },
>
--
dunno
Re: Obsolete Received: header
Author: dunno
Date: Fri, 06 May 2016 07:50
Date: Fri, 06 May 2016 07:50
63 lines
3665 bytes
3665 bytes
Adam H. Kerman <ahk@chinet.com> wrote: > dunno <dunno@dunno.dunno> wrote: >> Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >>> Hi dunno, >>> >>>>> What's causing INN to reject article with error message "Obsolete Received: >>>>> header"? >>>> >>>> I guess I should clarify. Is that because of something in the body of the >>>> header? Or is it because of the fact that header is present in the article? >>> >>> There is a header named "Received:" in the headers of such rejected >>> articles. >>> >>> >>>> Seems that this header is not mentioned in RFC 5536. >>> >>> In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article >>> Format': >>> This obsolete pseudo-Internet article format, used briefly during the >>> transition between the A News format and the modern format, followed >>> the general outline of a MAIL message but with some non-standard >>> headers. >>> >>> [...] >>> >>> The Received header contained >>> the date when the latest relayer to process the article first saw it. >>> >>> [...] >>> >>> This format is documented for archaeological purposes only. Do not >>> generate articles in this format. >>> >> >> I'm not sure I understand. RFC 1849 is obsolete, and Received: header is a >> standard header of mail messages, according to RFC 5322, and supposedly RFC >> 5536 is built on RFC 5322. Thus, INN does not conform to the current >> standards. If not for that, we were able to post email messages as news >> articles without touching the headers (provided that email message already >> have valid Newsgroups: header). Now there is a need to do pointless >> renaming of headers to preserve tracing information of the email message. >> >> Is there any other undocumented behavior of INN which does not conform to >> the current standards? >> >> Thank you. >> >> P.S. I would suggest to remove checking the presence of Received: header. >> Even if someone in year of 2016 will decide to generate article in "B News" >> format, it won't be received by servers because this format uses >> Article-I.D.: header instead of Message-ID:. > > I think you should pay Julien to write the code you are demanding. Thank you. I think you should learn English, Adam. I'm suggesting, not demanding. Thank you. -- dunno
Re: Obsolete Received: header
Author: dunno
Date: Fri, 06 May 2016 13:06
Date: Fri, 06 May 2016 13:06
123 lines
7158 bytes
7158 bytes
dunno <dunno@dunno.dunno> wrote:
> Russ Allbery <eagle@eyrie.org> wrote:
>> dunno <dunno@dunno.dunno> writes:
>>
>>> I'm not sure I understand. RFC 1849 is obsolete, and Received: header is
>>> a standard header of mail messages, according to RFC 5322, and
>>> supposedly RFC 5536 is built on RFC 5322. Thus, INN does not conform to
>>> the current standards.
>>
>> No Netnews agent is ever required to accept any article. It is
>> common for injecting, relaying, and serving agents to reject well-
>> formed articles for reasons of local policy (such as not wishing to
>> carry a particular newsgroup or attempting to filter out unwanted
>> articles). This document specifies how articles are to be treated if
>> they are accepted and specifies some cases where they must be
>> rejected, but an agent MAY always reject any article for other
>> reasons than those stated here.
>>
>> There isn't a compliance issue here. There may be a quality of
>> implementation issue.
>
> According to your interpretation of this paragraph, we can write server
> software which rejects any article and still is RFC compliant. :)
>
> Seriously though, according to RFC 5536, news article with Received: header
> is valid article, and there is no obvious reason to reject it.
>
>> Also, please note the following extremely important paragraph in RFC 5536:
>>
>> All header fields in a Netnews article are compliant with [RFC5322];
>> this specification, however, is less permissive in what can be
>> generated and accepted by agents. The syntax allowed for Netnews
>> article headers is a strict subset of the Internet Message Format
>> headers, making all headers compliant with this specification
>> inherently compliant with [RFC5322]. Note however that the converse
>> is not guaranteed to be true in all cases.
>>
>> and see appendix C of that document. There are a bunch of other reasons
>> why a valid email message may not be a valid netnews messages.
>
> This particular issue is not one of them.
Here is one more thing I've noticed: empty header bodies are permitted by
RFC 5322, but are not allowed by RFC 5536. However, INN does not reject
such articles. Instead, it just removes illegal header fields from them,
and it's far better than rejection, IMHO.
>>> If not for that, we were able to post email messages as news articles
>>> without touching the headers (provided that email message already have
>>> valid Newsgroups: header).
>>
>> And they would have shitty distribution because INN has rejected messages
>> containing Received headers for literally decades. So you would accept a
>> message and then that message would (silently) fail to propagate to other
>> servers, which is something that historically we've tried to avoid.
>
> Yes, I understand that. However, IMHO such behavior at least should be
> documented. I personally would allow posting of such articles in new
> versions of INN. This problem is very specific, no news agents deal with
> Received: headers except automated mail2news software, so there will be no
> any immediate impact. Current mail2news programs either strip such headers
> or rename them.
>
> Yes, in the meantime I would change the name of header or use some other
> approach to ensure propagation. But eventually (even if years from now) it
> would be nice to expect that valid articles can be posted.
>
>> I've thought a few times about relaxing this requirement since it would
>> make mail to news gatewaying a lot easier, but it's a restriction of very
>> long standing, and the silent dropping of articles on subsequent
>> propagation is pretty bad. I think it's better to force people to rename
>> the headers so that they can propagate properly.
>>
>>> Is there any other undocumented behavior of INN which does not conform
>>> to the current standards?
>>
>> Probably. But if I wrote it all up, it would then be documented, and then
>> that would cause a paradox. :)
>>
>> More seriously, while we've done a few audits of INN against various
>> standards, it probably doesn't conform in some places because people
>> haven't found those issues (or, in some rare cases, because the standard
>> is dubious in some respect). Most of them would be bugs if you found
>> them.
>
> I'll keep looking. :)
>
>> But, as noted above, rejection of these articles when offered for posting
>> is completely consistent with the standards and not a conformance issue.
>>
>>> P.S. I would suggest to remove checking the presence of Received:
>>> header. Even if someone in year of 2016 will decide to generate article
>>> in "B News" format, it won't be received by servers because this format
>>> uses Article-I.D.: header instead of Message-ID:.
>>
>> Feel free. You have all the source code. :) Specifically, this would
>> probably do what you want:
>
> I have no problems changing the code on my local machine. Thanks though.
>
>> Index: post.c
>> ===================================================================
>> --- inn/nnrpd/post.c (revision 10008)
>> +++ inn/nnrpd/post.c (working copy)
>> @@ -62,7 +62,6 @@
>> { "Keywords", true, HTstd, 0, NULL, NULL, 0 },
>> { "User-Agent", true, HTstd, 0, NULL, NULL, 0 },
>> { "Date-Received", false, HTobs, 0, NULL, NULL, 0 },
>> - { "Received", false, HTobs, 0, NULL, NULL, 0 },
>> { "Posted", false, HTobs, 0, NULL, NULL, 0 },
>> { "Posting-Version", false, HTobs, 0, NULL, NULL, 0 },
>> { "Relay-Version", false, HTobs, 0, NULL, NULL, 0 },
>>
>
>
>
--
dunno
Re: Obsolete Received: header
Author: Adam H. Kerman
Date: Fri, 06 May 2016 14:03
Date: Fri, 06 May 2016 14:03
64 lines
3783 bytes
3783 bytes
dunno <dunno@dunno.dunno> wrote: >Adam H. Kerman <ahk@chinet.com> wrote: >> dunno <dunno@dunno.dunno> wrote: >>> Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >>>> Hi dunno, >>>> >>>>>> What's causing INN to reject article with error message "Obsolete >Received: >>>>>> header"? >>>>> >>>>> I guess I should clarify. Is that because of something in the body of the >>>>> header? Or is it because of the fact that header is present in the article? >>>> >>>> There is a header named "Received:" in the headers of such rejected >>>> articles. >>>> >>>> >>>>> Seems that this header is not mentioned in RFC 5536. >>>> >>>> In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article >>>> Format': >>>> This obsolete pseudo-Internet article format, used briefly during the >>>> transition between the A News format and the modern format, followed >>>> the general outline of a MAIL message but with some non-standard >>>> headers. >>>> >>>> [...] >>>> >>>> The Received header contained >>>> the date when the latest relayer to process the article first saw it. >>>> >>>> [...] >>>> >>>> This format is documented for archaeological purposes only. Do not >>>> generate articles in this format. >>>> >>> >>> I'm not sure I understand. RFC 1849 is obsolete, and Received: header is a >>> standard header of mail messages, according to RFC 5322, and supposedly RFC >>> 5536 is built on RFC 5322. Thus, INN does not conform to the current >>> standards. If not for that, we were able to post email messages as news >>> articles without touching the headers (provided that email message already >>> have valid Newsgroups: header). Now there is a need to do pointless >>> renaming of headers to preserve tracing information of the email message. >>> >>> Is there any other undocumented behavior of INN which does not conform to >>> the current standards? >>> >>> Thank you. >>> >>> P.S. I would suggest to remove checking the presence of Received: header. >>> Even if someone in year of 2016 will decide to generate article in "B News" >>> format, it won't be received by servers because this format uses >>> Article-I.D.: header instead of Message-ID:. >> >> I think you should pay Julien to write the code you are demanding. Thank you. > >I think you should learn English, Adam. I'm suggesting, not demanding. > >Thank you. I think you should do your own fucking dirty work. Thank you.
Re: Obsolete Received: header
Author: Michael Baeuerle
Date: Fri, 06 May 2016 14:13
Date: Fri, 06 May 2016 14:13
67 lines
4397 bytes
4397 bytes
dunno wrote: > dunno <dunno@dunno.dunno> wrote: > > Russ Allbery <eagle@eyrie.org> wrote: > > > dunno <dunno@dunno.dunno> writes: > > > > > > > > I'm not sure I understand. RFC 1849 is obsolete, and Received: header is > > > > a standard header of mail messages, according to RFC 5322, and > > > > supposedly RFC 5536 is built on RFC 5322. Thus, INN does not conform to > > > > the current standards. > > > > > > No Netnews agent is ever required to accept any article. It is > > > common for injecting, relaying, and serving agents to reject well- > > > formed articles for reasons of local policy (such as not wishing to > > > carry a particular newsgroup or attempting to filter out unwanted > > > articles). This document specifies how articles are to be treated if > > > they are accepted and specifies some cases where they must be > > > rejected, but an agent MAY always reject any article for other > > > reasons than those stated here. > > > > > > There isn't a compliance issue here. There may be a quality of > > > implementation issue. > > > > According to your interpretation of this paragraph, we can write server > > software which rejects any article and still is RFC compliant. :) > > > > Seriously though, according to RFC 5536, news article with Received: header > > is valid article, and there is no obvious reason to reject it. > > > > > Also, please note the following extremely important paragraph in RFC 5536: > > > > > > All header fields in a Netnews article are compliant with [RFC5322]; > > > this specification, however, is less permissive in what can be > > > generated and accepted by agents. The syntax allowed for Netnews > > > article headers is a strict subset of the Internet Message Format > > > headers, making all headers compliant with this specification > > > inherently compliant with [RFC5322]. Note however that the converse > > > is not guaranteed to be true in all cases. > > > > > > and see appendix C of that document. There are a bunch of other reasons > > > why a valid email message may not be a valid netnews messages. > > > > This particular issue is not one of them. > > Here is one more thing I've noticed: empty header bodies are permitted by > RFC 5322, but are not allowed by RFC 5536. However, INN does not reject > such articles. Instead, it just removes illegal header fields from them, > and it's far better than rejection, IMHO. RFC5537 [1] specify this in section 3.5 part 6: | | [The injecting agent] SHOULD NOT alter, delete, or reorder any | existing header field except the Path header field. It's only "SHOULD NOT" and not "MUST NOT", so the injecting agent is allowed to decide whether correction or rejection ist the better choice. For empty fields the "delete" option is IMHO the right choice, because no relevant information is stripped or modified. Changing header field bodies is a different operation. Here it is much harder to justify why the quoted recommendation is not applied. ____________ [1] <https://tools.ietf.org/html/rfc5537#section-3.5>
Re: Obsolete Received: header
Author: Adam H. Kerman
Date: Fri, 06 May 2016 18:40
Date: Fri, 06 May 2016 18:40
88 lines
5200 bytes
5200 bytes
Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >dunno wrote: >>dunno <dunno@dunno.dunno> wrote: >>>Russ Allbery <eagle@eyrie.org> wrote: >>>>dunno <dunno@dunno.dunno> writes: >>>>>I'm not sure I understand. RFC 1849 is obsolete, and Received: header is >>>>>a standard header of mail messages, according to RFC 5322, and >>>>>supposedly RFC 5536 is built on RFC 5322. Thus, INN does not conform to >>>>>the current standards. >>>>No Netnews agent is ever required to accept any article. It is >>>>common for injecting, relaying, and serving agents to reject well- >>>>formed articles for reasons of local policy (such as not wishing to >>>>carry a particular newsgroup or attempting to filter out unwanted >>>>articles). This document specifies how articles are to be treated if >>>>they are accepted and specifies some cases where they must be >>>>rejected, but an agent MAY always reject any article for other >>>>reasons than those stated here. >>>>There isn't a compliance issue here. There may be a quality of >>>>implementation issue. >>>According to your interpretation of this paragraph, we can write server >>>software which rejects any article and still is RFC compliant. :) >>>Seriously though, according to RFC 5536, news article with Received: header >>>is valid article, and there is no obvious reason to reject it. >>>>Also, please note the following extremely important paragraph in RFC 5536: >>>>All header fields in a Netnews article are compliant with [RFC5322]; >>>>this specification, however, is less permissive in what can be >>>>generated and accepted by agents. The syntax allowed for Netnews >>>>article headers is a strict subset of the Internet Message Format >>>>headers, making all headers compliant with this specification >>>>inherently compliant with [RFC5322]. Note however that the converse >>>>is not guaranteed to be true in all cases. >>>>and see appendix C of that document. There are a bunch of other reasons >>>>why a valid email message may not be a valid netnews messages. >>>This particular issue is not one of them. >>Here is one more thing I've noticed: empty header bodies are permitted by >>RFC 5322, but are not allowed by RFC 5536. However, INN does not reject >>such articles. Instead, it just removes illegal header fields from them, >>and it's far better than rejection, IMHO. >RFC5537 [1] specify this in section 3.5 part 6: >| [The injecting agent] SHOULD NOT alter, delete, or reorder any >| existing header field except the Path header field. >It's only "SHOULD NOT" and not "MUST NOT", so the injecting agent >is allowed to decide whether correction or rejection ist the better >choice. The header is being added in injection or possibly relay. A Received header wouldn't be present in the proto-article. That's an improper interpretation of SHOULD NOT. https://tools.ietf.org/html/rfc2119#section-4 SHOULD NOT This phrase, or the phrase "NOT RECOMMENDED" mean that there may exist valid reasons in particular circumstances when the particular behavior is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behavior described with this label. My vote is for ignore the header or reject. I don't think any particular relay agent should be concerned as to whether the article might be rejected by a peer. This leads me to ask: Is a gateway required to strip any Mail-specific headers? >For empty fields the "delete" option is IMHO the right choice, because >no relevant information is stripped or modified. >Changing header field bodies is a different operation. Here it is much >harder to justify why the quoted recommendation is not applied. >____________ >[1] <https://tools.ietf.org/html/rfc5537#section-3.5>
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Fri, 06 May 2016 20:47
Date: Fri, 06 May 2016 20:47
61 lines
4057 bytes
4057 bytes
Hi Michael,
>> Here is one more thing I've noticed: empty header bodies are permitted by
>> RFC 5322, but are not allowed by RFC 5536. However, INN does not reject
>> such articles. Instead, it just removes illegal header fields from them,
>> and it's far better than rejection, IMHO.
>
> RFC5537 [1] specify this in section 3.5 part 6:
> |
> | [The injecting agent] SHOULD NOT alter, delete, or reorder any
> | existing header field except the Path header field.
>
> It's only "SHOULD NOT" and not "MUST NOT", so the injecting agent
> is allowed to decide whether correction or rejection ist the better
> choice.
>
> For empty fields the "delete" option is IMHO the right choice, because
> no relevant information is stripped or modified.
Note that erratum 4468 makes that paragraph unambiguous.
http://www.rfc-editor.org/errata_search.php?eid=4468
Section 3.5 should say:
An injecting agent processes proto-articles as follows:
[...]
2. It MAY modify header fields so that the proto-article conforms
to [RFC5536]. If made, such modifications SHOULD be as
minimal as possible. The usual changes are the removal of
empty header fields and a bit of cleaning in folding or the
syntax used.
3. It MUST reject any proto-article that does not have the proper
mandatory header fields for a proto-article, that has Injection-
Info or Xref header fields, that has a Path header field
containing the "POSTED" <diag-keyword>, or that is not
syntactically valid as defined by [RFC5536].
Rationale: most of server software has been removing empty header fields
and made syntax cleaning for ages. Some news clients do rely on that
"feature" of removing empty header fields, i.e by putting empty
Followup-To, Summary and Keywords header fields into each article opened
in the editor and not removing them if empty when posting the article.
Though RFC 1849 (Son-of-1036) says the posting agent SHOULD delete empty
headers, in practice the relayer (injecting agent) took care of that
when not done by the posting agent.
This erratum describes a variation from the standard and could be taken
into account in a revision of RFC 5537, if it happens.
--
Julien ÉLIE
« – Les sangliers apprécient mieux que toi ma musique !
– C'est normal, tu chantes comme un cochon !!! » (Astérix)
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Fri, 06 May 2016 21:15
Date: Fri, 06 May 2016 21:15
41 lines
2573 bytes
2573 bytes
Hi Adam,
> This leads me to ask: Is a gateway required to strip any Mail-specific
> headers?
It is mentioned in RFC 5537 in the moderation part:
3.9. Duties of a Moderator
[...]
Moderators process articles as follows:
1. They decide whether to approve or reject a proto-article and, if
approved, prepare the proto-article for injection. If the proto-
article was received as an unencapsulated email message, this
will require converting it back to a valid Netnews proto-article.
The article (with a possible Received: header) came from:
3.5.1. Forwarding Messages to a Moderator
[...]
2. The proto-article is sent as an email with the addition of any
header fields required for an email as defined in [RFC5322], and
possibly with the addition of other header fields conventional in
email, such as To and Received. The existing Message-ID header
field SHOULD be retained.
--
Julien ÉLIE
« – Les sangliers apprécient mieux que toi ma musique !
– C'est normal, tu chantes comme un cochon !!! » (Astérix)
Re: Obsolete Received: header
Author: Adam H. Kerman
Date: Fri, 06 May 2016 22:42
Date: Fri, 06 May 2016 22:42
11 lines
1469 bytes
1469 bytes
Julien <iulius@nom-de-mon-site.com.invalid> wrote: >Hi Adam, >>This leads me to ask: Is a gateway required to strip any Mail-specific >>headers? >It is mentioned in RFC 5537 in the moderation part: Thank you.
Re: Obsolete Received: header
Author: Michael Baeuerle
Date: Sat, 07 May 2016 07:21
Date: Sat, 07 May 2016 07:21
62 lines
3932 bytes
3932 bytes
Julien ÉLIE wrote: > Michael Bäuerle wrote: > > dunno wrote: > > > > > > Here is one more thing I've noticed: empty header bodies are permitted by > > > RFC 5322, but are not allowed by RFC 5536. However, INN does not reject > > > such articles. Instead, it just removes illegal header fields from them, > > > and it's far better than rejection, IMHO. > > > > RFC5537 [1] specify this in section 3.5 part 6: > > | > > | [The injecting agent] SHOULD NOT alter, delete, or reorder any > > | existing header field except the Path header field. > > > > It's only "SHOULD NOT" and not "MUST NOT", so the injecting agent > > is allowed to decide whether correction or rejection ist the better > > choice. > > > > For empty fields the "delete" option is IMHO the right choice, because > > no relevant information is stripped or modified. > > Note that erratum 4468 makes that paragraph unambiguous. > > http://www.rfc-editor.org/errata_search.php?eid=4468 Ah it's new (from 2015-09), I have not noticed it until now. > Section 3.5 should say: > > An injecting agent processes proto-articles as follows: > > [...] > > 2. It MAY modify header fields so that the proto-article conforms > to [RFC5536]. If made, such modifications SHOULD be as > minimal as possible. The usual changes are the removal of > empty header fields and a bit of cleaning in folding or the > syntax used. > > 3. It MUST reject any proto-article that does not have the proper > mandatory header fields for a proto-article, that has Injection- > Info or Xref header fields, that has a Path header field > containing the "POSTED" <diag-keyword>, or that is not > syntactically valid as defined by [RFC5536]. > > Rationale: most of server software has been removing empty header > fields and made syntax cleaning for ages. Some news clients do rely on > that "feature" of removing empty header fields, i.e by putting empty > Followup-To, Summary and Keywords header fields into each article > opened in the editor and not removing them if empty when posting the > article. > > Though RFC 1849 (Son-of-1036) says the posting agent SHOULD delete > empty headers, in practice the relayer (injecting agent) took care of > that when not done by the posting agent. > > This erratum describes a variation from the standard and could be taken > into account in a revision of RFC 5537, if it happens. Thank you for clarification.
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Sat, 07 May 2016 10:25
Date: Sat, 07 May 2016 10:25
24 lines
2336 bytes
2336 bytes
Hi Michael,
>> Note that erratum 4468 makes that paragraph unambiguous.
>>
>> http://www.rfc-editor.org/errata_search.php?eid=4468
>
> Ah it's new (from 2015-09), I have not noticed it until now.
Yep.
Incidentally, in case you are interested in being aware of errata, you
can subscribe to the IETF USEFOR mailing-list and the NNTP mailing-list
kindly hosted by Russ:
https://www.ietf.org/mailman/listinfo/usefor
https://lists.eyrie.org/mailman/listinfo/ietf-nntp
Very low traffic!
This newsgroup is far more used :)
--
Julien ÉLIE
« Rien ne serpe de courir ! » (Druides gaulois)
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Sat, 07 May 2016 10:43
Date: Sat, 07 May 2016 10:43
37 lines
2614 bytes
2614 bytes
Hi Russ, > And they would have shitty distribution because INN has rejected messages > containing Received headers for literally decades. So you would accept a > message and then that message would (silently) fail to propagate to other > servers, which is something that historically we've tried to avoid. > > I've thought a few times about relaxing this requirement since it would > make mail to news gatewaying a lot easier, but it's a restriction of very > long standing, and the silent dropping of articles on subsequent > propagation is pretty bad. I think it's better to force people to rename > the headers so that they can propagate properly. Once a message containing one or several Received: header fields has successfully been injected, INN propagates them. I've just tried two posts to fr.test (using IHAVE): ARTICLE <knedaklgvaegzag@news.trigofacile.com> -> contains: Received: from my node ARTICLE <knedaklgvaefgzag@news.trigofacile.com> -> contains: Received: from my node Received: and also from another node Is the propagation failure related to other news servers? -- Julien ÉLIE « Rien ne serpe de courir ! » (Druides gaulois)
Re: Obsolete Received: header
Author: Russ Allbery
Date: Sat, 07 May 2016 16:12
Date: Sat, 07 May 2016 16:12
21 lines
2042 bytes
2042 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Once a message containing one or several Received: header fields has
> successfully been injected, INN propagates them.
For some reason I thought that was a relatively recent fix and the HTobs
flag on headers in innd used to result in a reject, but I just checked INN
2.4 and apparently I'm making that up. So indeed, the propagation issue
that I thought existed probably doesn't.
Given that, maybe we should drop Received and maybe a few other headers
from the obsolete header list in nnrpd. Can anyone think of any downsides
to doing that?
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Obsolete Received: header
Author: dunno
Date: Sun, 08 May 2016 04:50
Date: Sun, 08 May 2016 04:50
80 lines
4954 bytes
4954 bytes
Michael Baeuerle <michael.baeuerle@stz-e.de> wrote: > dunno wrote: >> dunno <dunno@dunno.dunno> wrote: >>> Russ Allbery <eagle@eyrie.org> wrote: >>>> dunno <dunno@dunno.dunno> writes: >>>>> >>>>> I'm not sure I understand. RFC 1849 is obsolete, and Received: header is >>>>> a standard header of mail messages, according to RFC 5322, and >>>>> supposedly RFC 5536 is built on RFC 5322. Thus, INN does not conform to >>>>> the current standards. >>>> >>>> No Netnews agent is ever required to accept any article. It is >>>> common for injecting, relaying, and serving agents to reject well- >>>> formed articles for reasons of local policy (such as not wishing to >>>> carry a particular newsgroup or attempting to filter out unwanted >>>> articles). This document specifies how articles are to be treated if >>>> they are accepted and specifies some cases where they must be >>>> rejected, but an agent MAY always reject any article for other >>>> reasons than those stated here. >>>> >>>> There isn't a compliance issue here. There may be a quality of >>>> implementation issue. >>> >>> According to your interpretation of this paragraph, we can write server >>> software which rejects any article and still is RFC compliant. :) >>> >>> Seriously though, according to RFC 5536, news article with Received: header >>> is valid article, and there is no obvious reason to reject it. >>> >>>> Also, please note the following extremely important paragraph in RFC 5536: >>>> >>>> All header fields in a Netnews article are compliant with [RFC5322]; >>>> this specification, however, is less permissive in what can be >>>> generated and accepted by agents. The syntax allowed for Netnews >>>> article headers is a strict subset of the Internet Message Format >>>> headers, making all headers compliant with this specification >>>> inherently compliant with [RFC5322]. Note however that the converse >>>> is not guaranteed to be true in all cases. >>>> >>>> and see appendix C of that document. There are a bunch of other reasons >>>> why a valid email message may not be a valid netnews messages. >>> >>> This particular issue is not one of them. >> >> Here is one more thing I've noticed: empty header bodies are permitted by >> RFC 5322, but are not allowed by RFC 5536. However, INN does not reject >> such articles. Instead, it just removes illegal header fields from them, >> and it's far better than rejection, IMHO. > > RFC5537 [1] specify this in section 3.5 part 6: > | > | [The injecting agent] SHOULD NOT alter, delete, or reorder any > | existing header field except the Path header field. > > It's only "SHOULD NOT" and not "MUST NOT", so the injecting agent > is allowed to decide whether correction or rejection ist the better > choice. > > For empty fields the "delete" option is IMHO the right choice, because > no relevant information is stripped or modified. I agree. That's exactly what I meant in the previous message. > Changing header field bodies is a different operation. Here it is much > harder to justify why the quoted recommendation is not applied. I didn't propose to strip Received: headers (even though that's what all mail2news gateways are currently doing.) I just mentioned this to illustrate how similar issue is handled by INN. > ____________ > [1] <https://tools.ietf.org/html/rfc5537#section-3.5> > -- dunno
Re: Obsolete Received: header
Author: dunno
Date: Sun, 08 May 2016 04:50
Date: Sun, 08 May 2016 04:50
47 lines
3011 bytes
3011 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: > Hi Russ, > >> And they would have shitty distribution because INN has rejected messages >> containing Received headers for literally decades. So you would accept a >> message and then that message would (silently) fail to propagate to other >> servers, which is something that historically we've tried to avoid. >> >> I've thought a few times about relaxing this requirement since it would >> make mail to news gatewaying a lot easier, but it's a restriction of very >> long standing, and the silent dropping of articles on subsequent >> propagation is pretty bad. I think it's better to force people to rename >> the headers so that they can propagate properly. > > Once a message containing one or several Received: header fields has > successfully been injected, INN propagates them. That's very good to hear. Apparently innd is not checking the presence of Received: header, only nnrpd does. By the way, I have older INN version installed on my local machine, and it have problems posting articles (using POST) with multiple occurrences of the same header. Seems that only the last version of header is kept in injected article. Was this fixed in the last version? > I've just tried two posts to fr.test (using IHAVE): > > ARTICLE <knedaklgvaegzag@news.trigofacile.com> > -> contains: > Received: from my node > > > ARTICLE <knedaklgvaefgzag@news.trigofacile.com> > -> contains: > Received: from my node > Received: and also from another node > > > Is the propagation failure related to other news servers? > -- dunno
Re: Obsolete Received: header
Author: dunno
Date: Sun, 08 May 2016 04:50
Date: Sun, 08 May 2016 04:50
21 lines
2140 bytes
2140 bytes
Russ Allbery <eagle@eyrie.org> wrote: > Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes: > >> Once a message containing one or several Received: header fields has >> successfully been injected, INN propagates them. > > For some reason I thought that was a relatively recent fix and the HTobs > flag on headers in innd used to result in a reject, but I just checked INN > 2.4 and apparently I'm making that up. So indeed, the propagation issue > that I thought existed probably doesn't. > > Given that, maybe we should drop Received and maybe a few other headers > from the obsolete header list in nnrpd. Can anyone think of any downsides > to doing that? Which other headers are you thinking about? -- dunno
Re: Obsolete Received: header
Author: dunno
Date: Sun, 08 May 2016 04:53
Date: Sun, 08 May 2016 04:53
71 lines
4000 bytes
4000 bytes
Adam H. Kerman <ahk@chinet.com> wrote: > dunno <dunno@dunno.dunno> wrote: >> Adam H. Kerman <ahk@chinet.com> wrote: >>> dunno <dunno@dunno.dunno> wrote: >>>> Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >>>>> Hi dunno, >>>>> >>>>>>> What's causing INN to reject article with error message "Obsolete >> Received: >>>>>>> header"? >>>>>> >>>>>> I guess I should clarify. Is that because of something in the body of the >>>>>> header? Or is it because of the fact that header is present in the article? >>>>> >>>>> There is a header named "Received:" in the headers of such rejected >>>>> articles. >>>>> >>>>> >>>>>> Seems that this header is not mentioned in RFC 5536. >>>>> >>>>> In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article >>>>> Format': >>>>> This obsolete pseudo-Internet article format, used briefly during the >>>>> transition between the A News format and the modern format, followed >>>>> the general outline of a MAIL message but with some non-standard >>>>> headers. >>>>> >>>>> [...] >>>>> >>>>> The Received header contained >>>>> the date when the latest relayer to process the article first saw it. >>>>> >>>>> [...] >>>>> >>>>> This format is documented for archaeological purposes only. Do not >>>>> generate articles in this format. >>>>> >>>> >>>> I'm not sure I understand. RFC 1849 is obsolete, and Received: header is a >>>> standard header of mail messages, according to RFC 5322, and supposedly RFC >>>> 5536 is built on RFC 5322. Thus, INN does not conform to the current >>>> standards. If not for that, we were able to post email messages as news >>>> articles without touching the headers (provided that email message already >>>> have valid Newsgroups: header). Now there is a need to do pointless >>>> renaming of headers to preserve tracing information of the email message. >>>> >>>> Is there any other undocumented behavior of INN which does not conform to >>>> the current standards? >>>> >>>> Thank you. >>>> >>>> P.S. I would suggest to remove checking the presence of Received: header. >>>> Even if someone in year of 2016 will decide to generate article in "B News" >>>> format, it won't be received by servers because this format uses >>>> Article-I.D.: header instead of Message-ID:. >>> >>> I think you should pay Julien to write the code you are demanding. Thank you. >> >> I think you should learn English, Adam. I'm suggesting, not demanding. >> >> Thank you. > > I think you should do your own fucking dirty work. Thank you. > I think it's always funny to see your butthurt. Thank you. -- dunno
Re: Obsolete Received: header
Author: Michael Baeuerle
Date: Sun, 08 May 2016 11:27
Date: Sun, 08 May 2016 11:27
25 lines
2302 bytes
2302 bytes
Julien ÉLIE wrote: > Michael Bäuerle wrote: > > Julien ÉLIE wrote: > > > > > > Note that erratum 4468 makes that paragraph unambiguous. > > > > > > http://www.rfc-editor.org/errata_search.php?eid=4468 > > > > Ah it's new (from 2015-09), I have not noticed it until now. > > Yep. > Incidentally, in case you are interested in being aware of errata, you > can subscribe to the IETF USEFOR mailing-list and the NNTP mailing-list > kindly hosted by Russ: > https://www.ietf.org/mailman/listinfo/usefor > https://lists.eyrie.org/mailman/listinfo/ietf-nntp > > Very low traffic! > This newsgroup is far more used :) I read them via NNTP from "news.gmane.org". Looks like I overlooked your mail or it was this problem: <https://mailarchive.ietf.org/arch/msg/usefor/juOBYGS0U8crgtQbeWzFzDJsJ1k>
Re: Obsolete Received: header
Author: Adam H. Kerman
Date: Sun, 08 May 2016 14:30
Date: Sun, 08 May 2016 14:30
76 lines
4289 bytes
4289 bytes
dunno <dunno@dunno.dunno> wrote: >Adam H. Kerman <ahk@chinet.com> wrote: >>dunno <dunno@dunno.dunno> wrote: >>>Adam H. Kerman <ahk@chinet.com> wrote: >>>>dunno <dunno@dunno.dunno> wrote: >>>>>Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >>>>>>Hi dunno, >>>>>>>>What's causing INN to reject article with error message "Obsolete >>>>>>>>Received: header"? >>>>>>>I guess I should clarify. Is that because of something in the body >>>>>>>of the header? Or is it because of the fact that header is present >>>>>>>in the article? >>>>>>There is a header named "Received:" in the headers of such rejected >>>>>>articles. >>>>>>>Seems that this header is not mentioned in RFC 5536. >>>>>>In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article >>>>>>Format': >>>>>>This obsolete pseudo-Internet article format, used briefly during the >>>>>>transition between the A News format and the modern format, followed >>>>>>the general outline of a MAIL message but with some non-standard >>>>>>headers. >>>>>>[...] >>>>>>The Received header contained >>>>>>the date when the latest relayer to process the article first saw it. >>>>>>[...] >>>>>>This format is documented for archaeological purposes only. Do not >>>>>>generate articles in this format. >>>>>I'm not sure I understand. RFC 1849 is obsolete, and Received: >>>>>header is a standard header of mail messages, according to RFC >>>>>5322, and supposedly RFC 5536 is built on RFC 5322. Thus, INN does >>>>>not conform to the current standards. If not for that, we were >>>>>able to post email messages as news articles without touching the >>>>>headers (provided that email message already have valid Newsgroups: >>>>>header). Now there is a need to do pointless renaming of headers to >>>>>preserve tracing information of the email message. >>>>>Is there any other undocumented behavior of INN which does not conform to >>>>>the current standards? >>>>>Thank you. >>>>>P.S. I would suggest to remove checking the presence of Received: >>>>>header. Even if someone in year of 2016 will decide to generate >>>>>article in "B News" format, it won't be received by servers because >>>>>this format uses Article-I.D.: header instead of Message-ID:. >>>>I think you should pay Julien to write the code you are demanding. >>>>Thank you. >>>I think you should learn English, Adam. I'm suggesting, not demanding. >>>Thank you. >>I think you should do your own fucking dirty work. Thank you. >I think it's always funny to see your butthurt. Thank you. I think it's interesting that you were spoonfed which code to alter, and that was something you couldn't be bothered to do. It goes to my original point, that you're not actually interested in the issue, that you were just trying to see how many people you could get to dance. No one really believed that you had genuine concerns about the needs of those still using "B" News.
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Sun, 08 May 2016 18:45
Date: Sun, 08 May 2016 18:45
17 lines
2091 bytes
2091 bytes
dunno, > By the way, I have older INN version installed on my local machine, and it > have problems posting articles (using POST) with multiple occurrences of > the same header. Seems that only the last version of header is kept in > injected article. Was this fixed in the last version? When several occurrences of standard headers appear in a same article, only the last one is taken into account. What header field(s) would you expect to see several times? -- Julien ÉLIE « Rien ne serpe de courir ! » (Druides gaulois)
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Sun, 08 May 2016 18:48
Date: Sun, 08 May 2016 18:48
16 lines
2239 bytes
2239 bytes
Hi Michael, > I read them via NNTP from "news.gmane.org". Looks like I overlooked your > mail or it was this problem: > <https://mailarchive.ietf.org/arch/msg/usefor/juOBYGS0U8crgtQbeWzFzDJsJ1k> That may indeed explain the issue. I do not know whether the mail address has been fixed since that time. We'll see when and if an erratum is ever found! -- Julien ÉLIE « Rien ne serpe de courir ! » (Druides gaulois)
Re: Obsolete Received: header
Author: dunno
Date: Sun, 08 May 2016 19:49
Date: Sun, 08 May 2016 19:49
23 lines
2247 bytes
2247 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: > dunno, > >> By the way, I have older INN version installed on my local machine, and it >> have problems posting articles (using POST) with multiple occurrences of >> the same header. Seems that only the last version of header is kept in >> injected article. Was this fixed in the last version? > > When several occurrences of standard headers appear in a same article, > only the last one is taken into account. > What header field(s) would you expect to see several times? > All of them which are not explicitly prohibited to occur more than once. That is, all of the non-standard and some of the standard (for example, Comments: header). I'll create a new thread little bit later. -- dunno
Re: Obsolete Received: header
Author: dunno
Date: Sun, 08 May 2016 19:49
Date: Sun, 08 May 2016 19:49
93 lines
4933 bytes
4933 bytes
Adam H. Kerman <ahk@chinet.com> wrote: > dunno <dunno@dunno.dunno> wrote: >> Adam H. Kerman <ahk@chinet.com> wrote: >>> dunno <dunno@dunno.dunno> wrote: >>>> Adam H. Kerman <ahk@chinet.com> wrote: >>>>> dunno <dunno@dunno.dunno> wrote: >>>>>> Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: > >>>>>>> Hi dunno, > >>>>>>>>> What's causing INN to reject article with error message "Obsolete >>>>>>>>> Received: header"? > >>>>>>>> I guess I should clarify. Is that because of something in the body >>>>>>>> of the header? Or is it because of the fact that header is present >>>>>>>> in the article? > >>>>>>> There is a header named "Received:" in the headers of such rejected >>>>>>> articles. > >>>>>>>> Seems that this header is not mentioned in RFC 5536. > >>>>>>> In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article >>>>>>> Format': >>>>>>> This obsolete pseudo-Internet article format, used briefly during the >>>>>>> transition between the A News format and the modern format, followed >>>>>>> the general outline of a MAIL message but with some non-standard >>>>>>> headers. > >>>>>>> [...] > >>>>>>> The Received header contained >>>>>>> the date when the latest relayer to process the article first saw it. > >>>>>>> [...] > >>>>>>> This format is documented for archaeological purposes only. Do not >>>>>>> generate articles in this format. > >>>>>> I'm not sure I understand. RFC 1849 is obsolete, and Received: >>>>>> header is a standard header of mail messages, according to RFC >>>>>> 5322, and supposedly RFC 5536 is built on RFC 5322. Thus, INN does >>>>>> not conform to the current standards. If not for that, we were >>>>>> able to post email messages as news articles without touching the >>>>>> headers (provided that email message already have valid Newsgroups: >>>>>> header). Now there is a need to do pointless renaming of headers to >>>>>> preserve tracing information of the email message. > >>>>>> Is there any other undocumented behavior of INN which does not conform to >>>>>> the current standards? > >>>>>> Thank you. > >>>>>> P.S. I would suggest to remove checking the presence of Received: >>>>>> header. Even if someone in year of 2016 will decide to generate >>>>>> article in "B News" format, it won't be received by servers because >>>>>> this format uses Article-I.D.: header instead of Message-ID:. > >>>>> I think you should pay Julien to write the code you are demanding. >>>>> Thank you. > >>>> I think you should learn English, Adam. I'm suggesting, not demanding. > >>>> Thank you. > >>> I think you should do your own fucking dirty work. Thank you. > >> I think it's always funny to see your butthurt. Thank you. > > I think it's interesting that you were spoonfed which code to alter, > and that was something you couldn't be bothered to do. It goes to my > original point, that you're not actually interested in the issue, > that you were just trying to see how many people you could get > to dance. No one really believed that you had genuine concerns about > the needs of those still using "B" News. > Of course no one believed in that, because no one here is as stupid as you. I never expressed any concerns about those using B News. I wrote mail2news script. My goals were: 1. Accept all email messages which conform to RFC 5536. 2. Preserve all the headers, especially the ones containing tracing information. I was surprised to see that INN didn't work as expected, so I created this thread. -- dunno
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Sun, 08 May 2016 19:54
Date: Sun, 08 May 2016 19:54
69 lines
3320 bytes
3320 bytes
Hi Russ,
> Given that, maybe we should drop Received and maybe a few other headers
> from the obsolete header list in nnrpd. Can anyone think of any downsides
> to doing that?
The obsolete list in nnrpd is currently:
Also-Control
Article-Names
Article-Updates
NNTP-Posting-Host
NNTP-Posting-Date
Date-Received
Posting-Version
Relay-Version
See-Also
+
X-Trace
X-Complaints-To
Received
Posted
I have separated the former ones from the rest because the former ones
are marked as obsolete in the "Permanent Message Header Field Names"
registry:
http://www.iana.org/assignments/message-headers/message-headers.xhtml
I believe they should keep being unwanted in posted articles.
The above registry also marks as deprecated:
Lines
X-Archived-At
but I believe it is too early for nnrpd to refuse to post an article
containing one of these two headers.
RFC 5536 mentions:
NOTE: Some of this information has previously been sent in non-
standardized header fields such as NNTP-Posting-Host, X-Trace,
X-Complaints-To, and others. Once a news server generates an
Injection-Info header field, it should have no need to send these
non-standard header fields.
but unfortunately only NNTP-Posting-Host and NNTP-Posting-Date have been
marked as obsolete for the IANA registry. Is there a reason for X-Trace
and X-Complaints-To not to have been marked as obsolete? (Because they
begin with "X-"? Yet, the registry mentions "X-Frame-Options" for http
and "X-Archived-At" for mail and netnews.)
I would suggest to only drop Received and Posted from the obsolete
header list in nnrpd.
I do not see any downsides.
Do you have other headers to drop in mind?
--
Julien ÉLIE
« Rien ne serpe de courir ! » (Druides gaulois)
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Sun, 08 May 2016 20:09
Date: Sun, 08 May 2016 20:09
49 lines
3321 bytes
3321 bytes
dunno, >>> By the way, I have older INN version installed on my local machine, and it >>> have problems posting articles (using POST) with multiple occurrences of >>> the same header. Seems that only the last version of header is kept in >>> injected article. Was this fixed in the last version? >> >> When several occurrences of standard headers appear in a same article, >> only the last one is taken into account. >> What header field(s) would you expect to see several times? > > All of them which are not explicitly prohibited to occur more than once. > That is, all of the non-standard and some of the standard (for example, > Comments: header). What version of INN are you using and see the issue with the Comments: header field? I made sure the Comments: header field can appear several times, and no released version of INN has that bug! Commit 8887: https://inn.eyrie.org/trac/changeset/8887/trunk/nnrpd/post.c "No longer check for Comments: and Original-Sender: in nnrpd. Otherwise, multiple headers for them were rejected by nnrpd, which violated RFCs 5536 and 5537. Only CURRENT was affected." /* The Comments: and Original-Sender: header fields can appear more than once * in the headers of an article. Consequently, we MUST NOT put them here. */ > I'll create a new thread little bit later. Of course if you have noticed a header field that can occur more than once in an article but that article is rejected by nnrpd because of this very reason, it is a genuine bug. I look forward to your separate thread on that issue. -- Julien ÉLIE « Rien ne serpe de courir ! » (Druides gaulois)
Re: Obsolete Received: header
Author: Russ Allbery
Date: Sun, 08 May 2016 20:34
Date: Sun, 08 May 2016 20:34
86 lines
4249 bytes
4249 bytes
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Hi Russ,
>> Given that, maybe we should drop Received and maybe a few other headers
>> from the obsolete header list in nnrpd. Can anyone think of any downsides
>> to doing that?
> The obsolete list in nnrpd is currently:
> Also-Control
> Article-Names
> Article-Updates
> NNTP-Posting-Host
> NNTP-Posting-Date
> Date-Received
> Posting-Version
> Relay-Version
> See-Also
> +
> X-Trace
> X-Complaints-To
> Received
> Posted
> I have separated the former ones from the rest because the former ones are
> marked as obsolete in the "Permanent Message Header Field Names" registry:
> http://www.iana.org/assignments/message-headers/message-headers.xhtml
> I believe they should keep being unwanted in posted articles.
Yeah, agreed. And X-Trace and X-Complaints-To are marked as obsolete to
keep clients from providing them, since they used to be valid trace
headers and could be confusing from an abuse perspective. So I think they
should also stay obsolete.
That leaves Received and Posted, which I don't think have any real meaning
any more and could probably be safely allowed by nnrpd.
(Honestly, Posting-Version, Relay-Version, See-Also, Article-Names, and
Article-Updates could as well, but I've never seen anyone use those
headers in practice and I don't think it's really hurting anything to
leave well enough alone, particularly since they're explicitly declared
obsolete.)
> The above registry also marks as deprecated:
> Lines
> X-Archived-At
> but I believe it is too early for nnrpd to refuse to post an article
> containing one of these two headers.
Indeed.
> RFC 5536 mentions:
> NOTE: Some of this information has previously been sent in non-
> standardized header fields such as NNTP-Posting-Host, X-Trace,
> X-Complaints-To, and others. Once a news server generates an
> Injection-Info header field, it should have no need to send these
> non-standard header fields.
> but unfortunately only NNTP-Posting-Host and NNTP-Posting-Date have been
> marked as obsolete for the IANA registry. Is there a reason for X-Trace
> and X-Complaints-To not to have been marked as obsolete? (Because they
> begin with "X-"? Yet, the registry mentions "X-Frame-Options" for http
> and "X-Archived-At" for mail and netnews.)
I think only INN ever used those headers, but it would probably still be a
good idea to explicitly mark them as obsolete.
> I would suggest to only drop Received and Posted from the obsolete header
> list in nnrpd.
> I do not see any downsides.
> Do you have other headers to drop in mind?
Nope, that's pretty much where I'm at as well. :)
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Obsolete Received: header
Author: Adam H. Kerman
Date: Sun, 08 May 2016 20:55
Date: Sun, 08 May 2016 20:55
96 lines
5094 bytes
5094 bytes
dunno <dunno@dunno.dunno> wrote: >Adam H. Kerman <ahk@chinet.com> wrote: >>dunno <dunno@dunno.dunno> wrote: >>>Adam H. Kerman <ahk@chinet.com> wrote: >>>>dunno <dunno@dunno.dunno> wrote: >>>>>Adam H. Kerman <ahk@chinet.com> wrote: >>>>>>dunno <dunno@dunno.dunno> wrote: >>>>>>>Julien <iulius@nom-de-mon-site.com.invalid> wrote: >>>>>>>>Hi dunno, >>>>>>>>>>What's causing INN to reject article with error message "Obsolete >>>>>>>>>>Received: header"? >>>>>>>>>I guess I should clarify. Is that because of something in the body >>>>>>>>>of the header? Or is it because of the fact that header is present >>>>>>>>>in the article? >>>>>>>>There is a header named "Received:" in the headers of such rejected >>>>>>>>articles. >>>>>>>>>Seems that this header is not mentioned in RFC 5536. >>>>>>>>In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article >>>>>>>>Format': >>>>>>>>This obsolete pseudo-Internet article format, used briefly during the >>>>>>>>transition between the A News format and the modern format, followed >>>>>>>>the general outline of a MAIL message but with some non-standard >>>>>>>>headers. >>>>>>>>[...] >>>>>>>>The Received header contained >>>>>>>>the date when the latest relayer to process the article first saw it. >>>>>>>>[...] >>>>>>>>This format is documented for archaeological purposes only. Do not >>>>>>>>generate articles in this format. >>>>>>>I'm not sure I understand. RFC 1849 is obsolete, and Received: >>>>>>>header is a standard header of mail messages, according to RFC >>>>>>>5322, and supposedly RFC 5536 is built on RFC 5322. Thus, INN does >>>>>>>not conform to the current standards. If not for that, we were >>>>>>>able to post email messages as news articles without touching the >>>>>>>headers (provided that email message already have valid Newsgroups: >>>>>>>header). Now there is a need to do pointless renaming of headers to >>>>>>>preserve tracing information of the email message. >>>>>>>Is there any other undocumented behavior of INN which does not >>>>>>>conform to the current standards? >>>>>>>Thank you. >>>>>>>P.S. I would suggest to remove checking the presence of Received: >>>>>>>header. Even if someone in year of 2016 will decide to generate >>>>>>>article in "B News" format, it won't be received by servers because >>>>>>>this format uses Article-I.D.: header instead of Message-ID:. >>>>>>I think you should pay Julien to write the code you are demanding. >>>>>>Thank you. >>>>>I think you should learn English, Adam. I'm suggesting, not demanding. >>>>>Thank you. >>>>I think you should do your own fucking dirty work. Thank you. >>>I think it's always funny to see your butthurt. Thank you. >>I think it's interesting that you were spoonfed which code to alter, >>and that was something you couldn't be bothered to do. It goes to my >>original point, that you're not actually interested in the issue, >>that you were just trying to see how many people you could get >>to dance. No one really believed that you had genuine concerns about >>the needs of those still using "B" News. >Of course no one believed in that, because no one here is as stupid as you. >I never expressed any concerns about those using B News. What you wrote about B News is quoted above. >I wrote mail2news script. My goals were: >1. Accept all email messages which conform to RFC 5536. >2. Preserve all the headers, especially the ones containing tracing >information. I had already guessed that, which is why I asked the specific question about the duties of the gateway elsewhere in the thread. Did you read the followup? >I was surprised to see that INN didn't work as expected, so I created this >thread.
Re: Obsolete Received: header
Author: Adam H. Kerman
Date: Sun, 08 May 2016 21:01
Date: Sun, 08 May 2016 21:01
12 lines
1718 bytes
1718 bytes
Julien <iulius@nom-de-mon-site.com.invalid> wrote: >I would suggest to only drop Received and Posted from the obsolete >header list in nnrpd. >I do not see any downsides. What if the article is gated back to Mail? The News-to-Mail gateway wouldn't know what to do with the inapplicable Mail headers from before it passed through the Mail-to-News gateway, and that wouldn't provide useful information to a user or system administrator for diagnostic purposes.
Re: Obsolete Received: header
Author: Russ Allbery
Date: Sun, 08 May 2016 23:09
Date: Sun, 08 May 2016 23:09
30 lines
2358 bytes
2358 bytes
"Adam H. Kerman" <ahk@chinet.com> writes:
> Julien <iulius@nom-de-mon-site.com.invalid> wrote:
>> I would suggest to only drop Received and Posted from the obsolete
>> header list in nnrpd.
>> I do not see any downsides.
> What if the article is gated back to Mail? The News-to-Mail gateway
> wouldn't know what to do with the inapplicable Mail headers from before
> it passed through the Mail-to-News gateway, and that wouldn't provide
> useful information to a user or system administrator for diagnostic
> purposes.
In both cases, I don't think they're actually inapplicable. They're part
of the path of the mail message. It's already typical for mail messages
to accumulate quite the list of Received headers as they bounce through
various things, and anyone who is analyzing them already has to be careful
to read them in the correct order to ignore weird internal crap near the
start of the message's path.
So I think it's fine to round-trip both of those headers back into mail.
At least, I can't see any obvious problem that it would cause.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Obsolete Received: header
Author: dunno
Date: Mon, 09 May 2016 00:54
Date: Mon, 09 May 2016 00:54
110 lines
5808 bytes
5808 bytes
Adam H. Kerman <ahk@chinet.com> wrote: > dunno <dunno@dunno.dunno> wrote: >> Adam H. Kerman <ahk@chinet.com> wrote: >>> dunno <dunno@dunno.dunno> wrote: >>>> Adam H. Kerman <ahk@chinet.com> wrote: >>>>> dunno <dunno@dunno.dunno> wrote: >>>>>> Adam H. Kerman <ahk@chinet.com> wrote: >>>>>>> dunno <dunno@dunno.dunno> wrote: >>>>>>>> Julien <iulius@nom-de-mon-site.com.invalid> wrote: > >>>>>>>>> Hi dunno, > >>>>>>>>>>> What's causing INN to reject article with error message "Obsolete >>>>>>>>>>> Received: header"? > >>>>>>>>>> I guess I should clarify. Is that because of something in the body >>>>>>>>>> of the header? Or is it because of the fact that header is present >>>>>>>>>> in the article? > >>>>>>>>> There is a header named "Received:" in the headers of such rejected >>>>>>>>> articles. > >>>>>>>>>> Seems that this header is not mentioned in RFC 5536. > >>>>>>>>> In RFC 1849 (Son-of-1036), see 'Appendix A.2. Early "B News" Article >>>>>>>>> Format': >>>>>>>>> This obsolete pseudo-Internet article format, used briefly during the >>>>>>>>> transition between the A News format and the modern format, followed >>>>>>>>> the general outline of a MAIL message but with some non-standard >>>>>>>>> headers. > >>>>>>>>> [...] > >>>>>>>>> The Received header contained >>>>>>>>> the date when the latest relayer to process the article first saw it. > >>>>>>>>> [...] > >>>>>>>>> This format is documented for archaeological purposes only. Do not >>>>>>>>> generate articles in this format. > >>>>>>>> I'm not sure I understand. RFC 1849 is obsolete, and Received: >>>>>>>> header is a standard header of mail messages, according to RFC >>>>>>>> 5322, and supposedly RFC 5536 is built on RFC 5322. Thus, INN does >>>>>>>> not conform to the current standards. If not for that, we were >>>>>>>> able to post email messages as news articles without touching the >>>>>>>> headers (provided that email message already have valid Newsgroups: >>>>>>>> header). Now there is a need to do pointless renaming of headers to >>>>>>>> preserve tracing information of the email message. > >>>>>>>> Is there any other undocumented behavior of INN which does not >>>>>>>> conform to the current standards? > >>>>>>>> Thank you. > >>>>>>>> P.S. I would suggest to remove checking the presence of Received: >>>>>>>> header. Even if someone in year of 2016 will decide to generate >>>>>>>> article in "B News" format, it won't be received by servers because >>>>>>>> this format uses Article-I.D.: header instead of Message-ID:. > >>>>>>> I think you should pay Julien to write the code you are demanding. >>>>>>> Thank you. > >>>>>> I think you should learn English, Adam. I'm suggesting, not demanding. > >>>>>> Thank you. > >>>>> I think you should do your own fucking dirty work. Thank you. > >>>> I think it's always funny to see your butthurt. Thank you. > >>> I think it's interesting that you were spoonfed which code to alter, >>> and that was something you couldn't be bothered to do. It goes to my >>> original point, that you're not actually interested in the issue, >>> that you were just trying to see how many people you could get >>> to dance. No one really believed that you had genuine concerns about >>> the needs of those still using "B" News. > >> Of course no one believed in that, because no one here is as stupid as you. >> I never expressed any concerns about those using B News. > > What you wrote about B News is quoted above. Yes, and it's not a "concern". I've said that articles in B News format won't be accepted by modern NNTP servers regardless of the presence of Received: header field. My point was that rejecting article based on the presence of this header field because supposedly it might be article in obsolete B News format is not correct. >> I wrote mail2news script. My goals were: > >> 1. Accept all email messages which conform to RFC 5536. >> 2. Preserve all the headers, especially the ones containing tracing >> information. > > I had already guessed that, which is why I asked the specific question > about the duties of the gateway elsewhere in the thread. Did you read > the followup? I did. However, I didn't think you're really interested in reading my opinion, so I didn't bother to reply. >> I was surprised to see that INN didn't work as expected, so I created this >> thread. > -- dunno
Re: Obsolete Received: header
Author: Julien ÉLIE
Date: Sat, 28 May 2016 18:38
Date: Sat, 28 May 2016 18:38
27 lines
2406 bytes
2406 bytes
Hi Russ,
>> Once a message containing one or several Received: header fields has
>> successfully been injected, INN propagates them.
>
> For some reason I thought that was a relatively recent fix and the HTobs
> flag on headers in innd used to result in a reject, but I just checked INN
> 2.4 and apparently I'm making that up.
There indeed was a change in INN 2.4.0 related to HTobs.
innd (2.3.5) silently removed obsolete header fields when relaying
articles. Starting from INN 2.4.0, such headers have been kept untouched.
> Given that, maybe we should drop Received and maybe a few other headers
> from the obsolete header list in nnrpd.
Now done for Received and Posted. Will be shipped with INN 2.6.1.
--
Julien ÉLIE
« – Ce n'était pas ma question.
– C'était p'têt pas vot'question, oui, mais c'est ma
réponse ! » (Georges Marchais répondant à Alain Duhamel)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads