🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4451

Re: C-news needs better address parsing (was trn complaint)

#4451
From: Henry Spencer
Date: Thu, 10 Jun 1993 16:34
31 lines
2270 bytes
In article <C8EryM.MMy@math.uwaterloo.ca> gamiddle@math.uwaterloo.ca (Guy Middleton) writes:
>> >	From: "Joe User (Joe)" <juser@watdragon.uwaterloo.ca>
>> >This is a legal RFC-822 address, so the news software should be able
>> >to handle it.
>> 
>> Sorry, but no.  RFC1036 severely limits the format of From lines:
>> 
>>     ...Thus, the three permissible forms are:
>>               From: mark@cbosgd.ATT.COM
>>               From: mark@cbosgd.ATT.COM (Mark Horton)
>>               From: Mark Horton <mark@cbosgd.ATT.COM>

Actually, you need to read the fine print in 1036, rather than looking
at the examples.  1036 is rather vaguely worded, and you need all the
information you can get. :-)  In particular, there's nothing in 1036
that forbids quoting the full name.

However, the fine print on this one is fairly clear:  the full name in
a news From header is not allowed to contain (, ), <, or >.  So the
above-cited From line, while it may be legal in mail, is not in news.

>In that case, this must be a C-news problem, since the address made it
>unscathed through our C-news system.

It's a little of both.  Trn is not being very robust:  it's better to
give precedence to <>, ignoring any () if <> are present.  However,
C News inews/injnews probably ought to have blocked this posting, because
it *is* a violation of specs.
-- 
Altruism is a fine motive, but if you   | Henry Spencer @ U of Toronto Zoology
want results, greed works much better.  |  henry@zoo.toronto.edu  utzoo!henry
Technical Details
Message-ID: <C8EzDE.D5A@zoo.toronto.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!utnut!utzoo!henry
References: <C8D5JL.CM7@math.uwaterloo.ca> <1v789bINN2om@rodan.uu.net> <C8EryM.MMy@math.uwaterloo.ca>

Show Full Headers
Complete Article Headers
Message-ID: <C8EzDE.D5A@zoo.toronto.edu>
Subject: Re: C-news needs better address parsing (was trn complaint)
Date: Thu, 10 Jun 1993 16:34:25 GMT
From: henry@zoo.toronto.edu (Henry Spencer)
References: <C8D5JL.CM7@math.uwaterloo.ca> <1v789bINN2om@rodan.uu.net> <C8EryM.MMy@math.uwaterloo.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!utnut!utzoo!henry
Newsgroups: news.software.readers,news.software.b
Organization: U of Toronto Zoology
Lines: 31