osx - import pst/ost file in os x mail

01
2013-12
  • BetaRide

    I've just moved from Windows to OS X. I have lots of emails stored in Outlook pst and ost format. How can I import this mails into the Mac Mail App?

    The mails should be stored localy on the Mac. I don't want to import them into an IMAP account because it's my multi Gigabyte Mail Archive of the last 15 years. But it would be very handy if the mail search would search inside this archive as well.

    Update:

    So far I found 2 Tools which are able to export to mbox format which can be imported in Mac Mail App.

    • O2M stops on the first signed email.
    • MessageSave sliently looses all attachements.

    Are there any tools without this limitations which can export pst/ost to mbox?

  • Answers
  • BetaRide

    After all I ended up using the readpst command line tool which is recommended in this post. It can easily be installed using home brew.

  • BetaRide

    I just joined the apple iCloud and found an other possibility to transfer your mails. If you decide to synchronize your windows outlook emails via the iCloud you will get them on your mac mail app as well.


  • Related Question

    Is there any way to "restore" a .pst (Outlook Personal Folder) or .ost (Offline Folder file)?
  • Ivo Flipse

    I have Microsoft Outlook 2007 installed and use IMAP for all my mail accounts. When I updated to Windows 7 I had to reinstall Outlook and thus download all the headers again. I ended up downloading everything again, but I would want to prevent this in the future.

    Is there a way to import my Microsoft Office Outlook Personal Folders (.pst) or Offline Folder (.ost) files into the new installation, so I don't have to download all the headers again?


    Edit: I checked the extension of the files in my current Outlook folder, which are .pst files, is it possible Outlook changed them to .ost files when I was messing around with my Outlook settings? I've changed my question to import .pst or .ost.

    Edit2: I tried exactly that and even made sure they had the correct name, but then Outlook would crash on me. I guess there is more to it than just the file names... I also tried some programs to restore .ost files, which actually managed to get files out if it, but also tried to empty my wallet... I'm hoping for a kick-ass hacky way to get it working anyway!


  • Related Answers
  • Leftium

    I have had success with two different methods:

    Method A

    1. Save your pst/ost files (copy to a safe place via windows explorer)
    2. Re-install Outlook and set up the account, but prevent it from downloading anything.
    3. Note the location of the pst/ost files for the new Outlook installation
    4. Close Outlook
    5. Via explorer, replace the new installation's pst/ost files with your saved ones
    6. Restart Outlook

    Method B: Also I have used the previously mentioned Outlook import feature:

    • File > Import and Export > Import from another program or file > Personal Folder File (.pst) > locate PST/OST > Import

    As for the difference between PST and OST files:

    • OST files cache the files from the exchange server; they are "copies"
    • PST files exist only on one computer; they are not stored on the Exchange server
  • fretje

    Sure... there are 2 ways:

    • just put your .pst file at the default location BEFORE you start outlook for the first time (usually that's somewhere under your user folder/appdata/microsoft/outlook/...)

    • or you can open outlook first, and then open your .pst file and then mark it as the default pst file and then remove the original one.

    Edit
    Concerning the .ost files: have you tried the same? I think you will have to configure outlook first (the IMAP account settings) but don't download the headers, then shut down outlook en copy your old .ost and .pst files over, and then restart outlook... not sure if that will work though...

    Maybe this can be interesting as well: Repair an .ost or .pst file in Outlook

  • John Dyer

    You can add PST files right into an existing Outlook configuration.

    For Outlook 2007:

    Tools / Options / Mail Setup tab / Data Files... Then press the "Add" button, choose between the new format PST or the old 97-2002 format. Then browse to where your file is located.

    It should show then in the folder view of Outlook.

    I also create local PST files for archiving "stuff". I then move the PST files when I get a new system, it's very handy. There are some Outlook systems that have policies that prevent creating PST files. Hopefully you won't get involved in that.

  • Mark Henderson

    File > Import and Export > Import from another program or file > Personal Folder File (.pst) > locate PST/OST > Import

  • Pär Björklund

    I would recommend the Import method's described in the other answers. Moving the pst file without importing it can often cause very weird errors because some absolute paths seems to be stored in it.