Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: A possible fix for missing imported Mail messages Apps
Tiger only hintWhen I launched Mail.app the first time after installing Tiger, it converted all my old email archives to the new format. So far so good. However, I found that in my main work mailbox, all of the messages between January 29th and yesterday were all missing. Oh no! I'd backed up my Library folder a week before (a long story involving AppleCare, a dead hard drive, and a BTO PowerBook), but I really didn't want to lose even just a week of mail.

I went into my user's Library: Preferences: Mail: AccountName folder, and ran vi mbox. To my relief, all of my messages were there. So, I tried to manually reimport them as Mail.app archives using Mail.app's File: Import Mailboxes menu option -- thinking maybe the problem was the simultaneous import and Spotlight index operation). Still no go. My last-ditch try was to import them as "Other" in Mail's import options. This time, it worked.

Lesson: back those Library folders up! And if Mail.app fails to import its own archives, try the "Other" format (which I believe is a generic mbox parser). It would appear the Mail.app mbox parser might be a bit too smart for its own good.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[15,149 views]  

10.4: A possible fix for missing imported Mail messages | 14 comments | Create New Account
Click here to return to the '10.4: A possible fix for missing imported Mail messages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A possible fix for missing imported Mail messages
Authored by: nrotachafer on May 04, '05 12:01:23PM

I can say this works. I had to do this last Friday when the Tiger ate my mail. I was freaking out since this wonderful tip wasn't posted. But now everyone else can know how to fix this issue. THANKS!!



