How to undo Mail Rebuild.

O.K. I did it one more time by blindly following leads to solve a problem with my mail
When starting Mail I -was able to- read the messages in my inbox. After awhile they disappear giving me a msg where normally the email body is read: "The message from Wayne Mallett <[email protected]> concerning “Mail Subject” has not been downloaded from the server. You need to take this account online in order to download it."
So I looked online here :
http://forums.macosxhints.com/showthread.php?s=&threadid=29787
and followed the following link from one of the postings:
http://docs.info.apple.com/article.html?artnum=25812
And did a mail rebuild .
All the files in my in-box disappreared.
I quit and restarted mail and it did someindexing and total files in inbox now is zero ( + a couple of new emails), and thousands of mails in my inbox seem to be gone.
Is there any way that I can undo this rebuild and get the files in the inbox back?
Someone please help!

As you can see, letting a mailbox grow indefinitely is a really bad idea. If you’re just starting to experience the problem, doing what the Overstuffed mailbox is unexpectedly empty article suggests might work. If you’ve let the problem to become worse over time, however, it may be too late to solve it as described in the article, but you may still be able to fix it as follows:
1. Quit Mail if it’s running.
2. Assuming this is a POP account, in the Finder go to ~/Library/Mail/POP-username@mailserver/.
3. Locate INBOX.mbox and move it to the Desktop.
4. Open Mail. A new empty INBOX.mbox will automatically be created within the account folder, and this will allow you to continue using Mail normally while trying to solve the problem.
Although INBOX.mbox appears to be a file, it’s actually a special kind of folder (a package) that contains several files. Ctrl-click on INBOX.mbox and choose Show Package Contents from the contextual menu to see the files it contains. Of these files, mbox is the most important and is where all your messages are stored. What’s the size of that file? Depending on its size, you may or may not be able to directly import it back into Mail in the next step.
An Incoming_Mail file may also be present, in which case it might contain messages that Mail couldn’t transfer to mbox. Incoming_Mail is also a standard mbox file like mbox proper, just named differently, and can be imported back into Mail in the same way.
5. In Mail, do File > Import Mailboxes and follow the instructions to import the INBOX.mbox that’s on the Desktop. I’m not sure what the import options available in Mail 1.x are, but you should choose Other / Standard mbox or something like that, so that Mail looks at the mbox file only (and Incoming_Mail, if present) and ignores the other files in the package.
If Mail doesn’t let you select INBOX.mbox in step 5 because it’s a package instead of a plain folder, rename INBOX.mbox to just INBOX (i.e. remove the .mbox suffix) so that it becomes a normal folder, and try again. You cannot do this directly in the Finder because removing a suffix by normal means causes the Finder to hide the suffix instead of renaming the file. To remove the suffix from the name, you must do File > Get Info (⌘I) on the file and change the name there.
If the mbox file is too big for Mail to handle it, however, you’ll have to break it into smaller pieces. You can do that with an MBOX Breaker Script available at Allan Sampson’s website, or with Emailchemy. The former will ignore the Incoming_Mail file that I mentioned previously, but you may try importing that file directly if it’s not too big or just ignore it if all your messages are in mbox. Also, if you removed the .mbox suffix from the name of the mailbox, you may need to add it back again for the script to recognize it.
If all is well and you don’t miss anything, the files on the Desktop can be deleted, although you may want to keep them for a while, just in case.
Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

