1 2 Previous Next 17 Replies Latest reply: Jan 29, 2013 5:52 PM by Lynda Rice
Lynda Rice Level 1 Level 1 (0 points)

I just had to replace my HD on my iMac (2.4 GHz Intel Core 2 Duo; 10.7.5)  I imported everything via Time Capsule with no issues.

 

I am, however, having problems with Mail.

 

When I click on mail, it launches into Message Import . .. Welcome to Mail"  I click to continue and it begins importing.  When I get to the part where it is importing sent messages it gets hung up at 14724 of 16,808; time remaining 1 minute. 

 

Can anyone offer any suggestions?  THANK YOU!!!


iMac, Mac OS X (10.7.5)
  • 1. Re: Importing Mail after new HD install and recovery via Time Capsule
    Linc Davis Level 10 Level 10 (118,005 points)

    How did you restore your data from the TC?

  • 2. Re: Importing Mail after new HD install and recovery via Time Capsule
    Lynda Rice Level 1 Level 1 (0 points)

    Mr. Davis -

     

    First - I am not that Mac savy, so I appreciate your patience.

     

    I did a Recovery HD and then just picked the last backup (which is what they told me to do at Apple)

     

    I am also running Office for Mac and attempted to open a document and received, "THe Office for Mac installation did not complete succesfully because there was a problem with the installer.  to fix the issue, please reinstall Office for Mac."

     

    I am assuming that means I have to find my disks and reinstall? ??   I am totally lost and getting concerned about all of my documents!

     

    I appreciate any direction you can give me.  Thank you!

  • 3. Re: Importing Mail after new HD install and recovery via Time Capsule
    Linc Davis Level 10 Level 10 (118,005 points)

    Let's try the easy fix first. It may not work.

     

    Quit Mail.

     

    Triple-click the text on the line below to select it:

     

    ~/Library/Mail/V2/MailData/Envelope Index

     

    Copy (command-C) the selected text to the Clipboard. In the Finder, select

     

    Go Go to Folder

     

    from the menu bar. Paste (command-V) into the box that opens, then press return.

     

    A Finder window will open with a file selected. Move the selected file to the Desktop, leaving the window open. Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is corrupt and that Mail has to quit. Click OK.

     

    Test. If Mail now works as expected, you can delete the file you moved to the Desktop. If you get a warning that the file is in use when you try to empty the Trash, log out and log back in.

  • 4. Re: Importing Mail after new HD install and recovery via Time Capsule
    Lynda Rice Level 1 Level 1 (0 points)

    Mr. Davis -

     

    I just finally got to this today. 

     

    When I pasted that line into the box, it said, "The folder can't be found"

     

    Something tells me, that isn't good!!!

  • 5. Re: Importing Mail after new HD install and recovery via Time Capsule
    Linc Davis Level 10 Level 10 (118,005 points)

    Triple-click anywhere in the line below to select it:

     

    ls -@Oaeln L*/M*/V2/MailData

     

    Copy the selected text to the Clipboard (command-C).

     

    Launch the Terminal application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

     

    Paste (command-V) into the Terminal window.

     

    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

  • 6. Re: Importing Mail after new HD install and recovery via Time Capsule
    Lynda Rice Level 1 Level 1 (0 points)

    Here is what was returned:

     

     

    Last login: Fri Jan 25 18:13:01 on console

    lynda-rices-imac-2:~ lyndarice$ ls -@Oaeln L*/M*/V2/MailData

    total 1536

    drwxr-xr-x  34 501  20  -   1156 Jan 21 19:28 .

    drwxr-xr-x   7 501  20  -    238 Jan 21 17:28 ..

    -rw-r--r--   1 501  20  -   5659 Jan 13 19:16 Accounts.plist

    -rw-------   1 501  20  -  57344 Jan  7  2010 AvailableFeeds.corrupt

    -rw-r--r--   1 501  20  -  15649 Jan 13 19:17 BackupTOC.plist

    -rw-r--r--   1 501  20  - 135156 Jan 13 19:17 DefaultCounts

    -rw-r--r--@  1 501  20  -   4096 Jan 21 19:28 Envelope Index-T0x7f89fb80d9f0.tmp.Ojoptm

              com.apple.metadata:FileSyncAgentExcludeItem               1

    -rw-r--r--   1 501  20  -  32768 Jan 21 19:28 Envelope Index-T0x7f89fb80d9f0.tmp.Ojoptm-shm

    -rw-r--r--   1 501  20  -      0 Jan 21 19:28 Envelope Index-T0x7f89fb80d9f0.tmp.Ojoptm-wal

    -rw-r--r--@  1 501  20  -   4096 Jan 21 06:06 Envelope Index-T0x7f91c42a79b0.tmp.MOZZ03

              com.apple.metadata:FileSyncAgentExcludeItem               1

    -rw-r--r--   1 501  20  -  32768 Jan 21 06:06 Envelope Index-T0x7f91c42a79b0.tmp.MOZZ03-shm

    -rw-r--r--   1 501  20  -      0 Jan 21 06:06 Envelope Index-T0x7f91c42a79b0.tmp.MOZZ03-wal

    -rw-r--r--@  1 501  20  -   4096 Jan 21 06:25 Envelope Index-T0x7fae420efcf0.tmp.qEzn5O

              com.apple.metadata:FileSyncAgentExcludeItem               1

    -rw-r--r--   1 501  20  -  32768 Jan 21 06:25 Envelope Index-T0x7fae420efcf0.tmp.qEzn5O-shm

    -rw-r--r--   1 501  20  -      0 Jan 21 06:25 Envelope Index-T0x7fae420efcf0.tmp.qEzn5O-wal

    -rw-r--r--@  1 501  20  -   4096 Jan 21 14:24 Envelope Index-T0x7fbaaaa142e0.tmp.ap4U5J

              com.apple.metadata:FileSyncAgentExcludeItem               1

    -rw-r--r--   1 501  20  -  32768 Jan 21 14:24 Envelope Index-T0x7fbaaaa142e0.tmp.ap4U5J-shm

    -rw-r--r--   1 501  20  -      0 Jan 21 14:24 Envelope Index-T0x7fbaaaa142e0.tmp.ap4U5J-wal

    -rw-r--r--@  1 501  20  -   4096 Jan 21 17:33 Envelope Index-T0x7fd934255600.tmp.1iuSVv

              com.apple.metadata:FileSyncAgentExcludeItem               1

    -rw-r--r--   1 501  20  -      0 Jan 21 18:01 Envelope Index-T0x7fd934255600.tmp.1iuSVv-shm

    -rw-r--r--   1 501  20  -      0 Jan 21 17:33 Envelope Index-T0x7fd934255600.tmp.1iuSVv-wal

    -rw-r--r--   1 501  20  -    516 Jan 13 19:16 FlagMailboxes.plist

    -rw-r--r--   1 501  20  - 310712 Apr 11  2012 LSMMap2

    -rw-r--r--   1 501  20  -   8235 Apr  3  2010 MessageRules.plist

    -rw-r--r--   1 501  20  -   8005 Feb 17  2009 MessageRules.plist.backup

    -rw-------   1 501  20  -  14336 Dec  6  2009 MessageUidsAlreadyDownloaded3

    -rw-r--r--   1 501  20  -  36879 Jan 13 19:17 OpenedAttachments.plist

    -rw-r--r--   1 501  20  -   3498 Jan 15  2012 SearchHistory.plist

    drwx------   3 501  20  -    102 Mar 23  2008 Signatures

    -rw-r--r--   1 501  20  -    309 Jan 13 19:16 SmartMailboxes.plist

    -rw-r--r--   1 501  20  -    309 Jan 13 18:37 SmartMailboxes.plist.backup

    -rw-------   1 501  20  -    182 Jan 23  2012 SyncAlert

    -rw-r--r--   1 501  20  -    318 Jan 13 19:16 VersionedSmartMailboxes.plist

    -rw-r--r--   1 501  20  -    318 Jan 13 18:37 VersionedSmartMailboxes.plist.backup

    lynda-rices-imac-2:~ lyndarice$

     

     

    Thank you again, Sir!!

  • 7. Re: Importing Mail after new HD install and recovery via Time Capsule
    Linc Davis Level 10 Level 10 (118,005 points)

    It looks like one of two things is happening:

     

    1. You have one or more corrupt mailboxes that Mail is unable to import; or
    2. Your OS X installation itself is corrupt, perhaps because your old hard drive was failing.

     

    #1 is more likely, but it's also much harder, or maybe impossible, to fix without losing data. So I suggest you try a fix for #2 first.

     

    Back up all data.

     

    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.

     

    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication.

     

    When the OS X Utilities screen appears, follow the prompts to reinstall the OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

  • 8. Re: Importing Mail after new HD install and recovery via Time Capsule
    Lynda Rice Level 1 Level 1 (0 points)

    Mr. Davis -

     

    I have some questions before I start this because I am confused.

     

    -     If my OSX installation itself was corrupt, wouldn't I notice that with other ways on my system?  I mean, wouldn't things be running bad or anything like that?

     

    -     when you say Reinstall the OS . .. I'm already lost right there.  I think I started with Snow Leopard and then everything else was downloads so how do I reinstall it??  I'm old school and thinking don't I need an actual "disk".

     

    And as for you saying #1 is most likely, what is the worst that happens there?  I mean, I don't even understand what the heck Mail is trying to do right now?  Is it trying to import everything I have ever sent and deleted and saved?  My time capsule doesn't have that?  What the heck does iCloud do then?

     

    I am sooooo confused!!  Thank you for your patience in answering my silly questions. . .

  • 9. Re: Importing Mail after new HD install and recovery via Time Capsule
    Lynda Rice Level 1 Level 1 (0 points)

    Mr. Davis -

     

    I was just messing around and typed in "~/Library/Mail/"  via Finder, Go to Folder and a whole bunch of stuff came up.  I can't make heads or tails out of it.   This isn't even all of it!!

    I'm desperate.............

     

     

    grab-1 copy.jpg

  • 10. Re: Importing Mail after new HD install and recovery via Time Capsule
    Lynda Rice Level 1 Level 1 (0 points)

    Here's another screen shot Mr. Linc . . . . I actually moved that MailData folder to the desktop and restarted mail and it asked me to set up mail like it was the first time.  I hit cancel cause I was lost!

     

     

    grab-2 copy.jpg

  • 11. Re: Importing Mail after new HD install and recovery via Time Capsule
    Linc Davis Level 10 Level 10 (118,005 points)

    If my OSX installation itself was corrupt, wouldn't I notice that with other ways on my system?

     

    Not necessarily. But as I wrote above, your problem isn't likely due to system corruption. I just want to rule it out before wasting a lot of time on more complicated troubleshooting.

     

    when you say Reinstall the OS . .. I'm already lost right there.

     

    If my instructions aren't clear, see Reinstall OS X.

     

    And as for you saying #1 is most likely, what is the worst that happens there?

     

    The worst is that you lost some messages that were never backed up because your old drive was failing.

  • 12. Re: Importing Mail after new HD install and recovery via Time Capsule
    Lynda Rice Level 1 Level 1 (0 points)

    Mr. Davis -

     

    Did any of my screen shots (above) give you any further information before I proceed?

     

    Thank you!!

  • 13. Re: Importing Mail after new HD install and recovery via Time Capsule
    Linc Davis Level 10 Level 10 (118,005 points)

    No. As long as you have that folder open, you can delete all the files with names beginning "Envelope Index" and also the one named "AvailableFeeds.corrupt".

  • 14. Re: Importing Mail after new HD install and recovery via Time Capsule
    Lynda Rice Level 1 Level 1 (0 points)

    Ok, thank you, Sir. 

     

    I may not get to this tonight, but I thank you, thank you for your patience!!  Fingers crossed!

1 2 Previous Next