[ Reply to This | # ]
10.4: A possible fix for missing imported Mail messages
Authored by: musox on May 04, '05 01:40:15PM
This is documented on Apple's support site at discussions.info.apple.com. - MusOX

---
http://musox.com

[ Reply to This | # ]

10.4: A possible fix for missing imported Mail messages
Authored by: steffi on May 05, '05 12:31:36AM

Your refers to an Address Book problem not Mail.



[ Reply to This | # ]
10.4: A possible fix for missing imported Mail messages
Authored by: hellmachine on May 04, '05 04:59:13PM

sounds exactly like my problem.
maybe others should check this thread:
http://forums.macnn.com/showthread.php?p=2511168
i had the same solution, but it still sucks, because you have to import every single .mbox. if you select more than one, they end up in one big unstructured import...
any other ideas?



[ Reply to This | # ]
10.4: A possible fix for missing imported Mail messages
Authored by: steffi on May 05, '05 12:29:48AM

Well I had to do something similar however I manually imported all my Mail.app folders but I exp*censored*ly had to rebuild each via Mailbox->Rebuild



[ Reply to This | # ]
10.4: A possible fix for missing imported Mail messages
Authored by: zoocropolis on May 05, '05 12:56:26AM

I have seen this problem before. Make a backup of your ~/Library/Mail folder and then try this.

Go to ~/Library/Mail/Bundles and remove what is in that folder. Then reopen mail and it should import all your mailboxes properly.

Good Luck



[ Reply to This | # ]
10.4: Another possible fix for missing imported Mail messages
Authored by: waverlyweb on May 05, '05 08:50:50AM

Like others here all my carefully filed and foldered messages seemed to disappear. To save time I tried to import them as 'Other...' by choosing a folder that held some of the 10.3.9 Mail.app mailbox folders, but it could only 'see' one called mbox.

However, when I copied each mbox file out of its own folder into the parent folder in question, the 10.4 Mail.app import function could see each mailbox file twice. Once as the copied version and once as it existed in its original location.

So, for example, where tips was the parent folder, what was bugs.mbox in 10.3.9 became tips/bugs.mbox.mbox/mbox in 10.4 and my copy was created as tips/bugs.mbox.

Before going any further, make sure Mail.app is not running and you have got a full backup, haven't you :-)

I used the following shell script to generate the copied versions within each of my parent folders:

for i in *.mbox; do cp $i/mbox `echo $i | sed -e 's/\(.*\).mbox$/\1/'`; done

Then removed the old folders with:

rm -rf *.mbox.mbox

Then fire up Mail.app, File -> Import -> Other and navigate to and choose the parent folder. Check the list of mailboxes is what you want, press continue and watch the individual mailboxes appear in the Import folder.

BTW They're all unread again, you can select all the mailboxes and control-click to choose 'Mark All Messages As Read'. But don't select too many mailboxes at the same time, Mail.app is going to start racing through checking for Junk and I suspect Spotlight is having a bit of a gorge on all those lovely, new, individual files!!

[ Reply to This | # ]

10.4: A possible fix for missing imported Mail messages
Authored by: earth23 on May 05, '05 04:12:51PM

I found a solution where you don't have to reimport the mail (takes forever): Like some of the other articles mention the emails aren't deleted, they're just not readable for some reason. After poking around in the Mail prefs folder I found the imported emails in a folder with a strange name, "Local-(null)@(null)". I opened up mail.app and created a new mailbox folder, found where the new folder was located and moved all of the imported mail files in Local-(null)@(null) into the directory with the new mailbox folder I had just created. This solved the problem.



[ Reply to This | # ]
Excelent tip!
Authored by: oculos on May 05, '05 04:42:31PM

Thanks a lot for this tip!

I still had odd imports with it, though, but it seems that 99% of my mail is now back to me! Thanks!!! :)



[ Reply to This | # ]
An excellent solution…
Authored by: zounic on May 19, '05 04:20:39PM

I had lost all of my 'sent' messages (since 1999 - Grrr! ) after having upgraded to Tiger.
After trying all of the above tips, all of Macfixit tips, nothing was working.
But I found an excellent an very reliable solution.

• I launched MS Entourage 2004 (shame on me, I know ;-), cleared all Entourage accounts, and asked it to import all of my Apple Mail messages.
• Once done (took forever, but I had no choice), I cleared everything inside my ~/Library/mail directory, launched Mail again and asked it to import all of my Entourage accounts.
• Once done (took forever again) everything was here. I just had to sort everything in its right place (Inbox, Sent messages and everything else).

It even saved me hard disk space because now Mail saves mails as standalone files, but it doesn't removes old "mbox" files when importing at first launch. (5 Gigs saved for me !)

Conclusion : Entourage mbox importer works perfectly. Apple's doesn't. Shame on them 8-(



[ Reply to This | # ]
10.4: A possible fix for missing imported Mail messages
Authored by: zounic on May 19, '05 04:24:01PM
I had lost all of my 'sent' messages (since 1999 - Grrr! ) after having upgraded to Tiger.

After trying all of the above tips, all of Macfixit tips, nothing was working. But I found an excellent an very reliable solution.

• I launched MS Entourage 2004 (shame on me, I know ;-), cleared all Entourage accounts, and asked it to import all of my Apple Mail messages.
• Once done (took forever, but I had no choice), I cleared everything inside my ~/Library/mail directory, launched Mail again and asked it to import all of my Entourage accounts.
• Once done (took forever again) everything was here. I just had to sort everything in its right place (Inbox, Sent messages and everything else).

It even saved me hard disk space because now Mail saves mails as standalone files, but it doesn't removes old "mbox" files when importing at first launch. (5 Gigs saved for me !)

Conclusion : Entourage mbox importer works perfectly. Apple's doesn't. Shame on them 8-(

P.S. Sorry for the double post.

[ Reply to This | # ]
10.4: A possible fix for missing imported Mail messages
Authored by: mireth.com on Jun 07, '05 04:40:11PM

Mail also did not import *any* of my old mail on first launch. The fix is to do the following:

1. Quit Mail
2. Open ~/Library/Mail
3. Drag Envelope Index to the Trash - for those who care, Envelope Index is an SQLite database that is now used to index all your mailboxes
4. Launch Mail

This time mail properly indexed all my mail - hooray ! Now why didn't Mail figure that out by itself !



[ Reply to This | # ]
10.4: A possible fix for missing imported Mail messages
Authored by: zpjet on Dec 28, '05 02:43:47PM

THIS HINT SAVED MY DAY. Really. Although sick with flu, I went to the apple store to get my powerbook fixed, underestimated traffic, waited in a genius queue for more than hour, then forgot somewhere (the cafe? or my car's roof?) the great neopren case with repair receipt inside, then came home to use my backuped messages on my old ibook and... wtf is wrong with just putting the mailboxes into the right place?. Until i came across to your post. THANKS DUDE, I KIND OF LOVE YOU (well i do have fever now...)



[ Reply to This | # ]
10.4: A possible fix for missing imported Mail messages
Authored by: meerkat on Dec 09, '05 06:49:48PM

In my case I just completed a fresh install of 10.4 and was having trouble importing my e-mail from the earlier 10.3 Mail.app. I discovered that there was a problem with ~/Library/Mail/Mailboxes. It was a zero length file instead of a directory. After removing the file and creating a directory (folder) in its place, import worked perfectly.



[ Reply to This | # ]