mhonarc-users

Re: Converting from mbox to mha folder -- How?

1997-06-30 10:01:58
I'm moving my web site to a new ISP, and would like to keep several 
MHonArc archives going within skipping a beat.  The problem is that 
at my old ISP, mail is archived in a mailbox file, while at 
my new ISP it's kept in what I presume are MH mail folders.  (The 
folder contains multiple files for each message, named like 
"msg.ezsB".)

The filename convention does not following MH conventions (MH
uses numbers for filenames).

I'd like to transfer the respective mbox files to my 
new ISP, invoke MHonArc at the new site to create the full message 
list, and then have new messages (MH folder style) added to the 
archive as they arrive.

Is such a transition possible?  Can I start with a base of messages 
that are mbox style and then add new messages in MH style?  (In 
particular, will this confuse the .mhonarc.db file?)

Yes (to the second question) and No (to the third).  You may need to
change the MHPATTERN resource to deal with the different filename
conventions used by your ISP.  You should contact your ISP to verify
what MTA and MUA is being used.

MHonArc automatically switches between UUCP mode and MH mode,
even in the same process.  The archive stores nothing about the
input mode used.


Alternatively, is there any way to convert a mbox file to an MH 
archive in some kind of batch process?

inc -file mbox

        --ewh

<Prev in Thread] Current Thread [Next in Thread>