Mail Issues #2...
Jul. 29th, 2009 06:38 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Well, I switched from Netrape Aggravator to the Mac Mail program for the interim.
So far, I can't get any of the obvious applications to open (a copy of) the original mail file. Word of course doesn't recognize it, TextEdit refuses it, and when I tried:
"formail -e -d -s inboxfile >> newinboxfile"
(substituting "Inbox" for "inboxfile" and "NewInbox" for "newinboxfile")
my console just sorta sat there for, well, a long time until I finally killed it off. There was a new file called "NewInbox", but it had nothing in it.
Any more ideas? I've got like 1.2GB of mail file sitting there mocking me. I'm sure MOST of it must be perfectly fine.
So far, I can't get any of the obvious applications to open (a copy of) the original mail file. Word of course doesn't recognize it, TextEdit refuses it, and when I tried:
"formail -e -d -s inboxfile >> newinboxfile"
(substituting "Inbox" for "inboxfile" and "NewInbox" for "newinboxfile")
my console just sorta sat there for, well, a long time until I finally killed it off. There was a new file called "NewInbox", but it had nothing in it.
Any more ideas? I've got like 1.2GB of mail file sitting there mocking me. I'm sure MOST of it must be perfectly fine.
no subject
Date: 2009-07-29 11:03 pm (UTC)From MAILER-DAEMON Wed Jul 29 18:45:59 2009
Date: 29 Jul 2009 18:45:59 -0400
From: Mail System Internal Data <mumble@mumble>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
Message-ID: <mumble@mumble>
X-IMAP: 1172181894 0000005764
Status: RO
If they don't then either you have the wrong file or a compressed copy of the file. BTW, type ":q!" to quit without changing the file.
no subject
Date: 2009-07-29 11:32 pm (UTC)and (B) I tried it and didn't get anything. I'm not sure if it worked at all; I haven't used Vile in about 15 years.
no subject
Date: 2009-07-29 11:45 pm (UTC)no subject
Date: 2009-07-29 11:51 pm (UTC)no subject
Date: 2009-07-30 12:00 am (UTC)no subject
Date: 2009-07-30 01:24 am (UTC)tr: Illegal byte sequence
If I try Text Edit it refuses to open -- something about not being the right encoding.
no subject
Date: 2009-07-30 01:47 am (UTC)Are you *absolutely* positive that you have the right file?
no subject
Date: 2009-07-30 02:44 am (UTC)no subject
Date: 2009-07-30 02:58 am (UTC)perl -npe 's/\r//g' Inbox > NewInbox
It ought to be a little more effective on the non-text portions of your Inbox.
no subject
Date: 2009-07-30 05:53 am (UTC)CRLF - ^M^J - 0x1310 - this is the DOS/Windows standard as well as what most Internet protocols use "on the wire"
CR - ^M - 0x13 - The Mac standard from the days of Mac OS 9 and earlier; a fair number of programs still use this.
LF - ^J - 0x10 - The Unix standard since time immemorial or at least time_t 0. This is what formail is expecting.
What it sounds like is that the Netscape storage may have been using Mac EOLs (CR without LF).
no subject
Date: 2009-07-30 05:57 am (UTC)Hm.
I'd try replacing the ^Ms with ^Js, to see if that worked. Easy way:
perl -pe 's/\r/\n/g' < oldfile > newfile
no subject
Date: 2009-07-30 08:38 am (UTC)Suggestion?
1. Download Thunderbird.
2. Tell Thunderbird to import the Netscape mailbox.
3. Then tell Mail.app to import the resultant TBird mailbox. (Mail.app is happy to import TBird mailboxes; I'm assuming TBird gave earlier Netscape users a slick upgrade path.)
4. Remove TBird.
no subject
Date: 2009-07-30 12:36 pm (UTC)Trying the "import", it gives me two options: Communicator 4.x and Eudora. I know Netrape 7 descends from Communicator, so I tried that; it gives no option to tell Thunderbird WHERE to find the files in question, but it went gray and seemed to be looking, so I left it alone. After about half an hour, it finally just went back to the two choices; examination did not show my mail in any folder.
no subject
Date: 2009-07-30 08:36 am (UTC)Instead, use "less" as in "less filename". Less is a pager, used to display one terminal screenful of a file at a time (with backward scrolling, regexp searching, and so on).
no subject
Date: 2009-07-30 11:36 am (UTC)However, once I get that screen, "less" stops, no keystrokes seem to work until I hit a control-C, and then I ended up getting:
"less(3228) malloc: *** mmap(size=1073741824) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
less(3228) malloc: *** mmap(size=1073741824) failed (error code=12)
"
several times, sometimes with a single line of the earlier garbage in between.
I couldn't get out of "less" and finally killed the Terminal window.