Similar Messages

  • Undo a Mail Rebuild.

    How can I undo a Mail Rebuild. I accidentally hit the Rebuild, now have no mail, and want to restore my messages.

    It shouldn't delete your messages, but it does. Or at least it hides them. They instantly vanish. Another thread on this subject said to hit "rebuild" again. That just erases/hides everything again. If you hit "Get All New Mail" tab, it seems (this time) to have restored my Inbox, although not all of my Sent mail.

  • HT6114 how to undo an update

    how to undo an update

    I'm so disgusted right now. I have been studying forums for 3 days trying to get my iMac 27 functional again. Updated to OS x Mavericks 10.9.2 on March 11 and Aperture 3.5.1 on March 10. I imported some pictures into Aperture a day or 2 after that. Now everytime I try to open Aperture I get an Applications has run out of memory message. I have repaired permissions for the whole system, tried to repair permissions, library and rebuild database in Aperture. Gets almost to the end and gives me the out of memory error each time. Then I have to reboot the system constantly. 3 days!!! I need to know how to either reinstall or rollback the updates.

  • I have an Iphone 4S and it looks like I connected my iphone to my computer and need to know how I undo this.

    I have an Iphone 4S & it looks like I connected my iphone to airplay on my computer and I need to know how to undo this.Can anyone help me?

    Getting back is hard, but go to Settings > Mail, Contacts, Calendars and under Calendars check the time for syncing...set that as far back as you can, the default is one month.

  • I found My iPhone contacts on my friends Iphone we both have 4s! But we use the same apple ID and ICloud ID! How can undo what happened? all my private stuff is now on his phone!!! help me plz!!?

    I found My iPhone contacts on my friends Iphone we both have 4s! But we use the same apple ID and ICloud ID! How can undo what happened? all my private stuff is now on his phone!!! help me plz!!?

    Of course if you are both connected to the same iCloud account you have the same contacts - what did you expect?. The contacts live on the server and are read from there by the devices; so as you've both managed to sync your contacts up to iCloud they are now inextricably mixed. You can only delete your contacts by deleting individual ones, and doing that will delete them from your phone as well.
    You can only unravel this by
    1. In the iCloud contacts page at http://icloud.com, select all the contacts, click on the cogwheel icon at bottom left and choose 'Export vCard'.
    2. Sign out of System Preferences>iCloud
    3. Create a new Apple ID and open a new iCloud account with it for your own use.
    4. Import the vCard back into the iCloud contacts page.
    5. Go to http://icloud.com and sign in with the original ID. This is now his ID. Work through the contacts individually deleting the ones you don't want him to have. When done sign out and advise him to change his password.
    6. Go to the new iCloud account and delete his contacts individually.
    Of course if you have also been syncing calendars and using the same email address there are problems with doing this.

  • How to undo an order of transport which has returned an error code 8

    Hi experts,
    While transporting an installation of business content, it has removed a lot of transfert rules. Could you tell me how to undo this transport from quality to the production envirenenmet. Unfortunately I dident check the transport order which has returned the code error 8.
    Thank you for your answer.
    Regards.

    Hi Joseph,
    Transport all the objects you want in the order again with a new request. This will replace all the transported objects and you will get all the objects transported.
    Regards,
    KK.

  • How to send mail to distribution list ?

    Hi Everybody,
    Pls let me know how to send mail to distributed list???
    Thanks & Regards,
    raju<b></b>

    Hi ,
      Use Function Module 'SO_NEW_DOCUMENT_SEND_API1'.
      U need to pass Distribution list to Receiver and 'C' to receiver type refer the below code for clarification.
    Determine the Distribution List.
            gv_rec_list-receiver = gv_distribution.
            gv_rec_list-rec_type = 'C'.
            APPEND gv_rec_list.
    Check if Distribution List is deleted.
            SELECT SINGLE objnam
                     FROM soid
                     INTO lc_objnam
                     WHERE objnam = gv_rec_list AND
                           dlitp  = lc_dli.
            IF sy-subrc = 0.
              CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
                EXPORTING
                  document_data              = gv_doc_data
                  document_type              = 'RAW'
                  put_in_outbox              = 'X'
                TABLES
                  object_content             = gv_obj_cont
                  receivers                  = gv_rec_list
                EXCEPTIONS
                  too_many_receivers         = 1
                  document_not_sent          = 2
                  document_type_not_exist    = 3
                  operation_no_authorization = 4.
              CASE sy-subrc.
                WHEN '1'.
                 message i001(as) with 'TOO MANY RECEIVERS'.
                  EXIT.
                WHEN '2'.
                 message i001(as) with 'DOCUMENT NOT SENT'.
                  EXIT.
                WHEN '3'.
                 message i001(as) with 'DOCUMENT TYPE DOES NOT EXIST'.
                  EXIT.
                WHEN '4'.
                 message i001(as) with 'OPERATION NO AUTHORIZATION'.
                  EXIT.
              ENDCASE.
              Hope this might have helped you.
    Thanks,
    Prashanth

  • How to undo "This solved my question" on this Using iPhone forum?

    How to undo "This solved my question" on this "Using iPhone" forum?
    new to this forum... how do you undo this?

    **** lol, In that case they should give a warning or some type of "You sure?" yes/no. I clicked completely by mistake. anyways...

  • How many e-mails can i send through Bex Broadcaster?

    Dear Experts
    I would like to know to how many e-mail address i can send a query through "broadcast e-mail" function with BEx Broadcaster. In other words, what's the maximum number allowed of recipients?
    I'm using BI version 7.0.
    Thank you in advance
    Mario

    1. How many more phones/ipods/devices can I sync with my iTunes? I know it's 5 computers. What about iphones and ipods?
    No stated limit.
    2. Does Syncing multiple devices mean that all devices and my iTunes will always
    have the same content? i.e., If I download a few songs to an iPhone and then sync with iTunes, will itunes then sync that new content to any other devices that I sync with my copy of iTunes, therefore all devices will always attempt to have the same content?
    Depends. If all devices are set for automatic synchronization and they all have sufficient capacity to hold your entire iTunes library, then all devices will have identical content and will continue to do so whenever you add new content. If you're using manual synchronization and/or your entire library won't fit on one or more of the devices, then of course whether or not the devices have identical content will depend on you.
    3. How does this affect store purchases? Can I sync multiple devices to the same copy of iTunes and how many times can I sync the purchased iTunes store content to devices? I know it's 5 computers, but what about devices?
    Same answer as #1.
    4. Lastly, can a device such as an iPhone be synced to more than 1 computer/iTunes? Can I sync my iPhone to my own copy of iTunes and then sync again to someone elses and will this then sync new content to all associated computers and synced devices on those computers? Again, what about purchased content in such a scenario?
    Unless things have changed, an iPhone can only be synched to a single copy of iTunes. iPods other than the shuffle can be synched to multiple systems by setting to manual sync.

  • How can send mails using hotmail/rediffmail domain name?

    I have used the below code to send a mail using javamail API?Even when I am sending my application does not have notified any of error/exceptions,But the message is not reached to I have given receipient's address in the to field.
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class Sendmail1 extends HttpServlet {
    private String smtpHost;
    // Initialize the servlet with the hostname of the SMTP server
    // we'll be using the send the messages
    public void init(ServletConfig config)
    throws ServletException {
    super.init(config);
    smtpHost = config.getInitParameter("smtpHost");
    //smtpHost = "sbm5501";
    smtpHost = "www.rediffmail.com";
    public void doGet(HttpServletRequest request,HttpServletResponse response)
    throws ServletException, java.io.IOException {
    String from = request.getParameter("from");
    String to "[email protected]";
    String cc = "[email protected]";
    String bcc ="[email protected]";
    String smtp ="www.rediffmail.com";
    String subject = "hai";
    String text = "Hai how r u";
    PrintWriter writer = response.getWriter();
    if (subject == null)
    subject = "Null";
    if (text == null)
    text = "No message";
    String status;
    try {
    // Create the JavaMail session
    java.util.Properties properties = System.getProperties();
    if (smtp == null)
    smtp = "www.rediffmail.com";
    properties.put("mail.smtp.host", smtp);
    Session session = Session.getInstance(properties, null);
    //to connect
    //Transport transport =session.getTransport("smtp");
    //transport.connect(smtpHost,user,password);
    // Construct the message
    MimeMessage message = new MimeMessage(session);
    // Set the from address
    Address fromAddress = new InternetAddress(from);
    message.setFrom(fromAddress);
    // Parse and set the recipient addresses
    Address[] toAddresses = InternetAddress.parse(to);
    message.setRecipients(Message.RecipientType.TO,toAddresses);
    Address[] ccAddresses = InternetAddress.parse(cc);
    message.setRecipients(Message.RecipientType.CC,ccAddresses);
    Address[] bccAddresses = InternetAddress.parse(to);
    message.setRecipients(Message.RecipientType.BCC,bccAddresses);
    // Set the subject and text
    message.setSubject(subject);
    message.setText(text);
    Transport.send(message);
    //status = "<h1>Congratulations,</h1><h2>Your message was sent.</h2>";
    } catch (AddressException e)
    status = "There was an error parsing the addresses. " + e;
    } catch (SendFailedException e)
    status = "<h1>Sorry,</h1><h2>There was an error sending the message.</h2>" + e;
    } catch (MessagingException e)
    status = "There was an unexpected error. " + e;
    // Output a status message
    response.setContentType("text/html");
    writer.println("<title>sendForm</title><body bgcolor= ><b><h3><font color=green><CENTER>CALIBERINFO.COM</CENTER></h3>Your message was sent to recepient(s).<br><font color=red>"+"\n"+to);
    writer.println("<br><br><a href=e:/mail/javamail/mail.html>back to compose</a>");
    writer.close();
    Please any one help me out from this probs.
    Awaiting for yours reply,
    or give me a reply to: [email protected]
    Regards,
    @maheshkumar.k

    Hi,
    how can send mails using hotmail/rediffmail domain name?In your java application,you specified www.rediffmail.com as your
    smtp server.But that is the address of that website.Try will a smtp
    server instead.For a list of free smtp servers,please visit http://www.thebestfree.net/free/freesmtp.htm
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support/

  • How to e-mail more than one photo at a time?

    i am wondering how to e-mail more than one photo at a time from the photo's saved

    With the last iOS update you can add photos while you're typing you email. You just need to touch (as you have to copy/paste something) and the tap add photo. All the time you need.

  • How to migrate mails from Google Apps to MS Exchange Online IMAP (Getting error)

    Any tips on How to migrate mails from Google Apps to MSOL? What is required? When I am trying to migrate using IMAP but getting fpollowing error
    =======================
    Summary: 1 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:11
    [email protected]
    Failed
    Error:
    Failed to log on successfully for the following reason:
    Server rejected Basic login with following message : * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE.
    Exchange Management Shell command attempted:
    'Microsoft.Exchange.Transporter.Provider.PopImap.InternetMailboxMeta' | Move-XsIMAPMailboxToExchangeOnline -AllowUnsecureConnection $false -TargetCredential 'System.Management.Automation.PSCredential' -MaxThreadCount '10' -Quiet
    Elapsed Time: 00:00:11
    ======================
    Any help will be much appreciated.
    Regards
    Sunil DK

    I just finished migrating a client from Google Apps to Microsoft Exchange Online using the IMAP option in the Microsoft Online Services Migration Tool.  
    I added the mailboxes by creating a CSV file [i.e. GoogleApps(Gmail)_Mailboxes.csv] in the following format:
    SourceIdentity,SourceServer,SourceLoginID,SourcePassword,TargetIdentity
    [email protected],imap.gmail.com,[email protected],P@ssword1,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword2,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword3,[email protected]
    Then I created a custom folder map XML file [i.e. GoogleApps(Gmail)_FolderMap.xml] to map the Google Apps (Gmail) labels to the appropriate Exchange (Outlook) mailbox folders and create those that didn't exist (i.e. Important, Starred, Follow up,
    Misc, Priority) as sub-folders under the Inbox:
    <?xml version="1.0" encoding="utf-8"?>
    <FolderMappings xmlns="http://tempuri.org/FolderMap.xsd">
    <!-- This xml contains the mapping of foldername in source server to folders in target server -->
    <!--
    "path" is the name of the folder in source server
    "Name" is the name of the folder to be mapped into target server
    "SpecialFolder" is the name of the special folder to be mapped into
    target server (Name will be ignored) valid values are :
    Inbox
    Calendar
    Tasks
    Sent Items
    Deleted Items
    Drafts
    Junk E-mail
    Contacts
    Outbox
    Journal
    Notes
    "Description" Description of the folder
    "ExcludeFolder" indicates folders to exclude. Valid values are:
    true (case sensitive)
    false (case sensitive)
    0
    1
    -->
    <!-- Default Mapping Section -->
    <Folder path = "INBOX">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "New Mail">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "[Root]">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "Calendar">
    <Property SpecialFolder = "Calendar"/>
    </Folder>
    <Folder path = "Tasks">
    <Property Name = "Migration items/Tasks"/>
    </Folder>
    <Folder path = "Sent Items">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Deleted Items">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Draft">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Junk E-mail">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Contacts">
    <Property Name = "Migration Items/Contacts"/>
    </Folder>
    <Folder path = "Outbox">
    <Property SpecialFolder = "Outbox"/>
    </Folder>
    <Folder path = "Journal">
    <Property SpecialFolder = "Journal"/>
    </Folder>
    <Folder path = "Notes">
    <Property SpecialFolder = "Notes"/>
    </Folder>
    <Folder path = "Public Folders">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <!-- Google Apps (Gmail) Specific Mapping Section -->
    <Folder path = "[Gmail]/All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "[Gmail]/Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "[Gmail]/Important">
    <Property Name = "Inbox/Important"/>
    </Folder>
    <Folder path = "[Gmail]/Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "[Gmail]/Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "[Gmail]/Starred">
    <Property Name = "Inbox/Starred"/>
    </Folder>
    <Folder path = "[Gmail]/Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <!-- Custom Mapping Section -->
    <Folder path = "Follow up">
    <Property Name = "Inbox/Follow up"/>
    </Folder>
    <Folder path = "Misc">
    <Property Name = "Inbox/Misc"/>
    </Folder>
    <Folder path = "Priority">
    <Property Name = "Inbox/Priority"/>
    </Folder>
    </FolderMappings>
    Additionally, I had to tell the Internet E-mail Mailbox Migration Wizard to use the "Individual Account Credentials" option since I was able to specify each account password in the CSV file when adding the mailboxes to Microsoft Online Services Migration
    Tools console.
    Just to note, the users had to manually export their contacts to a CSV file and calendars to iCal (ICS) files in order to import those items into Outlook.
    I hope this will benefit others since Microsoft doesn't seem to have a custom, specifically defined migration strategy for this scenario.  With Google Apps being in direct competition with BPOS/Office365, I assumed that Microsoft would have a simple
    strategy using something like ActiveSync to facilitate the migration of email, contacts, calendar entries, etc.  Hopefully we'll see something along those lines become available in a future release of the migration tools.
    --Jon Payne

  • How to migrate Mail & Contacts from backup disk of old PPC iMac (10.3.9) to new iMac (10.8.1)?

    How to migrate Mail & Contacts from backup disk of old PPC iMac (10.3.9) to new iMac (10.8.1)? 
    The Firewire disk is connected and have been able to copy across document folders etc, but Migration Assistant doesn't find the disk so that method no good.  Any help appreciated.

    Thanks, that looks very comprehensive.  Wish I'd seen it before completing Set-Up Assistant initially!  Will follow his instructions and report back.

  • How to E-mail movies that are in the iPhone 4s Video app

    I recently had to wipe my 4s to check a potential send/receive timeout with Verizon FiOS E-mail (that issue is still unresolved).  When I originally purchased the unit, all the pictures and videos that were on my old Blackberry were transferred to the 4s.  I exported the entire Camera Roll to my PC prior to the wipe/re-install.
    I was able to use drop the pictures into the "My Photo Stream\Uploads folder on my PC.  The Photos are now back in my Camera Roll and can beemailed by the unit.
    However, it has been a labor to get my Videos back.  I cannot get them into the Camera Roll folder.  I managed to use iTunes to moved them over to the Videos app on my 4s.  The videos play perfectly, but since they are now in that folder, there is no way to E-mail the videos from the device.  Does anyone know of a way that I can either get those videos back into the Camera Roll, or how I can mail enable the videos in the Videos app.
    I also tried using Dropbox to no avail.  It is a bit convoluted, but one time I was actually able to use Evernote, but unless you upgrade to the full version of Evernote, you are limited to the number of uploads/E-mails per month.
    Any assistance would be greatly appreciated!  Thank you in advance for any help.

    Control Click gives me choice:
    Edit
    Remove
    Copy
    Nothing about duplicate address
    Even when I click on Previous Recipientd List there are not duplicates.
    Am a missing a step?

  • When i turn my iPad on, it keeps showing me how to use it, some random pictures, how to use mail etc. Anyway how to disable this?

    When i turn my iPad on, it keeps showing me how to use it, some random pictures, how to use mail etc. Anyway how to disable this?

    Sounds like you got a store demo. Look in your settings and see if you see "Demo Mode/Demonstration Mode" or something similar.

