🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265201

Re: 40tude: Exporting folder of messages to .TXT or MBOX always inserts CRLF in X-Received: Lines.

#265201
From: Sqwertz
Date: Thu, 07 Oct 2021 04:30
25 lines
1773 bytes
On Wed, 6 Oct 2021 07:50:47 +0200, Bernd Rose wrote:

> On Tue, 5th Oct 2021 23:45:17 -0500, Sqwertz wrote:
> 
>> Using notepad++ I've gotten rid of everything EXCEPT for those nasty
>> X-Received: second lines and there's no pattern that won't remove
>> other context that I can figure - but my grepping and regex's are
>> really rusty.
> 
> In Notepad++ replace (RegEx) the following with an empty string:
> ^X-Received: [^\r\n]+\r\n(\h[^\r\n]+\r\n)*
> 
> HTH.
> Bernd

Thanks Bernd!  That worked perfectly.  I also used it on the
multiple Received: lines as well as they got pretty extensive, too.

Thank you too, VanguardLH.  I had definitely seen the multi-line
headers in SMTP email (especially google and MS), but I guess I
never really noticed them in NNTP.  I swear I never saw a line break
in References: and Path: especially (and now we have no Path: header
with Highwinds <grrrr>).

-sw
Technical Details
Message-ID: <1g7yitvrjyjgt.dlg@sqwertz.com>
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
References: <1p6lxrrbb67u6$.dlg@sqwertz.com> <1f5xuqljsv11r$.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <1g7yitvrjyjgt.dlg@sqwertz.com>
Subject: Re: 40tude: Exporting folder of messages to .TXT or MBOX always inserts CRLF in X-Received: Lines.
Date: Wed, 6 Oct 2021 23:30:36 -0500
From: Sqwertz <sqwertzme@gmail.invalid>
References: <1p6lxrrbb67u6$.dlg@sqwertz.com> <1f5xuqljsv11r$.dlg@b.rose.tmpbox.news.arcor.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.readers
User-Agent: ForteAgent/7.10.32.1212
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Me, Myself, and Inc.
Lines: 25
X-Complaints-To: abuse@blocknews.net
Nntp-Posting-Date: Thu, 07 Oct 2021 04:30:38 UTC