🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86468

Re: Non-standard 'From' fields

#86468
From: Russ Allbery
Date: Fri, 27 Mar 2015 22:16
30 lines
2375 bytes
Michael Baeuerle <michael.baeuerle@stz-e.de> 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.

> 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.

-- 
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.
Technical Details
Message-ID: <87y4mikrxa.fsf@hope.eyrie.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!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail
References: <ukdvda99imjm7ba0j7o4u8hem7e8p79nbr@4ax.com> <AABVFTjZlBMAAAoN.A1.flnews@WStation3.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <87y4mikrxa.fsf@hope.eyrie.org>
Subject: Re: Non-standard 'From' fields
Date: Fri, 27 Mar 2015 15:16:01 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <ukdvda99imjm7ba0j7o4u8hem7e8p79nbr@4ax.com> <AABVFTjZlBMAAAoN.A1.flnews@WStation3.stz-e.de>
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!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 30
NNTP-Posting-Host: lothlorien.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: usenet-its.stanford.edu 1427494561 5852 68.65.164.14 (27 Mar 2015
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:0UCgAcyMlX7qyIfE4kDySUDwBb8=