seawasp: (Default)
seawasp ([personal profile] seawasp) wrote2009-07-29 06:38 pm

Mail Issues #2...

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.
ckd: (cpu)

[personal profile] ckd 2009-07-30 05:53 am (UTC)(link)
Hmm. Maybe not. There are way too many EOL styles.

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).

[livejournal.com profile] seawasp: Did Mail's "File: Import Mailboxes" command not do the right thing?
ckd: small blue foam shark (Default)

[personal profile] ckd 2009-07-30 05:57 am (UTC)(link)
(went back to original post: no, it didn't)

Hm.

I'd try replacing the ^Ms with ^Js, to see if that worked. Easy way:

perl -pe 's/\r/\n/g' < oldfile > newfile
ext_58972: Mad! (Default)

[identity profile] autopope.livejournal.com 2009-07-30 08:38 am (UTC)(link)
Did Mail's "File: Import Mailboxes" command not do the right thing?

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.
Edited 2009-07-30 08:39 (UTC)