Recovering mail from a server backup

A bunch of messages have disappeared from an Imap mailbox, at the same time as the Time Machine backup disk at the client Mac has failed.
So, I'm looking to recover the missing messages from my OS X Server Mac mini, which has a known good Time Machine backup.
Can anyone advise an approach please. I'm unclear why the messages disappeared in the first place, but I assume that if I can somehow access them from the server backup, I can restore.
I could:
- Save off current messages from the client
= Restore the server to a point before the messages disappeared
- Copy back the saved current messages
Is there a better way?
And does anyone have a theory as to why the messages disappeared in the first place?
Thanks all

There really isn't a better way, IMHO.  I've had to do the restore and it only restores the mail directory.  So I took the same approach:
1.  Export or copy to another folder within mail all of the user's email.
2.  Restore the Mail file on the server.
3.  Reconnect the client to the Mail server.
4.  Manage deltas using the archived messages.
There may be another, more technical way to do this.  But if the amount of mail isn't too bad, this is a very quick way to "fix" it.

Similar Messages

  • HT4859 After the i-cloud server issue Nov 26, 2012, I had to change some mail account settings to get my i-cloud mail to work again.  However, all of my received e-mails are gone.  How do I retrieve my e-mails from the server?

    After the i-cloud server issue yesterday, November 26, 2012, my i-cloud mail account on my Macbook Pro stopped receiving mail.  I changed some mail account settings to fix the issue, and was able to start receiving e-mails.  However, all of my historical e-mails are gone.  How do I retrieve all of my old e-mails from the server?

    What settings did you change, what were the changes, have you visited www.icloud.com to see what mail is actually there? and do you have a backup?

  • Restore mail from af Timemachine backup

    Hello.
    My server crashed some days ago due to a harddisk failure.
    I had a Timemachine backup from the server, but you can't restore a server that way, so I installed from fresh.
    Now I'm missing a lot of mails
    Is it possible, to restore the mails from the timemachine backup?
    Hoping for a good answer.

    Hi Thomas,
    first of all, if you have some mails in your backup, ignore the following answer, otherwise take a line of coke before.
    I don't want to frighten you but I experienced a crash a couple of years ago and I remember that I was very surprised that Time Machine does NOT backup /var (where mails are stored). I had to explain to my users that all their mails was lost.
    Since this day, I use mailbfr to backup the mail database.
    Joan

  • How to fecth the contents of a mail from the server by using jsp

    hi
    Can any body tell me how to fetch the contents of mail from the server by using javamail api...please send me code if some one have
    bye.

    hi
    Can any body tell me how to fetch the contents of mail from the server by using javamail api...please send me code if some one have
    bye.

  • Reading mails from Hmail Server

    hi all,
    I am using an java mail api to read mails from a hmail server.I was successfull in reading mails and analysing it further but the problem that i face is my program could read only the recent mails ,all the remaining unread mails were not accessible from the java code.......i am attaching my code...
    package mail.hmailserver;
    import java.io.*;
    import java.util.*;
    import javax.mail.*;
    public class ReadMail_frm_hmailserver {
         int c=0;
    @SuppressWarnings("unchecked")
    public static void main(String args[]) throws Exception {
    ReadMail_frm_hmailserver mailObj=new ReadMail_frm_hmailserver();
    mailObj.readMails();
    public Vector[] readMails() throws Exception
         String host = "172.29.19.78";
    String user = "[email protected]";
    String password = "testuser1";
    // Get system properties
    Properties properties = System.getProperties();
    // Get the default Session object.
    Session session = Session.getDefaultInstance(properties,null);
    // Get a Store object that implements the specified protocol.
    Store store = session.getStore("pop3");
    //Connect to the current host using the specified username and password.
    store.connect(host, user, password);
    //Create a Folder object corresponding to the given name.
    Folder folder = store.getFolder("inbox");
    // Open the Folder.
    folder.open(Folder.READ_ONLY);
    //folder.open(Folder.READ_WRITE);
    Message[] message = folder.getMessages();
    // String [] contents=new String[10];
    Vector [] contents = new Vector[message.length];//creating array of vectors to store mails
    // Vector contents1=new Vector();
    System.out.println("No of mails : " + message.length);
    System.out.println("subject 1 : "+message[0].getSentDate());
    System.out.println("subject 2 : "+message[0].getSubject());
    // System.out.println("subject 3 : "+message[2].getSubject());
    // System.out.println("subject 4 : "+message[3].getSubject());
    //System.out.println("-----------------");
    // Display message.
    for (int i = 0; i < message.length; i++) {
              c=0;
              contents[i] = new Vector(); //since vector array is an array of arrays we hav to initilize each of the content vectors
    System.out.println("------------ Message " + (i + 1) + " ------------");
    System.out.println("SentDate : " + message.getSentDate());
    System.out.println("From : " + message[i].getFrom()[0]);
    System.out.println("Subject : " + message[i].getSubject());
    System.out.print("Message : ");
    //System.out.println(message[i].getContent());
    Multipart multipart = (Multipart) message[i].getContent();
    //System.out.println(multipart.getCount());
    String line = null;
    for (int j = 0; j < multipart.getCount(); j++) {
    //System.out.println(i);
    //System.out.println(multipart.getContentType());
    BodyPart bodyPart = multipart.getBodyPart(j);
    InputStream stream = bodyPart.getInputStream();
    BufferedReader br = new BufferedReader(new InputStreamReader(stream));
    while (br.ready()) {         
         try {
                                  //line.append(br.readLine());
              //line=line+"\n"+br.readLine();
              line=br.readLine();
              if(line.equals("NOTICE")){
                        System.out.println("entered-----------------------------exit loop");
                        //exit();
                        c++;
                        break;
              if(c==0)
              contents[i].add(line); //adding the mails line by line to the array
                             System.out.println(line);
              //System.out.println(contents[i].get(j));
         } catch (Exception e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();
                                  System.out.println("Exception : "+e);
         //contents[1].add(line);
    System.out.println();
    //System.out.println(line);
    // contents[i].add(line); //adding the mails line by line to the array
    System.out.println();
    // folder.close(true);
    //store.close();
    //System.out.println(contents.length);
    //System.out.println(contents[0].get(0));
    //System.out.println(contents[0].);
    return contents;

    You might want to use IMAP to read mail from hMail Server, if you keep messages on server. It has a lot more features for managing messages on server.
    A lot of POP3 implementations (both client and server side) will automatically delete retrieved messages. I don't know exactly what JavaMail does in that regard, nor of hMailServer, but I do know some mailservers out in the wild will ALWAYS delete mails retrieved with POP3.

  • How can I make MFE delete the mails from the serve...

    guys,I am using mfe on my E63 with mail2web free account.I configured gmail to retrieve my hotmail mails then I configured gmail to forward my mails to my mail2web account.I did that so I dont have to have more than one mailbox on my phone and to be able to check my all accounts from one account which is mail2web via mfe.but my problim is when I delete an email via mfe from my phone its not been deleted from mail2web servers.I mean when I login on pc I see all the mails that I have been deleted.can I make the phone to also delete the mails from the server? thanx
    my blog on the net(in arabic):http://bazkurd.wordpress.com

    WaMuHIP07 wrote:
    Right-click the videos that you want to always start from the beginning in iTunes. The options tab of the video file properties contains this option control. Uncheck the box that says "Remember Play Postion."
    Or hit the left side of your scroll wheel when launching it on your iPod

  • Ever since iOS 7 was installed on my phone it keeps fetching all and any e-mail from my server and it is taking up tp as much as 2.5 GB even after I delete the messages! Now after a complete wipe and restore it is happening all over

    ever since iOS 7 was installed on my phone it keeps fetching all and any e-mail from my server and it is taking up tp as much as 2.5 GB even after I delete the messages! Now after a complete wipe and restore it is happening all over again why can't the techs at apple fix this defective program??????????????

    ever since iOS 7 was installed on my phone it keeps fetching all and any e-mail from my server and it is taking up tp as much as 2.5 GB even after I delete the messages! Now after a complete wipe and restore it is happening all over again why can't the techs at apple fix this defective program??????????????

  • How to download ALL MAIL from the server in a Mail app ?

    How to download ALL MAIL from the server in a Mail app ? I want all the mail messages, sent, received ON my computer... Thanks much !!!!!!!

    In Mail's Accounts/Mailbox Behavior preference pane make sure these 4 checkboxes are NOT checked:
    OT

  • HT201250 How can I exclude mail from Time Machine backups?

    How can I exclude mail from Time Machine backups?

    Welcome to the Apple Support Communities
    Mails are stored on ~/Library/Mail, being ~ your user folder. As you are running Snow Leopard, it's easy to exclude your mails from your Time Machine backup.
    Open System Preferences > Time Machine > Options, and add ~/Library/Mail to excluded items, so the next backup won't include mails. Note that you have to go to your user folder, in order to access to this directory

  • I can't access my mail from the server!!!

    I am having trouble retrieving mail....I click on "Get Mail" and nothing happens. When I select the inbox and Get Info, it shows that there are a number of new emails on the server, yet my Mail program does not want to retrieve them. I checked to see if my account was enabled (under Preferences) and it is....I don't understand what the problem is...this is happening in a networked office of 10 other macs, and only one other person is having this exact same problem. very weird. internet works fine.
    any suggestions? I'm about to download a new mail program like entourage if this keeps up.
    thanks,

    POP account.
    We own Entourage already, so that isn't a problem.
    Right now we're using www.mail2web.com as a temporary solution, but that isn't really practical for a professional architecture firm where email records are essential to our business.
    I would love to keep using Mail, I really have no idea how to fix this problem. I don't know why it is only happening to 2 of our 10 computers, there is no difference in the setup of any of them, and this started mid-morning, so I know that the users did nothing to the settings. It just stopped wanting to pick up mail from the server.
    File size does not seem to matter, because one of the computer's mailboxes has about 10,000 emails saved, and the other has about 20, and they are showing the exact same behaviour. It is really strange!

  • How to remove my icloud mail from icloud server ?

    how to remove my icloud mail from icloud server ?

    If you don't want to keep it, select it, on the iCloud website Mail page click the Trash icon in the toolbar to move it to the Trash, then click the cogwheel icon at top right and choose 'Empty Trash'. Or in the Mail application drag the messages to the Trash and from the Mailbox menu choose 'Erase deleted items' then 'iCloud'.
    If you want to keep it, in the Mail application drag the messages to another mailbox under 'On My Mac'.

  • HT201320 when my phone goes and gets my mail, can i get it to remove the mail from the server.

    when my phone goes and gets my mail, can i get it to remove the mail from the server.

    Only if it's a POP3 server. IMAP and Exchange synchronize the server and all clients.

  • Send mail from windows server 2008

    Hi all,
    I have developed one web application on windows xp platform, which will send mails on request (using javamail api).
    But it is not able to send mails from windows server 2008, what should I do .. ?
    Thanks & Regards,
    Abel

    Thanks for reply.
    Here my answers for above questions :
    The web application which is deployed in the server is not able to send mails.
    I'm not getting any exceptions.
    I don't know what the protocol trace show.
    I don't know how to debug my application, which was working fine in my development environment,but giving error result(not working fine in deployed system).
    Regards,
    Abel

  • Mail stopped picking up new mail from IMAP server [MDaemon]

    I've been using Mail to pick up my mail from a number of different mail accounts (MobileMe, Gmail and work mail). Everything has worked fine until a couple of weeks ago when mail stopped picking up new mail from my work mail account.
    I have tried deleting the mail account and setting it up again - all that did was to lose the cached mail on my machine, although it picked up the folders from the imap server and it's looking in the folders for mail [I can see that from the Activity Window]. It also seems not to delete everything as, when I went to set it up again, the email address field was already defaulted to the one for the account I had previously deleted.
    I then tried creating a new user on my laptop and setting up the work mail account under this user. It worked perfectly - it went off and got all of the mail from the server (OK by me) and started picking up the mail OK.
    So I'm guessing that if I can really delete the mail fully from my main user, I could reintroduce it and all would be well. However, I've scanned the whole disk for my email address and deleted (after backing up) all files I found with the address in. Again, it still seemed to know about the account I removed.
    Anyone any ideas?

    Troubleshooting Apple Mail
    What does Mail/Window/Connection Doctor Show? If the server is red, select it and look at the Show Details box.
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • Mail 2.1.1: Can't read mails from Exchange server

    Effect: *Mail 2.1.1* contacts the Exchange server successfully, which I checked with the operator, looking directly over his shoulder, but Mail 2.1.1 does not load any e-mails. Mail 2.1.1 loads down mails from another server with unknown software (gmx.de) successfully.
    Mail 2.1 works nicely with absolutely identical settings with both mail servers
    I am using Mail 2.1.1/MacOS 10.4.10 on my G4 and MacBook Pro, Mail 2.1/MacOS 10.4.10 on my G5.

    No solution found - works again. Please no questions.

Maybe you are looking for

  • Time Machine on an External Hard Drive - used with another computer or mac?

    I'm planning on selling my computer but want everything that is on my Mac saved so when I can afford to buy a new computer I will have all of my files, music, pictures, etc.  I hooked up Time Machine to an external hard drive last night.  So everythi

  • Can't get ATV working with Onkyo TX-SR605-URGENT ASSISTANCE NEEDED!!

    I'm hoping someone will be able to give me some advice, as I've now spent way too much time trying to figure out what's going wrong. I've just purchased the Onkyo receiver, which in itself is an extremely daunting piece of equipment after my very str

  • Binary Search Tree Question

    I am writing my own implementation of a binary search tree and one of the methods I am having issues with writing is a getRootNode() method. I am wondering A if there is any API doc on Binary search trees and B What the method would look like for a g

  • Problem with Copied Business Object : SELFITEM

    Hi, sub:    Problem with Copied Business Object : SELFITEM I want to use changed selfitem BOR for carbon copy functionality. For it, i copied the BOR : SELFITEM. it is giving error In SWI2_DIAG it is showing like this. Work item  cannot be read      

  • Change approver

    How I can change the manager name as the approver in the CUP. I am unable to locate that option. I would like to change the email notification for manager approval. Also noticed, approver information is totally empty in CUP config -> approver --> app