On 15/05/25, Dan Ritter (d...@randomstring.org) wrote:
> Rory Campbell-Lange wrote: 
> > I'm going to start with the postmark line (I can't really read C but
> > is_from in from.c makes interesting reading.) I'll then work to decode
> > the different mbox types, starting with MBOXCL/MBOXCL2, as needed. I'm
> > not going to attempt to take on MMDF and MH format, but I've already got
> > a basic Maildir format parser going, which is thankfully pretty easy.
> 
> Given that, why not use mutt to translate all the mboxes as Maildirs?

My plan for "mailboxoperator" (https://github.com/rorycl/mailboxoperator) is to 
provide a general mailbox/maildir parser which might be useful for e.g. legal 
discovery. My post here was because of the problem with the protonmail go mbox 
parser which doesn't cope with mboxcl format.

However your idea is generally useful to me, so thank you!

I tested 

    mutt -R -f test.mbox -m Maildir

I tagged all and saved to a new destination, and that worked as you suggested.

(I see there is a macro snippet suggested at https://foolab.org/node/1737 which 
the author used to automate this process.)

Thanks again,
Rory

Reply via email to