Article View: news.software.nntp
Article #90411Re: [inn] Header folded immediately after header name results in "invalid syntax encountered" posting error
From: Russ Allbery
Date: Wed, 07 Jun 2023 15:23
Date: Wed, 07 Jun 2023 15:23
27 lines
2168 bytes
2168 bytes
gof-cut-this-news@cut-this-chmurka.net.invalid (Adam W.) writes: > 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> Oh, sigh, now I understand your problem. Yeah, alas, you're going to have to add custom processing to unfold those for INN, which is really annoying. Email messages often play fast and loose with message IDs and do all sorts of weird things with them (I saw one mail server that reused the same message ID for every message it sent out) because they're much less important in email than in Usenet. > 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? I don't know of any. When I was doing this sort of thing, I wrote my own mail to news gatewaying in Perl. (News::Gateway is still on CPAN, but I'm waiting for it to be 30 years old before I try to update it, apparently.) -- Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<87ttvjz46t.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> <u5pkjp$mes$1$arnold@news.chmurka.net>Show Full Headers
Complete Article Headers
Message-ID: <87ttvjz46t.fsf@hope.eyrie.org> Subject: Re: [inn] Header folded immediately after header name results in "invalid syntax encountered" posting error Date: Wed, 07 Jun 2023 08:23:54 -0700 From: Russ Allbery <eagle@eyrie.org> References: <u5o2l1$lml$1$arnold@news.chmurka.net> <87zg5ci1f8.fsf@hope.eyrie.org> <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-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="28937"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:cBMhEIb07mVczK9V5Bi5CnDVzBQ=