Trying restore mail to Unix from Mail.app

ejm1017

Registered
Hi All,

I use Mail.app to access mail from my Unix desktop at work via IMAP, and it works great.

Yesterday, I inadvertantly blew away my main IMAP saved mail directory on
the server.. sigh. It noticed that I had Mail.app set up to copy mail
from the server, so it appears that I have all/most of the mail sitting
on my Powerbook. I need to figure out how to get it back out to a useable
form.

The Mail.app hierarchy looks like:

ejm% pwd

/Volumes/MacHD/Users/ejm/Library/Mail/IMAP-ejm@myCompany.com/status.imapmbox/CachedMessages

ejm% ls
1 19 28 37 46 55 62

Since the directories no longer exist on the server, Mail.app does not show them
to me on the client, so even though the data appears to be there, I can't seem
to get at it from Mail.app. (I have completely backed up this directory tree)

I would like to reconstitute this in such a way that I'd have all the mail as
locally accessable folders; or put it back into Unix mbox format so that I could
put it back on the server.

I think I could do some Perl/Tcl scripting to get it back, but I was wonder if
there were some other easier way.

Any ideas ?

Thanks,

Ed
 
Back
Top