Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!HPLABS.HP.COM!marvit%hplpm From: marvit%hplpm@HPLABS.HP.COM (Peter Marvit) Newsgroups: comp.mail.mh Subject: Re: Migrating MH folders to elm mailboxes ? Message-ID: <1599.568513624@hplpm> Date: 7 Jan 88 00:27:04 GMT References: <19836@amdcad.AMD.COM> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 21 Dave's response is mostly correct (since he's the author of Elm. Hi, Dave.), although you need a bit more processing than simply a "cat". Elm (and mailx) looks for the 'From ' delimiter (or for mailx, '\nFrom') which MH strips. To get an MH folder into a state readable by elm (with a *very* simplistic csh script, try the following (spaces are important): cd ~/Mail/inbox #or whatever folder foreach msg ( `ls [1-9]*` ) cat "From null Wed Jan 6 00:00 PST 1988" >> /tmp/elm-msgs cat $msg >> /tmp/elm-msgs end elm -f /tmp/elm-msgs Of course, if you wanted to permanently convert from MH to Elm, you'd probably want to massage the messages to get a better "From " line. I leave it to the philosophers as to which is better, MH or Elm. -Peter "MH=Mail Heaven, Elm=Extremely Lovable Mailer" Marvit HP Labs