Article View: news.software.nntp
Article #90410Re: [inn] Header folded immediately after header name results in "invalid syntax encountered" posting error
From: Adam W.
Date: Wed, 07 Jun 2023 10:02
Date: Wed, 07 Jun 2023 10:02
28 lines
2428 bytes
2428 bytes
Russ Allbery <eagle@eyrie.org> wrote: > but if you want to maximize how interoperable the articles are, Actually, in this specific case, I don't :) I'm feeding some mailing lists into my own inn to read with my own tin (I don't like mailing lists, I think newsgroups are much more suited for this purpose). As long as both inn and tin accept it, I'm fine with that. Back to the Message-ID. It seems that it's folded by some Microsoft tools (what a surprise) -- some kind of online Outlook or something. Here's the sample Message-ID: Message-ID: <YT3PR01MB6374D9DE3A7128AF7DE72EC1A253A@YT3PR01MB6374.CANPRD01.PROD.OUTLOOK.COM> It came in this format from a group on groups.io (a mailing groups server), formail didn't unfold it (I'm using formail to add and remove some headers before feeding article to rpost) and it was rejected by my inn. Actually, there are more headers formatted this way, but they're not needed (for example x-ms-exchange-antispam-messagedata-0). I'm wondering if there are some tools to unfold it (to reformat headers, because sometimes they should be folded), or should I reinvent the wheel and write something to do it... are (any of) you aware of such tools?
Technical Details
Message-ID:
<u5pkjp$mes$1$arnold@news.chmurka.net>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>Show Full Headers
Complete Article Headers
Message-ID: <u5pkjp$mes$1$arnold@news.chmurka.net>
Subject: Re: [inn] Header folded immediately after header name results in "invalid syntax encountered" posting error
Date: Wed, 07 Jun 2023 10:02:33 +0000
From: gof-cut-this-news@cut-this-chmurka.net.invalid (Adam W.)
References: <u5o2l1$lml$1$arnold@news.chmurka.net> <87zg5ci1f8.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-mail
Newsgroups: news.software.nntp
Organization: news.chmurka.net
Nntp-Posting-Host: s.v.chmurka.net
Injection-Date: Wed, 7 Jun 2023 10:02:33 -0000 (UTC)
Injection-Info: news.chmurka.net; posting-account="arnold"; posting-host="s.v.chmurka.net:172.24.44.20"; logging-data="23004"; mail-complaints-to="abuse-news.(at).chmurka.net"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.32-v7+ (armv7l))
Cancel-Lock: sha1:VBfbO/Ekt4tWqr3SK0o+p5dNnkA= sha1:OhtAbq51dEsDmP5cERIYFHGZ2AY= sha256:c8qKQODTJ9BPLF7WRUkFteqhhtCBr4BWXgHmmtOWDao= sha1:mIfRHqsYOKVGXj5Psq7wzWt7mbw= sha256:T/JbIZLZ80gOWYPqzeO0w6ju0lru86KRRuJItEZnC2k=