On 2/1/10 at 6:30 AM, fmcb

roadrunner.com (Frank McBride) wrote:
>I am at wit's end trying to resolve a problem with Mail. I am
>running Mail version 3.6 (936) on my G5 iMac running OS X 10.5.8.
>Last week all of our email in both the Inbox and archived in "On My
>Mac" disappeared. This represents thousands of emails. My wife had
>tried rebooting the computer to see if the problem would clear up,
>but all mail was still gone, even though all of our folders were
>still present. The email inbox immediately start to receive new
>email that has continued since then (three days).
>I have tried to locate a file on my hard drive where the mail might
>be stored to see if it had really disappeared, but could not locate
>such a file. I looked on my external hard drive where back-up files
>are kept, but no luck there either. I was hoping I could somehow
>reconnect my Mail application with my stored email.
>Any assistance would be greatly appreciated!!
Recently, my wife has had a problem with Mail where it displayed
a dialog on launch saying there was insufficient space in her
home directory and offering no real solution. The only button
clickable in this dialog was a Quit button. So, while email
messages where not gone, they also could not be read by mail. In
the process of fixing this problem, I found the following:
In the directory ~/Library is a subdirectory named Mail. Inside
this are several files and subdirectories. Drilling down through
the various subdirectories of the directory ~/Library/Mail I
found subdirectories named Messages.
Inside the messages subdirectories were many files files named
with a number and the extension .emix. Opening several of these
in a text editor showed them to be individual email messages.
But I've not found a way to get Mail to reconnect with these
files if the entire directory ~/Library/Mail is replaced with a backup.
Tonight I was able to fix my wife`s email problem by deleting
one file "Envelope Index". On launch Mail displayed a dialog
saying it needed to re-import email messages with a button
allowing continuation. Clicking on this button caused Mail to do
some work and seems to have restored all of my wife's email as
unread email.
All of the above was done using Finder while Mail was not
running. I've no idea how much this will help you. I do suggest
before playing with the files in the directory ~/Library/Mail
using other software you first copy this file somewhere safe so
as to be able to restore things back to the way you have found
them. There is always risk of data loss or other problems when
you manipulate a program's files behind its back with other software.