Article View: news.software.nntp
Article #86472Re: Non-standard 'From' fields
From: michael.baeuerle my name my mail...
Date: Sat, 28 Mar 2015 11:21
Date: Sat, 28 Mar 2015 11:21
74 lines
4496 bytes
4496 bytes
Adam H. Kerman wrote: > Russ Allbery wrote: > > Michael Baeuerle writes: > > > > > > The current standard for USENET articles is RFC5536 [2] and specify it > > > this way: > > > | > > > | from = "From:" SP mailbox-list CRLF > > > > > > with 'mailbox-list' as defined in RFC5322 (the current evolution of > > > RFC822). So the special syntax with the redefined comment is no longer > > > allowed for USENET articles. A RFC5536 compliant parser discards the > > > comment with the "full name". > > > > Not allowed is a little strong in the sense that it's a syntactically > > valid from header in RFC5536. It's just that it loses information, since > > the comment is just a comment. > > There's section 3.2.2 in RFC 5322 on how to structure a comment. The > comment would be retained. Where's the information loss? The content of the comment is no longer defined as "full name" (can contain arbitrary data). The normal purpose of comments are human readable hints at protocol level (not part of the payload). The exception in RFC850 was an abuse of the comment. > If it is a > name, it's readable by the reader of the Usenet article. We're not trying > to capture information for a database (unless we're an address harvester). > > > > Because the old format from RFC850 is still in common use for USENET > > > articles, for flnews I have implemented a RFC5536 parser with a > > > converter [3] in front of it: If the old RFC850 format is detected, it is > > > first converted to the current format and the result is processed by the > > > RFC5536 based header parser. > > > > Yup, that's what I'd do too. Basically, if you have a bare email address > > and one comment, assume the contents of the comment is actually a name. > > What if it really was a comment? > > I don't see any harm to Usenet or any benefit to the author in > making assumptions and translating into a different format. There are no assumptions required. The current format can be identified via the angle brackets of the address. If there are no angle brackets, there can be no full name. Guessing the meaning of the undefined content in comments will require assumtions instead. Therefore a standard compliant RFC5536 parser should find no "full name" in an address with RFC850 format. My converter explicitly declares the content of the comment as the "full name" and feed the result of this declaration into the parser (that otherwise would detect the mailbox-list only). Note that the mailbox-list itself is allowed to contain comments and folding: | | From: some.name (not my name) | @domain.invalid (registered by me) | (Full name) (garbage) should be valid syntax according to RFC5322. It is noted that you "SHOULD NOT" send such things, but the parser of the recipient must understand them (should report the mailbox "some.name@domain.invalid" and no "full name" in this case) I will try to manually edit the "From:" header field of this article for demonstration. -- Sorry, aber mit der Einstellung würden wir heute aus Sicherheitsgründen noch auf dem Baum sitzen. Wer etwas Neues schaffen will, muß auch was wagen - aber da heute Kinder schon zu Fuß mit Helm rumlaufen gilt das wohl nicht mehr... [Eric Brücklmeier in dse]
Technical Details
Message-ID:
<AABVFoWdZC0AAErI.A1.flnews@WStation4.micha.freeshell.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.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin3!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<ukdvda99imjm7ba0j7o4u8hem7e8p79nbr@4ax.com> <AABVFTjZlBMAAAoN.A1.flnews@WStation3.stz-e.de> <87y4mikrxa.fsf@hope.eyrie.org> <mf5f0h$51o$4@news.albasani.net>Show Full Headers
Complete Article Headers
Message-ID: <AABVFoWdZC0AAErI.A1.flnews@WStation4.micha.freeshell.org> Subject: Re: Non-standard 'From' fields Date: Sat, 28 Mar 2015 11:21:54 +0000 From: michael.baeuerle (my name) @gmx.net (my mailbox provider) (Not my full name) References: <ukdvda99imjm7ba0j7o4u8hem7e8p79nbr@4ax.com> <AABVFTjZlBMAAAoN.A1.flnews@WStation3.stz-e.de> <87y4mikrxa.fsf@hope.eyrie.org> <mf5f0h$51o$4@news.albasani.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.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin3!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.nntp Lines: 74 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net aMEXzoV4Mfbf72CaTJoJ0gtuXyd0R7XtSCTgC5cqHzCV20+/xO X-Orig-Path: not-for-mail Cancel-Lock: sha1:bVHy+ym7R+JvlAOcP8saQt7RCd4= Injection-Date: 28 Mar 2015 11:21:54 -0000 User-Agent: flnews/0.11pre6 (for AIX)