Mail search function - old emails

Just moved to new iMac with OS Lion.
The Mail function used to search the body of the email, but now it does not (apparently).  Grrrr
http://support.apple.com/kb/HT3610
More importantly, the search function is not looking at my old emails in separate folders.  And apparently it is not looking at emails not received by the new computer either.  Thus I have no historic email search function, which is annoying.
How can I force Mail to look at and search all the other old email folders?
Thanks.

Ok, I have a fix for this (borrowed from another blog),
Quote:
Quit the Mail app and go to this directory:
~/Library/Mail/V2/MailData/
Delete these files:
Envelope Index
Envelope Index-shm
Envelope Index-wal
Restart the Mail app. 
And now everything works fine.
Cheers

Similar Messages

  • My mail search function has stopped working

    A couple of days ago for no 'apparent' reason my mail search function stopped working.
    I have 2 IMAP accounts that run through gmail - neither they nor the 'on my mac' accounts are working as they normally do. It's very strange as some things come up on my search, but most things do not.
    This happens whether I select 'search all' or pick a particular folder to search in - I can see the email is there, but the search function doesn't pick it up when I test it out.
    I'm on Mac OS x, V 10.6.8 in case that's relevant.
    Any suggestions would be fabulous - thanks!
    Sarah

    Mail search uses Spotlight to some extent.
    Try re-indexing Spotlight.
    Spotlight – Re-index

  • Mail search function doesn't work

    Our Mail Search Function no longer works - does anyone have a fix?   the mailboxes have been rebuilt, the envelope files in the library/mail directory have been deleted, and the emails have been re-indexed - still no luck in searching in the mail search feature.  This was never an issure before the upgrade.  Please provide help if you can ~ Thanks!~

    THANKS!  Went thru about 90% of the things listed there.  Am Currently going thru the suggestion of the spotlight rebuild thru the terminal.
    When I looked at the settings as stated here: For server-based accounts (IMAP, Exchange, iCloud, and MobileMe), make sure Mail is set to download entire messages—if it doesn’t, Spotlight can’t index them. Go to Mail -> Preferences, click Accounts, select an account, and click Advanced. Make sure the Keep Copies Of Messages For Offline Viewing pop-up menu says All Messages And Their Attachments.
    This option is not viewable or available in my Mail Preference Advance screen and the "Keep Copies of Messages for Offline Viewing...." was not listed in any of the windows - went thru each one.  This option was was also mentioned under my "help" - but not finable in the preferences....
    Thanks again....

  • Mac mail search function is not working. Any search term returns all records.

    Mac mail search function is not working. Any search term returns all records.

    hi eric. many thanks.
    i will have to read these links closer but what i meant to say is that the hard drive space that was being taken up seemed like it suddenly jumped way up because i had just gotten through a process in the last month where i am storing all my My Documents data on my Mac Pro. i am doing this in order to decide whether i should just keep it ALL on my Mac Pro and use ChronoSync to sync /some/ of it to my MBP.
    so if i look in the Documents folder on my Mac Pro i have a ton of folders that i have created with a ton of data. if i look in the Documents folder on my MBP there are NO folders that have data in them that i created. there are other folders such as folders that various software created but what i mean to point out is that there was a LOT of available space on my HD until recently.
    i am wondering if there is some way that running the Mail re-index (it then ran some kind of "Importing" routine) or by syncing my Photostream to the MBP caused a huge jump in data on this drive. if it is the photostream sync i can just take this off or see if it will sync more selectively. if it is something to do with mac mail jumping in size i am not sure why this would happen or what to do about it.
    does that question make sense?
    i mean, before i did these two operations my recollection is that i would have had 130 GB on the hard drive (really just guessing here) and now there is like 218 GB on the hard drive and i don't know where all this came from...

  • My itouch mail keeps loading old emails and displaying them as unread.  If I delete them it just loads 50 more older ones

    My itouch mail keeps loading old emails and displaying them as unread.  If I delete them, 50 more load....old ones that I have long since read and discarded.  Any suggestions.  It appears to be only 1 of my email accounts that does this.  I have deleted the account and resynced to get it back in use, but 50 old emails come up as if they are new unread ones.  Thanks for any help.

    I am having the same issue and it started the same day.  My other mac does it as well but has been an issue for two years.  I just gave up on it and stopped using email from that mac.  I just spend 4 days trouble shooting ti myself when i had time and now spent 2 hours with apple on a chat and screen share and they couldnt solve it either.

  • Running Lion, mail search function suddenly stopped working

    All of a sudden the search function in my Mac mail stopped working.  No emails show up when I begin to search in any of me mailboxes.  Still able to search in spotlight but not always effective in finding what I'm looking for.  Desperately need to fix this as always referring to old emails for work.

    You can rebuild your mail search indexes by following these instructions:
    http://docs.info.apple.com/article.html?path=Mail/3.0/en/14019.html
    Cheers,
    Rodney

  • Mail search function does not work after reinstalling

    Hello!
    I recently had to re-install Leopard on my MacBook Pro.
    I made a clean install so, I manually copied the Mail folder and preferences from my old home folder to the new one.
    All mails are present, and everything works great, apart from the fact that the search function does not work.
    I can search for new mails (that came after the reinstall) but the old ones "dont exist" as far as the mail.app goes.
    What can I do about it ?

    It would probably be easier to do the entire hard drive. The App Store also uses Spotlight, so updating it will help there also. It takes some time to re-index and your computer will/may run slower until it is done.
    Direct answer to your question is go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Then go to System Preferences/Spotlight per the linked article and in your user folder, select Library/Mail/V2.
    Thanks to leonie for some information contained in this.

  • Mail program sends old email

    My husband's PowerBook - PPC G4/1.67ghz/Tiger 10.4.8/ Mail 2.1
    intermittently sends out old emails previously sent to the same recipient. He found a fix in a help menu for an older version of the Mail program which said to make a change in preferences/composing. The option is not available in 2.1.
    Has anyone (besides the one person who posted her in 12/2005 asking about the same problem who was never answered) else had dthis problem?
    Thanks,
    Gayle

    This problem is caused by some index corruption that makes messages to randomly appear in a mailbox different from where they’re supposed to be. If that mailbox happens to be the Outbox, Mail thinks they’re waiting to be sent and dutifully proceeds to try to send them.
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all filesystem issues, if any, and making sure that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. Quit Mail if it’s running.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong, e.g. by dragging it to the Desktop while holding the Option (Alt) key down. This is where all your mail is stored.
    3. Locate Envelope Index and move it to the Trash. If you see an Envelope Index-journal file there, delete it as well.
    4. Open Mail. It will tell you that your mail needs to be “imported”. Click Continue and Mail will proceed to re-create Envelope Index -- Mail says it’s “importing”, but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • Mail sending random old emails

    Recently bought a new iMac running Mountain Lion. A few weeks ago I sent an email, (can't remember whether it was from my .mac account or the POP account I use for work) and, instead of the email I had written, it sent an old email written to someone completely different. I was in a rush at the time and so didn't make any notes about what happened and forgot about it pretty quickly.
    This morning however it happened again. Twice. I replied to a work email in my POP account but the email that was sent was from 4-5 years ago. The email that was sent was originally sent to a completely different person and it was their address that was showing in the sent field. I called them this morning to find out if they had received it again but they hadn't. I've also just heard back from the person I was trying to reply to and it seems this random one didn't make it to them either.
    About 20 minutes later the same thing happened again. I was replying to a different client on a completely different matter and the email that showed as being sent was again from 4-5 years ago. Strangely, the original recipient was the same as in the previous instance (again neither party received it) but it was a different email.
    And now, since I started writing this, it has happened a third time! I had written a new (ie not reply) email to one of the previous clients asking if they had received a random email from me. They wrote back to say they hadn't. I've just replied to say thanks for letting me know and the same thing has happened again. This time the email sent is one from 2009 and was originally to a completely different recipient.
    After the first two times I got on the phone to Apple Care and they told me to use Mail in the classic view and not group by conversation and monitor the situation. Now it's happened a third time I'm getting pretty sick of this as I can't reply to clients which, funnily enough, is no way to run a business!
    Anyone got any ideas????

    I have exactly the same problem, I also have a new macbook pro and am also using Mountain LIon.  Any help gratefully received.

  • How can I get Mail to 'forget' old email addresses?

    Several work contacts have recently changed their email addresses, but when I type their names in the To: box in Mail, it brings up both the new and old addresses.
    None of these email addresses are in my Address Book, Mail is obviously just picking them up from previous emails I have sent and received  to/from these people.
    How can I get Mail to 'forget' these old email addresses and just bring up the current ones?
    (I have already accidentally sent emails to the old addresses because they are coming up in the drop-down menu. I would much prefer it to be idiot-proof and not bring the out of date addresses up at all)

  • Mail - search function has stopped working

    I have always been able to search Mail.app (v 3.2) messages by using the (top right) Search box. But if I type any search string in that box now, no messages are found. But Spotlight searches are still finding hits.
    Is there a way to get Mail.app to "rebuild" it's search database? Is there a plist file (or similar) that could have become corrupted / non-functioning?
    Any suggestions as to how I can solve this issue gratefully received.
    Julian

    You can rebuild your mail search indexes by following these instructions:
    http://docs.info.apple.com/article.html?path=Mail/3.0/en/14019.html
    Cheers,
    Rodney

  • How to prevent Apple Mail from downloading old emails from Yahoo (Imap)

    I started using Apple Mail and decided to use it to access my yahoo mail.  Apple mail worked well in setting up my account but the problem is I have more than 10,000 emails in my yahoo account and Apple mail is downloading each and every one of them.  Even if i choose for it not to download attachments, it will still take a long time to download.  Is there a way or Mail to just download emails starting now, or at least within this year only?

    Good question. I have the same issue. Too many old Yahoo emails. My iMac struggles to download the email to the client and it doesn't work - it seems to time out and stop downloading the old mail.

  • Mail Keeps Redownloading Old Emails Whenever I switch Wireless Networks

    Hey Everyone,
    I am experiencing some technical difficulties with Apple Mail.
    I have configured Mail to download all emails from my online Yahoo account using the configuration settings from Yahoo.
    When I am using my wireless network at home, the client downloads all my NEW mail as expected.
    However, whenever I connect to a different network, say at the office or at university, or even in a foreign country, Mail downloads ALL the emails in my Yahoo mailbox again.
    Instead of simply downloading NEW mail messages like it is supposed to, whenever I connect to a different network, ALL my emails (both old and new) are redownloaded from the server.
    Once I return back home again to my usual wireless network, it will once again download ALL the mail, both old and new, again. Until I switch to another network, it will work fine.
    This is a terrible inconvenience, as I store thousands of emails online, and thus have to wait for about 45 minutes for mail to finish downloading all of the emails before I can check my new mail.
    Any assistance with this matter is most appreciated.
    I am using OS X 10.4.7 and Mail 2.1 (752/752.2) on an iBook G4.

    You're welcome.
    Any other means through which I can solve this?
    None that I know of in your case. Actually, some ISP's are clueless enough to tell users that the cause of the problem is that mail isn't being removed from the server. And some users are clueless enough to be happy "realizing" what the problem was and how easy it is to "solve" it -- see duplicated emails, for example.

  • Mail search functionality poor

    I just upgraded to lion, now I find that when i do a search in mail i get 2 or 3 results when I should be seeing a hundred or more based on the search criteria.
    I really dont want to scroll through my whole inbox to find one message out of thousands when I should be able to narrow the list to a reasonale nuber with a search, like I was able to in the last versions of mail under snow leopard and earlier osx's. Am I missing a  pref setting somewhere, or does the new mail search just suck out loud?

    https://discussions.apple.com/message/15731560#15731560
    Read up on this Finder search,  same applies to the new Mail search
    http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars/15#finder

  • Mail suddenly retrieves old emails from IMAP

    Hello,
    Dunno why but sometimes Mail starts to retrieve IMAP msgs that are 1-2 years old... how can I fix this?
    Thanks in advance!

    I see similar results if I go anywhere near the 'Get Mail' button - I may receive hundreds of old, read, and/or deleted emails. I've learned to never use 'Get Mail'= - if I don't use that, all seems to be relatively well.

Maybe you are looking for