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

Recover 'stuck' messages in Mail.app folders Apps
Mail.app allows you to organize your messages into folders and sub-folders. This is frequently combined with Rules for automatic sorting of incoming messages. Visually in Apple Mail, there are two kinds of folders: a blue icon folder (mailbox) can contain messages and sub-folders, while a white icon folder (folder) can only contain sub-folders (more info on mailbox colors). Or, so I thought.

Today, I received an email which was automatically sorted into one of my folders, called "Website." The problem was that when I created the rule, Website was a mailbox (blue icon), but had since become a folder (white icon). Yet, there was the Website folder staring me in the face, in bold and with "(1)" appended telling me that there was a new message in there for me to read. But, I could't read it. After some playing around, I found a solution using both Mail and Terminal.
  1. Using Mail, create a new sub-folder of Website. I called it "A."

  2. Open Terminal and go to the directory where "Website" is located. In my case it was, ~/Library/Mail/Mailboxes/Website. In this directory, I found two interesting files, Incoming_Mail and Incoming_Table_of_Contents, which had been modified today. A quick look at the first confirmed that this was where my new message was. I also saw my newly created, and therefore empty, mailbox "A.mbox"

  3. Copy the Incoming_Mail file to A.mbox with a new name:
    cp Incoming_Mail A.mbox/mbox
    
  4. Return to Mail and highlight the A mailbox and select "Mailbox | Rebuild" from the menus.
VoilĂ ! Your messages should be visible now. After you confirm that your messages are indeed present, you can delete Incoming_Mail and Incoming_Table_of_Contents. Hope this helps!
    •    
  • Currently 1.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[8,615 views]  

Recover 'stuck' messages in Mail.app folders | 1 comments | Create New Account
Click here to return to the 'Recover 'stuck' messages in Mail.app folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Recover 'stuck' messages in Mail.app folders
Authored by: szabesz on Feb 01, '05 12:08:03PM

Hmmm. I always thought that Apple's Mail.app is unreliable. Here is another proof of that fact. After using it for a week or so Mail.app was not able to use (or find?) its mailbox folder for some strange reason (bug), though the folder was there and nobody modified it. A few months ago I gave it a second chance only to find out that Mail.app cannot really remove the attachments from the HD. It has this option, and removes the ability to reach the attachment, but the attachments are lurking around in its mbox files. Even after compacting them. I quickly became fed up with Mail.app.
So "have fun" fighting with its bugs or switch to something else!



[ Reply to This | # ]