Maybe you are looking for

  • Submitting concurrent request from back end.

    Hi guys, I am submitting the concurrent request using fnd_request.submit_request ,passing start time as Sysdate. When i submit the program in scheduling section of concurrent program,the Requested start date defaults to current date but hours and min

  • Error after accessing to Oracle BI Spreadsheet Add-in

    Dear all, I downloaded Oracle Database 10g Express Edition (version 10.2.0.1. Beta) and I installed it successfully. I created a new account. Then I downloaded Oracle Business Intelligence Spreadsheet Add-in (version 10.1.2.1) and I installed it succ

  • Importing photos from iphoto into aperture

    Hi I am currently importing my photos one album at a time from iphoto into aperture as this is what I was told is the best way to do it. My organization up to now ***** so I am trying to organize everything now. But I have pictures in my iphoto libra

  • Need to lock text changes...

    but still edit the paragraph spacing and letter and word spacing. Basicly I page and format books from authors before it gets to press and it would be nice not to have to worry about a stray keystroke adding a typo to preaproved text. is there anyway

  • Intel MicroLAN

    In Gary W. Johnson's book, "LabVIEW Graphical Programming", 2nd Edition, 1997, on page 246 he discusses the "Intel MicroLAN 9-bit protocol RS-485 multidrop system". He says, "A few instruments" use this protocol. At my previous employment I became an