PG Offline

PG Offline => I need Help ! => Topic started by: casstk on February 23, 2020, 07:00:23 AM

Title: Mbox export
Post by: casstk on February 23, 2020, 07:00:23 AM
I know Wilson was working on an MBox import...will we be able to export to Mbox?
Title: Re: Mbox export
Post by: Wilson Logan on February 23, 2020, 12:04:29 PM
Hi,

So there is an MBOX import in 907 but it needs special handling.

It takes the X-Apparently-To:  field as the group name.

E.g.

X-Apparently-To: cetarch@yahoogroups.com


so the bit between X-Apparently-To: & "@"   is the groupname.

which is all fine and well until its X-Apparently-To: bob@gmail.com

which we didn't expect.

So you need to clean your MBOX file before import to insure all occurrences are in this form

X-Apparently-To: <groupname>@yahoogroups.com


There are no plans for MBOX export.






Title: Re: Mbox export
Post by: Wilson Logan on February 23, 2020, 12:05:39 PM
Although I think I did write a PG4 to MBOX python program.

So if you send me your PG4 file I can convert it for you.

Or I can send you the Python code.
Title: Re: Mbox export
Post by: casstk on February 24, 2020, 11:24:11 PM
I'd love to test the python code. I'll send you a PM
Title: Re: Mbox export
Post by: Wilson Logan on February 27, 2020, 02:39:00 PM
Here it is (attached).

I can't remember how far I got with it.

I think it works...