🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265195

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

#265195
From: Sqwertz
Date: Wed, 06 Oct 2021 04:45
79 lines
3700 bytes
I'm trying to filter out extraneous headers from this text file
which I've exported using File->Save Selected Messages->MBOX|TXT.
There are a couple thousand of messages in here and I'm trying to
make it more legible without all the visual noise of the headers.

No other long headers seem to do the CRLF thing except for
X-Received:  Is this my obnoxious newserver (highwinds) doing this
and Dialog doesn't care?

I've been working on this for days off and on. Can anybody help me
delete all headers except for:

Newsgroups:
Date: 
From:
Subject:
Message-ID: 
(in their natural order, not how I've listed)
 
From the text file at: 

https://drive.google.com/file/d/1ElDcN7rUvmy7kn6f3Sn78jz6YXwz-WhJ/view?usp=sharing

It's for a very good cause (the Missouri Board of Nursing in regards
to a paedo pediatric HOME CARE nurse) 

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.

Here's a sample of the text file to show my/our problem (more at the
link).

Thanks IA.

-sw

> From jwk6680@bjc.org Mon Oct 04 05:37:30 2021
> X-Folder: Kuthe
> X-Received: by 2002:a37:688b:: with SMTP id d133mr9895201qkc.352.1633351051221;
>         Mon, 04 Oct 2021 05:37:31 -0700 (PDT)
> X-Received: by 2002:a25:b84e:: with SMTP id b14mr15395553ybm.348.1633351051055;
>  Mon, 04 Oct 2021 05:37:31 -0700 (PDT)
> Path: not-for-mail
> Newsgroups: rec.food.cooking
> Date: Mon, 4 Oct 2021 05:37:30 -0700 (PDT)
> Injection-Info: google-groups.googlegroups.com; posting-host=35.129.9.50; posting-account=ja_j6woAAABJv24pt7Dxx6icnyi92ahF
> NNTP-Posting-Host: 35.129.9.50
> User-Agent: G2/1.0
> MIME-Version: 1.0
> Message-ID: <4c1d3472-5f99-4672-be69-3020138c3fefn@googlegroups.com>
> Subject: And I had a GREAT ORGASM yesterday!
> From: John Kuthe <jwk6680@bjc.org>
> Injection-Date: Mon, 04 Oct 2021 12:37:31 +0000
> Content-Type: text/plain; charset="UTF-8"
> X-Received-Bytes: 1007
> 
> On Sunday, my DAY OFF! :-) Complete with ejaculation! Wow!
> 
> At 61 Years old! And it felt SO GOOD! :-)
> 
> 
> John Kuthe, RN, BSN...
> 
> From jwk6680@bjc.org Sun Oct 03 18:34:10 2021
> X-Folder: Kuthe
> X-Received: by 2002:a0c:e381:: with SMTP id a1mr20159752qvl.42.1633311251669;
>         Sun, 03 Oct 2021 18:34:11 -0700 (PDT)
> X-Received: by 2002:a25:3620:: with SMTP id d32mr12272072yba.46.1633311251515;
>  Sun, 03 Oct 2021 18:34:11 -0700 (PDT)
> Path: not-for-mail
> Newsgroups: rec.food.cooking
> Date: Sun, 3 Oct 2021 18:34:11 -0700 (PDT)
> In-Reply-To: <sjdl8i$9tg$1@dont-email.me>
> Injection-Info: google-groups.googlegroups.com; posting-host=35.129.9.50; posting-account=ja_j6woAAABJv24pt7Dxx6icnyi92ahF
> NNTP-Posting-Host: 35.129.9.50
> References: <c5d1ff82-d941-44de-b125-8e22ce08f555n@googlegroups.com> <sjdl8i$9tg$1@dont-email.me>
> User-Agent: G2/1.0
Technical Details
Message-ID: <1p6lxrrbb67u6$.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

Show Full Headers
Complete Article Headers
Message-ID: <1p6lxrrbb67u6$.dlg@sqwertz.com>
Subject: 40tude: Exporting folder of messages to .TXT or MBOX always inserts CRLF in X-Received: Lines.
Date: Tue, 5 Oct 2021 23:45:17 -0500
From: Sqwertz <sqwertzme@gmail.invalid>
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
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Me, Myself, and Inc.
Lines: 79
X-Complaints-To: abuse@blocknews.net
Nntp-Posting-Date: Wed, 06 Oct 2021 04:45:18 UTC