Mail on disk image, Spotlight can find messages, but "entire message" can't

For security purposes I've moved my to a disk image. For details on how to do this, see:
http://discussions.apple.com/thread.jspa?messageID=5837719
It's a relatively easy thing to do as long as you make sure that a symbolic link exists to your new Mail disk image's volume from ~/Library/Mail.
Getting to the point: Spotlight is able to find my mail messages when the disk image is mounted. So far -- no problem.
The catch is this: Mail->Search->"Entire Message" is completely broken. I get zero results, no matter what the query is. Finder Spotlight searches are able to find results for the same queries. We're talking about local mbox folders, not online IMAP folders. Searches within Mail in To/From work fine.
I've tried the following suggestions, scoured from various help forums:
-- repairing disk permissions
-- rebuilding the Spotlight index
-- deleting Envelope Index and re-importing my messages
-- vacuuming the SQLite databases
None of these suggestions helped.
I've caught wind of this on other forums, but so far there doesn't seem to be a definitive fix, unless I've missed something. I'm not sure if the fact that I'm running Mail from a disk image is particularly germaine to the issue, either.
Any ideas on how to get Search working for entire messages again?
This is on 10.5.1, clean install. (This is a new MacBook.)

Leopard Mail Entire Message Search - FIXED!!!
My Original Post is here:
http://discussions.apple.com/thread.jspa?messageID=7462907#7462907
Posted by: DaveC
This is a known issue. Check out:
http://www.betalogue.com/2008/02/25/mac-os-x-105-tip-repairing-broken-spotlight- searches-in-mail/
http://www.betalogue.com/2008/03/28/mac-os-x-105-broken-spotlight-indexing-for-m ail-messages-caused-by-presence-of-older-mail-application/
Thanks Dave. I went to Betalogue and went through all the posts and I finally found a way to fix the Search Entire Message Spotlight problem in Apple Mail - at least it worked for me. I have been trying to fix this with all sorts of solutions for months and it turns out it was related to a problem with the Launch Services Database. I confirmed this by looking inside my user/library/mail folder and seeing that inside each Mailbox folder, the sub mailboxes all had standard folder icons and not the inbox tray style icons.
Note that you can easily fix this through Terminal Commands, and not all the following steps are completely necessary, but there are many people looking at these threads that want to just push buttons...
*== So here are my simple steps to fixing Apple Mail Search ==*
1. Attach and turn on any external hard drives you have that may have a copy of Mail.app on them
2. Delete all OLD copies of Mail.app that you can find (don't worry about Time Machine), but make sure you keep the latest version of Mail.app in your working Applications folder.
~ This is so that the LaunchServices database won't easily become corrupt again
3. Install the latest version of Onyx - free to use and download from www.macupdate.com
~ I suggest Onyx, because some people don't want to mess with the Terminal.
4. Quit all open applications and run Onyx (it will want to check your Hard Drive etc...that's OK).
5. Go to the Maintenance pane and then the Rebuild tab and select only the LaunchServices box. Click Execute.
~ This should fix the primary problem with searches
6. When that process finishes, select only the Mail's Envelope Index box. Click Execute.
~ This should fix related problems with other searches
7. When that process finishes, select only the Spotlight Index box. Click Execute. (This process of Rebuilding your Spotlight Index could take hours depending on how big your hard drive is).
~ This will give you a clean fast Spotlight database that Mail uses for Entire Message searches.
8. Quit Onyx
9. Open Mail.app and test your Entire Message Search!
====
Hope that helps - it certainly, finally, did for me!
Bryce.

Similar Messages

  • Can't burn Blu-ray disk image because get error message, "The operation couldn't be completed. (DSPPublishing error -1012.) What does it mean?

    There was an error creating your disk image. The operation couldn't be completed. (DSPPublishing error -1012)

    I don't have a background image. I called Apple and they had no idea what that error number meant. I deleted preferences for FCPX still didn't work, then delted all preferences and set up a new user. It now works. Apple has no idea what is going on.

  • How to remove a DVD disk image I can't see

    Disk Utility shows a DVD that I used some time ago to copy some files. The only place it shows up is in Disk Utility. DU says it is waiting for a disk to be inserted but the disk was posted to a client. How can I get rid of it?

    Tiff Sunbacon wrote:
    Okay. Now this is embarrassing. The DVD I referred to is also in your screenshot: Matshita DVD-R UJ-85J! Which presumably means it's part of the OS and meant to be there? But what is it? In my defence I've never noticed it before. (Be gentle I feel silly enough already.)
    Well, as they say, a picture is worth a thousand words
    Yep, that's your DVD drive.
    So your problem just vanished.
    Learning is a lifetime operation. Everything is new to us at some point in our lives.

  • A compressed disk image that can be mounted via mount -o loop file?

    I have a handful of hard drives I want to back up before I re-purpose them.  I would really like to use some kind of compression (preferably xz or gzip), but I want it in a way where I can just mount it on the command line without extracting it first.  Is this possible?
    Last edited by synthead (2011-09-08 18:42:06)

    I know this: http://e2compr.sourceforge.net/ I have not tested it and need kernel patching. There are more option if you only want read-only support (see the link Related Software on the last page).

  • Created a disk image for a DL disc but no menus appear when it is burnt

    I told my iDVD project to 'burn' a DL Disc image and burnt the image with Disk Utility.The iDVD project preview shows all of the required menus etc.. BUT the burnt disc does not, neither does the image file if mounted and opened with DVD player.This is very strange - can anyone shed light on it for me?

    Hi Neville Neale
    Welcome to apple discussions. Perhaps you inadvertently made an "autoplay dvd." But then again sometimes iDvd will default to Autoplay. Hard to tell without being at the computer in which you authored the dvd. I suggest you launch iDvd and then take a look within Map View. If you happen to see a movie in the very first or top box, then simply select it and hit the Delete key. Now preview the dvd again. Should play as expected with menus and all. But if not just come on back.

  • Can't eject disk image from Finder in Mountain Lion

    I just got a new MacBook pro. I'm running Mountain Lion (10.8.2). Any time I try to unmount an external hard drive or eject a disk image from the Finder, nothing happens (either clicking the contextual eject icon or right-clicking). The items in question are not in use when I try to eject them. I'm only able to do so with Disk Utility. Any ideas? I've repaired disk permissions but the problem persists.

    I am having similar issues with my user account. It also is the same in Yosemite.
    Disc images, external hard drives etc dragged to trash (get eject icon) are simply ignored.
    Pressing Eject button in side bar of Finder are ignored.
    It seems to be a permission/account issue as:
    - using computer under a different account doesnt have this problem
    - transferring account over to another mac continues the problem on the new computer.
    Log file seems not to have any errors.

  • FileVault can't copy disk image?

    Hi Folks,
    I wanted to enable FileVault on my computer but it keeps failing when I try to initiate it. I get a message saying that it can't copy disk image. What can I do about that?
    I won't be back online until Friday so if you have any more questions please be patient!
    Thanks,
    Lizzy

    Hi Lizzy Scott;
    No programming, Linux or other funky stuff required.
    If you go to Lock Your Data with Disk Image, you will find the directions on how to do it.
    Allan
    Message was edited by: Allan Eckert

  • Can you move events and projects to disk images in iMovie 11?

    iMovie 08 allowed you to move events to disk images and keep them there. In other words iMovie 08 saw disk images the same as a hard disk. iMovie 09 lost this and could not recognize disk images. Can an iMovie 11 owner tell me if this functionality has been restored. I liked being able to keep projects in progress in encrypted disk images and away from prying eyes. Thanks!

    Yes you can do it with Finder.
    I move projects and Events into and out of temporary folders with Finder nearly every day.
    Problems arise when you have Events and Projects with identical names on more than one drive. If you're going to do that, put the files on one of the drives into another folder somthat FCP X doesn't recognise them - or eject one of the drives.
    Andy

  • "Install Adobe Flash Player" is damaged and can't be opened. You should eject the disk image.

    Attempting to install Flash player on a mac. System requirements are met; old versions uninstalled. I keep getting this error message "Install Adobe Flash Player" is damaged and can't be opened. You should eject the disk image.

    Hi,
    can you try installing from this zip file? http://download.macromedia.com/pub/flashplayer/installers/archive/fp_11.7.700.203_archive. zip

  • Time Machine / Time Capsule Error: Backup disk image could not be mounted

    So I'm trying to back up to time machine, which used to be working fine, but I have this problem happening on two computers now (which probably means the error is in my Time Capsule.)
    The Time Capsule shows up on my "shared" list in my finder windows.
    I can connect to it, and open the folder inside, and SEE my two disk image files in there.
    But Time Machine gives me a "The Backup Disk Image Could Not Be Mounted" error. No other information.
    If I double-click on the disk image file directly, I get an error "The Following disk images failed to mount" and then it lists the file and says "Resource temporarily unavailable."
    Help, please.

    I'm caught in the same loop, with no end in sight. I've only been using Time Machine and Time Capsule for 2 months. This week it stopped working. First error message:
    "Unable to complete backup. An error occurred while copying files to the backup volume."
    Checking the Time Machine preferences, "Last backup" would read "backup failed"
    When I got this error, all the wireless functions went offline, even thought the TC light was still green.
    I would shut down, shut down the Time Capsule, shut off my modem reboot everything in order.
    Next error message:
    "Disk repair. The disk 'Backup of [my computer]' was not repairable by this computer. It is being made available to you with limited functionality. You must backup your data and reformat the drive."
    Then: "Time Machine Error: The backup volume is read only. To select a different volume ... Time Machine preferences ... "
    I spoke to someone at Apple, who sent me the Time Machine Troubleshooting page:
    http://support.apple.com/kb/HT3275?viewlocale=en_US
    I went through:
    1. updated my system software
    2. updated the TC firmware to 7.4.1
    3. dragged the sparsebundle to DiskUtility. It took a while (more than an hour?) but said the disk could not be repaired. When I tried again, the repair function wouldn't run.
    4. tried to delete the sparsebundle, but it would choke at almost the end, sometimes it would just crash the finder, sometimes say "Sorry, an unexpected error occurred," sometimes "Operation cannot be completed because the item 'bands' is in use." I even tried to Stuff the bundle with 'delete original' checked, but the stuffing, after about 15 hours, jammed near the end (stuffed 20 gigs of 35 gigs).
    5. tried to reselect the TC, and run backup anyways ... now it can't find the volume, back to the error messages and crashing Finder
    6. checked password in Keychain, all ok.
    Now what??
    Do I use Airport Utility to erase it? At least TC is still showing up there. Or press the rest button on the back of the Time Capsule to reset to factory defaults?
    I've resigned myself to losing my backups. Now I would just like to get it up and running again.
    In hopes,
    Linda

  • Using disk images for learning games?

    Hello, I've 2 g3 imacs running 9.2.2, and they are for the grandkids to use learning games on.
    The kids are very hard on the software disks. When I found out about disk images I made them up, now to install them properly. The games are installed, but where to store the disk images? The desk top icons for the games will work after the disk images have been double clicked and the mounted disk image appears on the desktop, but when the imacs are turned off the mounted disk image is lost. How or where does one put the disk images in a safe place so the kids don't get at them, and the disks are mounted every time, without actually starting, when the Mac is started? Start up menu?
    I'm planning on multiple accounts with them having a standard account with game privileges so they don't mess the whole thing up. If their accounts get too messed up for me to repair I figured on maybe deleting the account and opening up a new one? Any Ideas are very welcome.
    Thank you,
    EZ

    Hi, EZ -
    You're quite welcome.
    I had a thought with regard to the disk image files. Are they in a .smi format, or are they in a .img format?
    The .img format requires the assistance of the Disk Copy utility in order to mount the image. This is the standard format generated by the user version of Disk Copy. It requires that Disk Copy be available to Finder to act as a helper app in order to mount the image.
    The .smi format does not - .smi stands for Self-Mounting Image. The user version of Disk Copy can not make this format; but I have seen a utility to convert .img format to .smi format. The slight advantage with this format is that Disk Copy does not need to be available to Finder.
    In both cases the default is to run a checksum verification before the image is finally mounted. The delay caused by this verification can be inconvenient - verification is intended to confirm the integrity of the image after it has been copied, transported, or downloaded, but is usually not necessary when the image resides on a hard drive.
    The checksum verification for .img file types can be removed. With the image not mounted, open Disk Copy. In Disk Copy's Preferences (Edit menu), uncheck the Verify Checksum item. Save the Preferences window. Then select Convert Image from the Image menu, navigate to the disk imge file from which you want to remove the verifiaction, select it and click the Open button. A new window will appear, similar to a Save As type window. Leave everything in that window untouched (unless you want to change the base name of the file - the extension .img should be left intact) and click the Save button. The image will be mounted, the original disk image file will be deleted, and a new disk image file created. Unfortunately creating the new image file takes quite a while since it is creating a new one, not actually modifying the old one - but it does get rid of the intrusion of the checksum verification requirement.
    I verified on my G4/500 running OS 9.1 that a .img file (one I had made from a game CD years ago) dropped into the Startup Items folder will be mounted automatically at the end of the startup sequence. I also tested with an alias to the .img file, and it, too, worked fine - the disk image was mounted automatically at the conclusion of the startup sequence.
    When you make the alias to the disk image file (the .img one), be sure you are placing it into the Startup Items folder, and not the Startup Items (disabled) folder.
    If you have the machine set to use Simple Finder (which removes Finder's keyboard commands and many menu options for Finder), that may interfere with items in the Startup Items folder being run at startup. Or, it may not - I have not checked that.
    *** Edit ***
    I have verified that the alias to a .img file will mount the disk image even when the machine is booted using Simple Finder.
    Another thought, related to Multiple Users - if you do decide to set up Multiple Users, and the disk images are of type .img, be sure to authorize Disk Copy for each of the accounts for which the disk images are to be mounted. If you have the disk image files in a .smi format, since Finder views that file type as being an application, you would need to authorize each of those disk image files for each account which is to have access to them.

  • Burning several disk images in one DVD

    Is it possible to bun 2 disk images on a DVD? I tried in DU but if both .img are selected,"Burn" is greyed.
    Alternatively, how can I combine 2 disk images into one, so that DU will accept to burn it?
    I found the following advice a Forum:
    A .dmg file is a disk image, and can be treated like any other disk. You can copy the contents of one into another, or make a new blank image and copy their contents into that.
    I did that, but, as I said, DU doesn't agree
    Those disk images contain home videos which have been edited in iMovie 5, but cannot be burned in iDVD because my Mac mini has no DVD burner. So I create a disk image in iDVD and use DU -> Images -> burn on an external burner.
    Also, is it possible to rename a DVD? For some reason the latest DVD is bearing the same name as the DVD burned just before it.

    your whole topic is Finder-related, MacOs allows/supports simple drag'n drop...
    your both .imgs exist at some location of your Mac, right?
    no app needed nor running...
    insert an empty dvd-r
    your Mac will ask you what to do...
    you do: drag'n drop both .img files onto disk...
    hit the burn button in disk's window..
    no step 3), boom! done..

  • "Always Open In..." View Options for Root Level of a Disk Image File

    I ran into a problem/bug tonight that I can't find listed anywhere and was wondering if anyone else has encountered it. I am using Snow Leopard (now 10.6.1), upgraded from the last revision of Leopard.
    I create DVD-R sized disk images with Disk Utility (using "Mac OS Extended" only w/o Journaling) for saving downloaded files. Because of the number of files on this disk, I create single-letter folders (for alphabetical filing) and set up these disk images to "Always Open In List View". For the individual folders, I can set these to "Always Open In List View" without a problem. However, for the "root level" of these disk images, I can only access "Always Open In Icon View" no matter which view option is selected.
    For previously created disk images that were already set to "Always Open In List View", these show the previously set "List View" at the disk image "root level" as expected. But if I uncheck the box, it immediately goes to "Always Open In Icon View". And like before, no matter which view option is selected, I can never get back to "Always Open In List View". Note also that I can set this option as expected for "root levels" of real disks - this only seems to be a problem with the disk image files.
    I had no problems at all with this under Tiger or Leopard. I've only run into this now under Snow Leopard. The upgrade tonight to 10.6.1 hasn't seem to affect this problem.
    So should I be doing something differently now to get this option to reappear, a possible conflict with something on my computer or is this a bug with Snow Leopard? Can anyone else duplicate this issue?

    Additional info, in case anyone is running into this issue...
    If I do the following with the "root level" of the disk image, I can set the "Always Open in List View" option.
    1. Open the "root level" view of the disk image - for me, it always opens in icon view. Then, select "Show View Options" from the View menu.
    2. Check the "Always Open in Icon View" box. While leaving this dialog open, select "as List" from the View menu.
    3. Uncheck the "Always Open in Icon View" box. It will instantly turn into "Always Open In List View". Recheck this box immediately, then close dialog. This will make the setting stick.
    I've been able to repeat this situation several times. I might be wrong, but it sure acts like a small bug to me. Hope this helps anyone else who might have encountered this issue.

  • Multiple Macs: Disk Images or Clones

    Greetings,
    I have a MBP that is my main machine. The wife has an iMac with an older OS.
    I also just bought a Seagate FreeAgent Go for Mac (320G), and want to create backups of both machines on this external HD. Reading around, I know I can create disk images of the hard drives for each computer and store them on the external HD (there is enough room), and I believe the other sensible alternative is to partition the external HD (into 2) and clone one machine on each partition (thinking of using Carbon Copy Cloner). For this latter option (cloning each machines' drive), I believe I need separate drives (or partitions) to do that (i.e. can't clone the internal HD's from each machine onto one external HD volume) (?).
    If I have those options correct (disabuse me as needed). Recommendations on which strategy might be best?
    This will be for complete backups done once a month or so.
    Message was edited by: bikeprofessor

    Thanks much all...
    Kiraly...now we are getting down to the nub of it...if I work with disk images, I need a functioning hard drive with space to load the back-up disk image onto and work from.
    I think Carbon Copy Cloner is misusing the term bootable disk image on their website:
    "Carbon Copy Cloner 3 leverages disk images to provide you the flexibility of storing several complete, bootable* backups on a single shared external hard drive. (* Disk images themselves are not bootable, but you can mount them and restore their content to a physical hard drive to produce a bootable, exact replica of the original)."
    http://help.bombich.com/faqs/dmg-and-remote/dimages
    comments???

  • Problems with the CS6 Master Collection disk image (invalid checksum)

    I have problems downloading the trial for CS6 Master Collection for MacOS X.
    I've tried downloading using the Download Assistant, both as a privileged and an unprivileged user, and have also tried the direct download as both privileged and unprivileged. Each time I've waited until the download was complete before trying to install, but every time the disk image fails to open, complaining of an "invalid checksum".
    I've tried mounting the disk image without validating the checksum, but while I can then run the installer, the installation fails due to lack of privileges – again, this is regardsless of user privileges. I've also tried deleting the preferences and cache-files for Download Assistant, but to no avail.
    Can anyone confirm that the english version of the CS6 Master Collecion disk image is working and can be mounted without error on MacOS X 10.7? I have now downloaded and re-downloaded the disk image at least eight times, and while I have a fast Internet-connection, this is getting tedious.

    I just downloaded the DMG from Adobe.com using the trial and it mounts fine. I was able to start the installation.
    I did not get a checksum error or any other error.
    However, I found these instructions in another thread:http://forums.adobe.com/message/4370247#4370247
    <quote>
    If the download is completed in the Adobe Download Assistant you can temporarily turn off the feature to verify the checksum.  The following steps will allow you to temporarily disable this feature:
    Open the Disk Utility located in Applications/Utilities
    Go under the Disk Utility menu and select preferences
    Deselect the option to verify checksums
    Try mounting your DMG file
    I would recommend turning this feature back on though after the installation is complete.  Also if you notice this happening on additional files it can indicate a problem with your Internet connection.
    </quote>
    Could you try these steps and let us know if you were able to proceed.

Maybe you are looking for

  • Confirmation Reversal - PO Line Item Edit Issue

    As per the business rule, if you reverse/delete the confirmation on a line item on the PO, you should be able to edit that line item. However, in my case, even after deleting confirmation also, PO line item cannot be changed. Generally when you delet

  • Creation of G/L details

    Hi Experts,   what is the differences for below one    1. creating G/L interms of Chart of Accounts    2. creating G/L interms of Company Code    3. creating G/L centrally   and which one of them we will use mostly & what is the reason. Can anyone gi

  • JMF set video source to S-video/Tuner/Composite during runtime

    Does anyone know how to change Video Source from Video Tuner to Video Composite or S-Video? I'm using LifeView card. I can get them to work manually. However, I have no clue how to set them at runtime. I want to have buttons to swith from Tuner to Co

  • KT4 Ultra Rocks!!

    Well,,..With a new board and a few weeks of waiting my problems with my KT3 Ultra have been solved and i got a KT4 Ultra for 80$...It pays to take something back if it doesnt work...well heres the specs...: KT4 Ultra BIOS V1.3 Athlon Xp 1700+ Thoroug

  • When i send to iDVD...

    Hi, I´m from Portugal, so please forgive me my bad english. The question is - i´m workink with a HDV movie in the iMovie. When i push "share" to send the video to iDVD, the aplication do everything OK. But, when i play the movie on iDVD, the sound se