Damaged Mail Index in Lion

I just downloaded Lion OS X the other night with few difficulties (aside from my attempts to get used to the new gestures), until I attempted to check my email using Mail. I'm importing a few different POP accounts, and after the importing of my messages, it tells me that the upgrade failed, and tells me that ,"Your Mail index has been damaged. To repair it, quit Mail." I've looked into the problem and saw fixes like:
1) delete the Envelope Index files (~/Library/Mail ) and reopen mail (didn't work)
and
2) delete the com.apple.mail.plist file (~/Library/Preferences) and reopen mail (which also didn't work).
Not only did these fail to fix Mail, but they actually succeeded in making things worse. Now when I open mail, instead of importing 4417 emails, it only imports 3263 emails. I'm hoping that they aren't permantly lost.
Is anyone else having this issue? Does anyone have a fix for this? I would be extremely surprised if Apple decided to release a new OS which doesn't play nicely with a pre-installed app (which I was excited to use with all of the fancy new features they tout).
Thanks!
~Austen

May I advise you to ask this question or see if it has been asked in the Lion discussion community?  Just a thought since I have no idea -Ken

Similar Messages

  • Your mail index has been damaged. should I delete all of my Envelope Index files?

    When I attempt to launch mail, it begins by telling me that I need to import messages. Then it says upgrading mail database, then migrating data, then upgrade failed, click continue to launch mail assistant. When you click on that, the next message that comes up is your mail index has been damaged and will be fixed the next time Mail launches, only it doesn't. I go through the entire process again. Someone last night said something about deleting the Envelope Index files. Should I get rid of all of them? The person mentioned 3 of the files (Envelope Index, Envelope Index-wal, Envelope Index-shm), but I have 15 files altogether.

    I should add that several of the Envelope Index files are in two different places; the bulk are in Library/Mail/V2-Temp.noindex/MailData/, the rest are in Library/Mail/

  • Mail Upgrade Failed. Launch mail assistant. Mail index damaged. Says it will repair when mail is launched but it never does repair it. Any idea why this is happening?

    I downloaded Yosemite to upgrade from IOS 10.6.8. Mail will not work. It says the upgrade failed and to launch the mail assistant. Then the next message says mail index has been damaged. To repair it quit Mail. It will be repaired the next time you launch mail. However, this never works. I tried recovery and downloaded the software again but the same thing happened. Any ideas how to fix this?

    I have the same thing happening.  Everything else seems to be working fine, except i can't open my mac mail at all!  it seems to be in a loop and won't let me retrieve any mail or even try to send mail before migrating, but it fails and then its back to the beginning and the same loop continues, so no mac mail working.  I also came from 10.6.8 to 10.10
    jane

  • Mail index damaged repeatedly

    I've been trying to use Apple Mail with my Gmail and Google Apps accounts, both using IMAP. Everything has been working fine, except now at least twice idea I get message telling me that the Mail index has been damaged. I need to quit Mail and import old messages. Beyond this annoyance, it's a pain because I have to re-download a very large archive of messages from my Gmail account.
    I tried deleting the old Envelope Index files but that hasn't done any good.

    i'm having exactly the same problem. it started yesterday. just now mail suddenly said the index was damaged and it needed to import it all again. it imported, then restarted. mail barely finished starting before it said it was corrupt again. . .

  • Why repeated "Your Mail index has been damaged" errors?

    In my Mail.app (running on a white MacBook Pro with Snow Leopard) I frequently (sometimes daily) get the "Your Mail index has been damaged. To repair it, quit Mail." messages. Either letting the system repair or just Force Quit & restarting then I'm away again, but only for a few hours or days.
    Any ideas how to debug what's causing this? It's making Mail totally unusable.
    I use IMAP for about 5 accounts with this app. I don't have any problems with other Mail clients.
    Thanks, Michael

    I am not a clued up user as you might realise. I do not get nor can a search find a library folder nor any of the other files you have mentioned
    The screenshot I have is
    Sorry to be so basic.

  • Your mail index has been damaged

    I recently upgraded my I-max to Yosemite.  Now my email is not working.   Says" Your mail index has been damaged.  To repair it, quit mail.  Your mail boxes and messages will be preserved". 

    Launch the Console 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 Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Launch Mail. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • "Mail index is damaged"

    New problem.....When opening mail, I get the message "Mail index is damaged. Quit program and mail will repair index when re-opened." The only option at that point is to hit the quit button.
    When I then open mail again, there is no repair/rebuild, and the same dialog box opens. So at present my Mac Mail program is unusable.
    Any thoughts?
    Fabian

    This yields two separate errors and does not fix the problem:(
    kenneth-computer:~ Kenneth$ sqlite3 ~/Library/Mail/Envelope\ Index vacuum
    SQL error: database disk image is malformed
    kenneth-computer:~ Kenneth$ mv ~/Library/Mail/Envelope\ Index ~/Library/Mail/Envelope\ Index.old
    mv: rename /Users/Kenneth/Library/Mail/Envelope Index to /Users/Kenneth/Library/Mail/Envelope Index.old: Permission denied

  • Mail index damaged after yosemite upgrade

    I installed yosemite last nite, and I’m unable to open Mail.  I continue to get message:  "Your Mail index has been damaged.  To repair it, quit Mail.  Mail will repair the index the next time you open Mail.  Your mailboxes and messages will be preserved."  I've tried multiple times including restarting.  Any ideas on how to fix?  Thanks
    Mac mini mid 2010
    2.66 GHZ intel core duo
    4GB 1067 MHz DDR3
    NVIDIA GeForce 320M 256 MB

    Mine is totally porked.  I tried deleting the Envelope index files  and reimporting the mailboxes, but it stalled on import and now all it does when I try to open the program is become unresponsive.  I can see greyed out and unselectable the mail boxes with unread mail, but when I click on one, I get the spinning beachball of death.
    Date/Time:       2014-11-17 11:32:02 -0600 OS Version:      10.10 (Build 14A389) Architecture:    x86_64 Report Version:  21 Command:         Mail Path:            /Applications/Mail.app/Contents/MacOS/Mail Version:         8.0 (1990.1) Build Version:   3 Project Name:    Mail Source Version:  1990001000000000 Parent:          launchd [1] PID:             58434 Event:           hang Duration:        0.90s (process was unresponsive for 443 seconds before sampling) Steps:           10 (100ms sampling interval) Hardware model:  MacPro3,1 Active cpus:     8 Fan speed:       499 rpm -------------------------------------------------- Timeline format: stacks are sorted chronologically Use -i and -heavy to re-report with count sorting -------------------------------------------------- Heaviest stack for the main thread of the target process:   10  start + 1 (libdyld.dylib + 13769) [0x7fff9045e5c9]   10  NSApplicationMain + 1832 (AppKit + 13348) [0x7fff88638424]   10  -[NSApplication run] + 594 (AppKit + 98163) [0x7fff8864cf73]   10  -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194 (AppKit + 147408) [0x7fff88658fd0]   10  _DPSNextEvent + 964 (AppKit + 149537) [0x7fff88659821]   10  _BlockUntilNextEventMatchingListInModeWithFilter + 71 (HIToolbox + 188411) [0x7fff83a64ffb]   10  ReceiveNextEventCommon + 431 (HIToolbox + 188858) [0x7fff83a651ba]   10  RunCurrentEventLoopInMode + 235 (HIToolbox + 189503) [0x7fff83a6543f]   10  CFRunLoopRunSpecific + 296 (CoreFoundation + 464952) [0x7fff8ed47838]   10  __CFRunLoopRun + 2159 (CoreFoundation + 467695) [0x7fff8ed482ef]   10  __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 (CoreFoundation + 744537) [0x7fff8ed8bc59]   10  _dispatch_main_queue_callback_4CF + 861 (libdispatch.dylib + 56511) [0x7fff91dc3cbf]   10  _dispatch_client_callout + 8 (libdispatch.dylib + 7187) [0x7fff91db7c13]   10  __NSOQSchedule_f + 184 (Foundation + 33187) [0x7fff905611a3]   10  -[__NSOperationInternal _start:] + 653 (Foundation + 34204) [0x7fff9056159c]   10  -[NSBlockOperation main] + 97 (Foundation + 170245) [0x7fff90582905]   10  __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7 (Foundation + 1299176) [0x7fff906962e8]   10  ??? (Mail + 2163798) [0x106c38456]   10  ??? (Mail + 2246823) [0x106c4c8a7]   10  _CFXNotificationPost + 3140 (CoreFoundation + 65972) [0x7fff8ece61b4]   10  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 (CoreFoundation + 1174716) [0x7fff8edf4cbc]   10  ??? (Mail + 280620) [0x106a6c82c]   10  CA::Transaction::commit() + 390 (QuartzCore + 78180) [0x7fff8ad62164]   10  CA::Context::commit_transaction(CA::Transaction*) + 242 (QuartzCore + 79118) [0x7fff8ad6250e]   10  CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35 (QuartzCore + 81277) [0x7fff8ad62d7d]   10  CA::Layer::display_if_needed(CA::Transaction*) + 603 (QuartzCore + 83521) [0x7fff8ad63641]   10  -[_NSTiledLayer display] + 375 (AppKit + 1672327) [0x7fff887cd487]   10  -[_NSTiledLayerContents update:] + 5688 (AppKit + 1678724) [0x7fff887ced84]   10  -[NSTileLayer display] + 119 (AppKit + 1693757) [0x7fff887d283d]   10  CA::Layer::display_() + 1546 (QuartzCore + 85788) [0x7fff8ad63f1c]   10  x_blame_allocations + 81 (QuartzCore + 87071) [0x7fff8ad6441f]   10  ___ZN2CA5Layer8display_Ev_block_invoke + 59 (QuartzCore + 87139) [0x7fff8ad64463]   10  CABackingStoreUpdate_ + 3306 (QuartzCore + 90451) [0x7fff8ad65153]   10  -[NSTileLayer drawInContext:] + 169 (AppKit + 9874900) [0x7fff88f9fdd4]   10  -[CALayer drawInContext:] + 119 (QuartzCore + 94583) [0x7fff8ad66177]   10  -[_NSTiledLayerContents drawLayer:inContext:] + 169 (AppKit + 1693999) [0x7fff887d292f]   10  -[_NSTiledLayer drawTile:inContext:] + 625 (AppKit + 1694718) [0x7fff887d2bfe]   10  -[CALayer drawInContext:] + 119 (QuartzCore + 94583) [0x7fff8ad66177]   10  -[_NSBackingLayerContents drawLayer:inContext:] + 145 (AppKit + 1695942) [0x7fff887d30c6]   10  -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 108 (AppKit + 1391043) [0x7fff887889c3]   10  -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2407 (AppKit + 1393473) [0x7fff88789341]   10  __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 218 (AppKit + 1394088) [0x7fff887895a8]   10  -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shoul dChangeFontReferenceColor:] + 1186 (AppKit + 1395545) [0x7fff88789b59]   10  ??? (Mail + 247356) [0x106a6463c]   10  -[NSTableView drawRect:] + 1559 (AppKit + 1502907) [0x7fff887a3ebb]   10  -[NSTableView drawRowIndexes:clipRect:] + 831 (AppKit + 2670677) [0x7fff888c1055]   10  ??? (Mail + 2060321) [0x106c1f021]   10  -[NSTableView drawRow:clipRect:] + 1655 (AppKit + 2672684) [0x7fff888c182c]   10  -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 44 (AppKit + 2673404) [0x7fff888c1afc]   10  -[NSTableView preparedCellAtColumn:row:] + 414 (AppKit + 2674125) [0x7fff888c1dcd]   10  ??? (Mail + 288737) [0x106a6e7e1]   10  -[MFMessageThread sendersString] + 409 (Mail + 1760537) [0x7fff9307ed19]   10  +[MFMessageThread sendersStringForMessages:] + 234 (Mail + 1769603) [0x7fff93081083]   10  -[MCMessage senderDisplayNameInfo] + 38 (MailCore + 300076) [0x7fff9181442c]   10  +[MCDisplayNameManager sharedInstance] + 102 (MailCore + 162684) [0x7fff917f2b7c].....  Etc.

  • On updating to Yosemite Mail Index damaged but does not  repair when re-opening mail.

    Yosemite updated but Mail index damaged and does not repair when re-opened. How is this fixed?

    I have the same thing happening.  Everything else seems to be working fine, except i can't open my mac mail at all!  it seems to be in a loop and won't let me retrieve any mail or even try to send mail before migrating, but it fails and then its back to the beginning and the same loop continues, so no mac mail working.  I also came from 10.6.8 to 10.10
    jane

  • Can't open Mail, Index is broken!

    Hi, I need some help.
    I don't use Mail on my iMac or Macbook Pro Retina but need it to run some AppleScripts, so I tried to open it on my Macbook Pro Retina and iMac but can't open it on either, it just comes up with the below:
    First:
    To use the new features in Mail, your existing Mail messages need to be imported into the new version the first time you use Mail. this might take a few minutes. You won't be able to use Mail until the import is finished.
    Click Continue to import your messages now, or click Cancel to import later.
    If you click cancel, it just closes and if you click continue it does the below:
    The Upgrade Failed
    An error occurred during the upgrade. Click continue to launch the Mail Import Assistant, which will help you create a new library and import your existing messages.
    So I then click continue and this is what appears:
    You Mail Index has been damaged. To repair it, quit Mail.
    Mail will repair the index the next time you open Mail. Your mailboxes and messages will be preserved.
    So I then click Quit. It shuts down and then if you try to open it again, it just does the same thing again and again.
    I have managed to fix the one on my Macbook Pro Retina by following what some people suggested on other posts, what worked was deleting the com.apple.mail folder inside Library/Containers. And I haven't had a problem since but with the iMac once this file is deleted, it allows you to go through the whole set up for a new account and then goes into the same error pattern as mentioned above. I have also tried deleting the Envelope Index inside Library/Mail/V2/Mail Data and in the Mail folder too, but nothing seems to work.
    Can someone please adivse as to how I can re set my Mail, there is nothing in there so it can be rebooted or something like that. I just don't understand why I have managed to fix in one computer and not in the other one !!
    Any help would be much appreciated.
    Thanks,
    Sally

    Quit Mail. Then select
     ▹ Force Quit...
    from the menu bar. A small window will open with a list of running applications. Mail may appear in that list, even though you quit it. If so, select it and press return. Close the window.
    In the Finder, hold down the option key and select
    Go ▹ Library
    from the menu bar. Move the following items from the folder that opens to the Trash (some may not exist):
    Caches/com.apple.mail
    Saved Application State/com.apple.mail.savedState
    Application Support/AddressBook/MailRecents-v4.abcdmr
    Containers/com.apple.mail
    Mail
    Preferences/com.apple.mail.plist (OS X 10.7 only)
    Preferences/com.apple.mail.searchhistory.plist (OS X 10.7 only)
    Note: you are not moving the Mail application. You’re moving a folder named “Mail.”
    Log out and log back in. Launch Mail. It will behave as if you were running it for the first time. Go through the setup process with one of your accounts.

  • How can rebulid damaged SMS "index" file?

    Because of system crashed, E:\system\mail\index was been damaged(changed). How can rebulid this file? I want to find the saved messages.
    T_T
    Who can give me a hand?
    Thank you in advance!

    I think the only help is: restore from last/latest backup.
    If you don't have a backup, you're probably for the most part lost, I'm afraid.

  • How can I change order of email accounts in Mail on Mountain Lion?

    In Mail on Mountain Lion I have only two email accounts, but the wrong one has been set as default (because it was an account I had overlooked and added later). I cannot find how to change the order of the email accounts. One possibility is to delete the non-default account and re-add it, so that it becomes the most recent and thus (presumably) the default, but this would delete all the email messages in that account, which I cannot afford.
    It's a great flaming pain to try to remember each email I write to select the second account option, and yet I can find no way to change email account order---not in Mail and not in System Preferences. Dragging them certainly does not work.
    Can Apple have really missed this? Is there any solution?

    Comfortable with terminal...know how to edit using TextEdit:
    Open up a Terminal and use the following commands to change your Mail.app preferences file to an XML format – the default format is binary, and you can't edit this.
    cd ~/Library/Preferences
    plutil -convert xml1 com.apple.mail.plist
    Then, open this file com.apple.mail.plist with a text editor of your choice, preferably one that highlights XML syntax, but you can also use TextEdit:
    open -a "TextEdit" com.apple.mail.plist
    Now, look for the key called MailAccounts. It's value is an array, with dict children. Here, you'll find all your mail accounts in the order they were created in.
    You can now manually move these dict children around. Save the XML file and reopen Mail. Now, your Mail account order will be changed.

  • What is happening with quote substitution in Mail since Mountain Lion?

    What is happening with quote substitution in Mail since Mountain Lion? Now, whenever I type an apostrophe and it's replaced with a smart quote, it creates an unwanted space within my word and starts typing from there. It will also revert the font from my template style to helvetica. Annoying as heck! Any thoughts? Turning off smart quote substition in Mail elimates the error, but elimates the smart qoute, too. I'm stumped.

    What is happening with quote substitution in Mail since Mountain Lion? Now, whenever I type an apostrophe and it's replaced with a smart quote, it creates an unwanted space within my word and starts typing from there. It will also revert the font from my template style to helvetica. Annoying as heck! Any thoughts? Turning off smart quote substition in Mail elimates the error, but elimates the smart qoute, too. I'm stumped.

  • Exporting OS X Mail from Mountain Lion to Snow Leopard

    After upgrading to Mountain Lion, I partitioned my iMac HD to have two partitions: Macintosh HD has Mountain Lion; I reinstalled Snow Leopard on Macintosh HD 2. Best part: you can access your user-created files from EITHER disk partition. But not so OS X Mail. I wanted to revert to Snow Leopard, since I don't like the iOS-like Mountain Lion (swipe THIS!), but Mail was a problem since all my Snow Leopard Mail was successfully migrated over to Mountain Lion during upgrade. But I think I found a way to Export Mail from ML to (a clean install of) SL.
    Try this:
    1.  Open Mail in ML. For each folder you wish to have back in SL, Export it to your ML Desktop as an .mbox file. Depending on the folder size, this can take from a few seconds to several minutes. You'll see an .mbox icon for the particular folder on your Desktop. If the word "partial" appears between the folder name and the .mbox suffix, wait a few moments for the Export to complete, at which time the word "partial" will disappear. E.g., for a folder named "Mary", if it's a huge one, the icon will first appear as "Mary.partial.mbox"; when the Export is done, you'll see "Mary.mbox".
    2.  When you've Exported all your desired folders as above, you can exit ML and re-start your Mac in SL. Open Mail in Snow Leopard, and once again, for each file you just Exported in ML to the Desktop there, select "Import Data From Apple Mail" and choose the folder from the Desktop in ML to which your mboxes were Exported. When the Import starts, you can see via a progress bar how far along it is. When done, you'll see a new folder in your SL Mail called "Import"; click on it to reveal the folder you just Imported!
    3.  Then drag the folder you just Imported out of the Import folder to "On My Mac" in SL Mail; you can then delete the Import folder.
    4.  Repeat until all your folders are where you want them (in SL).
    5.  When you have time, go back into ML and clear all those .mbox files from your Desktop.
    There MAY be an easier way, but this is what worked for me.

    The iOS view vs classic view in Mail is not the problem; I've already configured for classic view.
    Mountain Lion itself is.
    My short list (to date) of crappy Mountain Lion behavior; items marked with a double asterisk (**)represent the worst of Mountain Lion for me.
    ** No up/down arrows in scroll bar slider;
    Expose` not as easy to navigate as in Snow Leopard;
    Mail does not request passwords for either receive or send;
    No "Save Draft" icon in Mail compose window (workaround: use command-s);
    "Save As" selection missing in most app menus;
    No separate Search window in Safari (workaround: use Firefox or Opera);
    ** Can't export Mail from Mountain Lion into Snow Leopard if downgrading (I compiled this list before I stumbled on the method in this thread, but I'd prefer to effect this with Unix symbolic links);
    iWork 09 seems to have "circled the wagons" re compatibility with MS Office or LibreOffice (workaround: just use Libreoffice);

  • How to configure google apps in Mail 5 of lion os x not as gmail but as exchange

    Hi All,
    I have been trying hard online to find some resource to configure google apps in Mail 5 of lion os x not as gmail but as exchange.
    The reason is that I want to sync my contacts as well as calendar and email but if configured as gmail ot only takes email and may be calendar.
    I use this over all my devices and need my calendars and contacts to be synced all over
    I called the customer support in USA but they directed me to call a UK number.
    Appreciate your guide line, or feedback with an online resource.
    Best regards,
    fawzy

    think i set it up like exchange but calendars doesn't sync and AB no sure,you also can do it in system preferences in the mail,calendars pane ..

Maybe you are looking for