It starts in the left margin with a capital F and has no collon. If a line in the message starts with From you must escape it: >From this point on your mbox gets corrupt if t his is not escaped. The From: header should not be confused with the From line which separates mbox entries. From: "la la" <lala@xxxxxxxxxx> is not the mbox separater. I think formail might be able to help with what you want it is part of procmail On Thu, Oct 24, 2002 at 02:00:25PM -0500, Raul A. Gallegos wrote: > Hi guys. I have a lot of messages from pmmail 2000 style which I would > like to use from mutt since that is the primary source of my mail > management. > > The deal is that pmmail stores each message one file per message with > .msg extention. What I did was wrote a loop script that cats the .msg > files into one large mailbox file. Example: > > for msg in `ls *.MSG` ;do > cat $msg >> mailbox-temp > done > > Now I have mailbox-temp which I converted to Unix since it was in dos > format. > > When I try to open this from mutt it gives me an error that the mailbox > is invalid. I looked at the mailbox itself and I notice that each new > message in mutt starts with the from line and the headers follow. > > With the one I created each one starts with Received: from > I'm assuming that the correct format is to have the from be the first > line so that it's a standard mailbox. > > I'm trying to use vi to search for a blank line then the word Received: > in the body to replace it with the blank line and not the word received > so the first part of a new message starts with from as in the working > mailboxes I have. > > The keys I pressed to try and get it to do this are: > > esc : s/^$^V^MReceived: > > but it's not working. The control-v is so that i can just hit another > sequence and the actual control code is put there. Any suggestions on > how I can get rid of the word Received: but only when it's the firs > word after a blank line? > > -- > Ever wonder if alternate worlds exist besides our own? Join the > parallel-worlds mailing list to discuss this, and similar topics. click > http://www.asmodean.net/cgi-bin/mailman/listinfo/parallel-worlds > Raul A. Gallegos http://www.asmodean.net/contact.html > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > -- Kerry Hoath: kerry at gotss.net kerry at gotss.eu.org or kerry at gotss.spice.net.au ICQ: 8226547 msn: kerry at gotss.net Yahoo: kerryhoath at yahoo.com.au