Article View: news.software.nntp
Article #90405Re: [inn] Header folded immediately after header name results in "invalid syntax encountered" posting error
From: Russ Allbery
Date: Wed, 07 Jun 2023 05:39
Date: Wed, 07 Jun 2023 05:39
34 lines
2306 bytes
2306 bytes
Urs JanΓen <urs@buil.tin.org> writes:
> Russ Allbery wrote:
>> Header field lines do not have to be folded unless they contain RFC 2047
>> encoding (which the Message-ID header field may not), and may be as long
>> as 998 octets, and the maximum length of an FQDN is 254 octets if I
>> remember correctly. That leaves plenty of space. News software does not
>> expect a folded Message-ID and I suspect INN is far from the only piece of
> It's even more restrictive (RFC 5536 3.1.3)
> | msg-id = "<" msg-id-core ">"
> | ; maximum length is 250 octets
> | msg-id-core = id-left "@" id-right
> [...]
> | The <msg-id> MUST NOT be more than 250 octets in length.
Oh, right! I had completely forgotten that we limited the length of the
message ID.
> Unfortunately (one of the changes from RFC 1036 which I did not like as
> some programs may be not aware of this) Path can "now" be folded (RFC
> 5536 3.1.5):
> | path = "Path:" SP *WSP path-list tail-entry *WSP CRLF
> | path-list = *( path-identity [FWS] [path-diagnostic] "!" )
Yeah, in retrospect that was probably a mistake.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87ilbzn84g.fsf@hope.eyrie.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:
<u5o2l1$lml$1$arnold@news.chmurka.net> <87zg5ci1f8.fsf@hope.eyrie.org> <u5p4ue$stl$1@nntp.de>Show Full Headers
Complete Article Headers
Message-ID: <87ilbzn84g.fsf@hope.eyrie.org> Subject: Re: [inn] Header folded immediately after header name results in "invalid syntax encountered" posting error Date: Tue, 06 Jun 2023 22:39:43 -0700 From: Russ Allbery <eagle@eyrie.org> References: <u5o2l1$lml$1$arnold@news.chmurka.net> <87zg5ci1f8.fsf@hope.eyrie.org> <u5p4ue$stl$1@nntp.de> 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: The Eyrie Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: hope.eyrie.org; logging-data="2248"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:vvMRJNs+QUe+lQRY8XwMMWlzeu8=