[2012-03-17 16:06] Scott Lawrence <byt...@gmail.com> > On Sat, 17 Mar 2012, Anselm R Garbe wrote: > > On 17 March 2012 20:56, Scott Lawrence <byt...@gmail.com> wrote: > >> On Sat, 17 Mar 2012, Anselm R Garbe wrote: > >>> > >>> The mlmmj output format is a directory consisting of files (1-n) where > >>> each contains a single message in mbox format. The number (1-n) is > >>> incremented for each message. For instance the dev@suckless.org > >>> mailing list directory contains 11359 message files as of now. You > >>> could extend your archiver to work on such a directory structure. Once > >>> done, I would give it a go on the dev@suckless.org messages. > >> > >> A single message in mbox format? Or a single message in RFC5322 format (as > >> typically found in mboxes)? Or single message in not-quite-standard format > >> (such as used by pipermail behind the scenes)? > > > > Sorry for the confusion, it is rfc5322 format.
That means, if you add a `.mh_sequences' file, then you have an MH mail folder -- great. > Oh, if it's just rfc5322, then a simple 'cat' won't do (slark expects an > actual mbox ATM). If you have nmh installed, then you can use packf(1) to generate an mbox, even to stdout (packf -file /dev/stdout | ...) AFAIK the differences between an mbox containing one message and a plain RFC822 message (MH mail store format) are the `From ' line (line number 1) and that each subsequenc line starting with ``From '' will be prefixed with `>'. Awk will convert the format easily for you. meillo