Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 06-14-2004, 01:39 PM   #1
Urf
Prospect
 
Join Date: Jun 2004
Posts: 8
IMAP Mailbox Recovery?

We recently had a hard drive failure which wiped out all the mailboxes on our exchange server.

I've been using mail.app (v 1.3.8) as my primary e-mail client via IMAP for some time, and while I'd backed up all my mail through april on local folders, all cached files from the last 2 months disappeared when I synched with the (new) server the first time.

I have a backup of my home directory made a week or so ago which has all my old *.imapmbox files, many of which are quite large. I always had a local cache of the files on the server, so I know the data is there.

Here's the question. Anyone know of a way to get the old mail out of this format?

Thanks in advance for any help.
Urf is offline   Reply With Quote
Old 06-15-2004, 02:54 AM   #2
bramley
MVP
 
Join Date: Apr 2004
Location: Cumbria, UK
Posts: 2,461
I've never had to deal with this problem before, so this might be no help at all. However, assuming that your mboxes were used by mail.app before, can't you just import them into Mail, via the option on the File menu?
bramley is offline   Reply With Quote
Old 06-15-2004, 11:02 AM   #3
Urf
Prospect
 
Join Date: Jun 2004
Posts: 8
I wish it were so easy....

Unfortunately it's not. Since it's an IMAP directory, mail thinks it's a cache file, and as such, secondary to what's on the server.

I have made SOME progress with the issue. I can open the individual cached e-mail files by "showing package contents" and browsing the "Cached Messages" sub directory. If I sort them by date, I can get a decent mirror of the old files.

However, I'd still love to get them back into mail.

Any further thoughts folks?
Urf is offline   Reply With Quote
Old 06-16-2004, 09:35 AM   #4
bramley
MVP
 
Join Date: Apr 2004
Location: Cumbria, UK
Posts: 2,461
Quote:
Originally Posted by Urf
Unfortunately it's not. Since it's an IMAP directory, mail thinks it's a cache file, and as such, secondary to what's on the server.

What would happen if you created a dummy account in Mail - and set your backed up IMAP directory to be the cache of the dummy account. If the server has no mail for the dummy account, then the cache is all Mail has to work with. You might then be able to drag'n'drop the old messages into the real account.

Just a suggestion! I don't know if Mail freaks when the messages don't look as if they came from the right account or not.
bramley is offline   Reply With Quote
Old 08-24-2004, 05:47 AM   #5
georgio
Prospect
 
Join Date: Aug 2004
Posts: 1
Quote:
Originally Posted by bramley
What would happen if you created a dummy account in Mail - and set your backed up IMAP directory to be the cache of the dummy account. If the server has no mail for the dummy account, then the cache is all Mail has to work with. You might then be able to drag'n'drop the old messages into the real account.

Excellent suggestion! It worked beautifully for me.

I had a very similar problem to Urf (except in my case, I stoopidly deleted a lot of messages while using Pine on the server!) Fortunately I had a backup of the Library/Mail folder on a hard drive, but I was at my wit's end to find a way to re-import the cached messages until I saw bramley's suggestion.

I created a dummy account with the meaningless incoming mail server address foobar@xx.net. Then I quit mail and copied the archived INBOX.imapmbox into the folder Library/Mail/IMAP-george@foobar@xx.net

Lo and behold, when I started up mail, the archived messages appeared in subfolder 'foobar' of my In mailbox. (NB It's important that the dummy account stays offline, so the incoming server address mustn't be for a valid mail account.)

Thanks bramley!
georgio is offline   Reply With Quote
Old 08-24-2004, 09:30 AM   #6
Urf
Prospect
 
Join Date: Jun 2004
Posts: 8
I can't believe I missed the earlier bramley post... thanks a ton... that really sounds like it'll work.

Right now I have a secondary directory structure set up of text files I pulled out of the mailbox files manually. It's very painful to find old messages. This sounds like a perfect solution!
Urf is offline   Reply With Quote
Old 08-24-2004, 09:31 AM   #7
Raven
Hall of Famer
 
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
What surprises me the most is what happened to the Exchange server... There should have been a backup made of that server at least once a day... Drive failures happen all the time and come as surprises most of the time, so a server, especially one that is central to a company should have backups. If they don't talk to the about it because right now this problem just seems like strange IT work...
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
Raven is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:40 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.