Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The first sign of maturity is the discovery that the volume knob also turns to the left.


computers / comp.mail.pine / Re: how to import or add an mbox file?

SubjectAuthor
* Re: how to import or add an mbox file?Kalevi Kolttonen
`* Re: how to import or add an mbox file?Nicholas Saunders
 +- Re: how to import or add an mbox file?Kalevi Kolttonen
 `* Re: how to import or add an mbox file?John Levine
  `- Re: how to import or add an mbox file?Nicholas Saunders

1
Re: how to import or add an mbox file?

<uk2udk$3tkmf$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=589&group=comp.mail.pine#589

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kal...@kolttonen.fi (Kalevi Kolttonen)
Newsgroups: comp.mail.pine
Subject: Re: how to import or add an mbox file?
Date: Mon, 27 Nov 2023 20:32:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Sender: <untosten@0.0.0.0>
Message-ID: <uk2udk$3tkmf$1@dont-email.me>
References: <bf581fba-dec8-4314-bc1d-886b4cec88d4n@googlegroups.com>
Injection-Date: Mon, 27 Nov 2023 20:32:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e944b6a148149933ba5bb4f30ea5388f";
logging-data="4117199"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184UlqLSyyD+iCweBh1wKCQT9BlfjZ9ID4="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.5.12-300.fc39.x86_64 (x86_64))
Cancel-Lock: sha1:GxpdBRrUbbpstvkFh2xaVlBQFac=
 by: Kalevi Kolttonen - Mon, 27 Nov 2023 20:32 UTC

Nicholas Saunders <saunders.nicholas@gmail.com> wrote:
> I'm just looking to read old messages offline and local.
>
> I backed up the .pinerc file and have a foo.mbox file
> which I'd like to add. When I launch pine I see a list
> of old file. Can I somehow add or import this mbox to
> that list?

In your .pinerc, you need to define folder collections
with something like this:

folder-collections=Mail/[]

If you want to add more folders, separate their names
using commas.

Then just move your mbox file into the right directory:

mv -iv foo.mbox ~/Mail

You can then read your mailbox directly by using:

alpine -f foo.mbox

Or you can choose the correct folder from Folder List
menu that is in alpine's main menu.

br,
KK

Re: how to import or add an mbox file?

<864c8e79-f1cf-4318-91d7-3491f8554a77n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=590&group=comp.mail.pine#590

  copy link   Newsgroups: comp.mail.pine
X-Received: by 2002:a05:6214:5582:b0:66d:ce9:29e5 with SMTP id mi2-20020a056214558200b0066d0ce929e5mr369636qvb.1.1701118977249;
Mon, 27 Nov 2023 13:02:57 -0800 (PST)
X-Received: by 2002:a05:6a00:3a09:b0:6c3:9efc:6846 with SMTP id
fj9-20020a056a003a0900b006c39efc6846mr3327771pfb.0.1701118976919; Mon, 27 Nov
2023 13:02:56 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.pine
Date: Mon, 27 Nov 2023 13:02:56 -0800 (PST)
In-Reply-To: <uk2udk$3tkmf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=172.103.152.184; posting-account=uXnM4AoAAACxowr8xs80HQyaY3SSK3dl
NNTP-Posting-Host: 172.103.152.184
References: <bf581fba-dec8-4314-bc1d-886b4cec88d4n@googlegroups.com> <uk2udk$3tkmf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <864c8e79-f1cf-4318-91d7-3491f8554a77n@googlegroups.com>
Subject: Re: how to import or add an mbox file?
From: saunders...@gmail.com (Nicholas Saunders)
Injection-Date: Mon, 27 Nov 2023 21:02:57 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2727
 by: Nicholas Saunders - Mon, 27 Nov 2023 21:02 UTC

On Monday, 27 November 2023 at 12:32:55 UTC-8, Kalevi Kolttonen wrote:
> Nicholas Saunders <saunders...@gmail.com> wrote:
> > I'm just looking to read old messages offline and local.
> >
> > I backed up the .pinerc file and have a foo.mbox file
> > which I'd like to add. When I launch pine I see a list
> > of old file. Can I somehow add or import this mbox to
> > that list?
> In your .pinerc, you need to define folder collections
> with something like this:
>
> folder-collections=Mail/[]
>
> If you want to add more folders, separate their names
> using commas.
>
> Then just move your mbox file into the right directory:
>
> mv -iv foo.mbox ~/Mail
>
> You can then read your mailbox directly by using:
>
> alpine -f foo.mbox
>
> Or you can choose the correct folder from Folder List
> menu that is in alpine's main menu.
>
> br,
> KK

Thanks, and that's what I've done. However, it just loads as a massive text file and not individual e-mails:

ALPINE 2.25 FOLDER LIST Folder: INBOX No Messages

INBOX sent-mail saved-messages 22aug_saved foo.mbox foobar sent-mail-aug-2022 sent-mail-dec-2022 sent-mail-may-2022 sent-mail-nov-2022
sent-mail-oct-2022 sent-mail-sep-2022

It's the "foo.mbox" which I'm looking at.

I'm thinking there's a setting in the pinerc to parse mbox?

Re: how to import or add an mbox file?

<uk4l5v$8vlh$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=595&group=comp.mail.pine#595

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kal...@kolttonen.fi (Kalevi Kolttonen)
Newsgroups: comp.mail.pine
Subject: Re: how to import or add an mbox file?
Date: Tue, 28 Nov 2023 12:07:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Sender: <untosten@0.0.0.0>
Message-ID: <uk4l5v$8vlh$1@dont-email.me>
References: <bf581fba-dec8-4314-bc1d-886b4cec88d4n@googlegroups.com> <uk2udk$3tkmf$1@dont-email.me> <864c8e79-f1cf-4318-91d7-3491f8554a77n@googlegroups.com>
Injection-Date: Tue, 28 Nov 2023 12:07:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5ea1e701ab062cf619cb0e2e964669f4";
logging-data="294577"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195zbpFck5BFWrll38rg97mRQbkMFaKL94="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.5.12-300.fc39.x86_64 (x86_64))
Cancel-Lock: sha1:08jyhJUwjDU4+797nwAUMgAvnLc=
 by: Kalevi Kolttonen - Tue, 28 Nov 2023 12:07 UTC

Nicholas Saunders <saunders.nicholas@gmail.com> wrote:
> Thanks, and that's what I've done. However, it just loads as
> a massive text file and not individual e-mails:

Well, mbox-format *is* a massive or not so massive text file.

> It's the "foo.mbox" which I'm looking at.
>
> I'm thinking there's a setting in the pinerc to parse mbox?

Alpine should do that automatically as far as I know.

br,
KK

Re: how to import or add an mbox file?

<uk6adi$o5j$1@gal.iecc.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=598&group=comp.mail.pine#598

  copy link   Newsgroups: comp.mail.pine
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: joh...@taugh.com (John Levine)
Newsgroups: comp.mail.pine
Subject: Re: how to import or add an mbox file?
Date: Wed, 29 Nov 2023 03:16:02 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <uk6adi$o5j$1@gal.iecc.com>
References: <bf581fba-dec8-4314-bc1d-886b4cec88d4n@googlegroups.com> <864c8e79-f1cf-4318-91d7-3491f8554a77n@googlegroups.com> <89226ff8-2ac6-46da-999a-131084b20319n@googlegroups.com> <6b4d6a87-f1d5-4f38-9770-5be79947c609n@googlegroups.com>
Injection-Date: Wed, 29 Nov 2023 03:16:02 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="24755"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <bf581fba-dec8-4314-bc1d-886b4cec88d4n@googlegroups.com> <864c8e79-f1cf-4318-91d7-3491f8554a77n@googlegroups.com> <89226ff8-2ac6-46da-999a-131084b20319n@googlegroups.com> <6b4d6a87-f1d5-4f38-9770-5be79947c609n@googlegroups.com>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Wed, 29 Nov 2023 03:16 UTC

According to Nicholas Saunders <saunders.nicholas@gmail.com>:
>I think that I'm using the "maildir" format.

No, maildir puts each message in a separate file. This sounds like it's
just a bunch of messages dumped into a file.

In an mbox file each message is preceded by a 'From ' line like the
one below with the sender's address and a timestamp. The first line in
the file has to be a From line.

From johnl@iecc.com Sun Sep 18 08:53:38 2016 -0400

>How do I switch to mbox?

If you're exporting the messages from Thunderbird, I am reasonably
sure that it uses mbox as its internal format, so I'd just look for
the mailbox you want in Thunderbird's directory and copy it.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: how to import or add an mbox file?

<e9878b75-8900-479f-948a-599f28edac8bn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=604&group=comp.mail.pine#604

  copy link   Newsgroups: comp.mail.pine
X-Received: by 2002:a0c:efce:0:b0:67a:a64d:f609 with SMTP id a14-20020a0cefce000000b0067aa64df609mr56736qvt.3.1701494284726;
Fri, 01 Dec 2023 21:18:04 -0800 (PST)
X-Received: by 2002:a05:6870:158f:b0:1fa:16c2:e8a2 with SMTP id
j15-20020a056870158f00b001fa16c2e8a2mr1021384oab.0.1701494284309; Fri, 01 Dec
2023 21:18:04 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.pine
Date: Fri, 1 Dec 2023 21:18:03 -0800 (PST)
In-Reply-To: <uk6adi$o5j$1@gal.iecc.com>
Injection-Info: google-groups.googlegroups.com; posting-host=172.103.152.184; posting-account=uXnM4AoAAACxowr8xs80HQyaY3SSK3dl
NNTP-Posting-Host: 172.103.152.184
References: <bf581fba-dec8-4314-bc1d-886b4cec88d4n@googlegroups.com>
<864c8e79-f1cf-4318-91d7-3491f8554a77n@googlegroups.com> <89226ff8-2ac6-46da-999a-131084b20319n@googlegroups.com>
<6b4d6a87-f1d5-4f38-9770-5be79947c609n@googlegroups.com> <uk6adi$o5j$1@gal.iecc.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e9878b75-8900-479f-948a-599f28edac8bn@googlegroups.com>
Subject: Re: how to import or add an mbox file?
From: saunders...@gmail.com (Nicholas Saunders)
Injection-Date: Sat, 02 Dec 2023 05:18:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Nicholas Saunders - Sat, 2 Dec 2023 05:18 UTC

On Tuesday, 28 November 2023 at 19:16:05 UTC-8, John Levine wrote:
> According to Nicholas Saunders <saunders...@gmail.com>:
> >I think that I'm using the "maildir" format.
> No, maildir puts each message in a separate file. This sounds like it's
> just a bunch of messages dumped into a file.
>
> In an mbox file each message is preceded by a 'From ' line like the
> one below with the sender's address and a timestamp. The first line in
> the file has to be a From line.
>
> From jo...@iecc.com Sun Sep 18 08:53:38 2016 -0400
> >How do I switch to mbox?
> If you're exporting the messages from Thunderbird, I am reasonably
> sure that it uses mbox as its internal format, so I'd just look for
> the mailbox you want in Thunderbird's directory and copy it.
>
> --
> Regards,
> John Levine, jo...@taugh.com, Primary Perpetrator of "The Internet for Dummies",
> Please consider the environment before reading this e-mail. https://jl.ly

That's where I'm confused. It's IMAP and Gmail. I couldn't find such files, at least on Linux (Ubuntu). I even downloaded a plugin. But the backups from the plugin weren't readable by even mailutils. The Pine local storage is readable by the mail command, which is enough portability for my purposes. Probably I wasn't doing the backups from Thunderbird correctly, but I never figured it out.

Pine's working fine for this. I was using export at first, but it was suggested to use save and that works fine.

-Nick

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor