Skip to content

Microsoft Exchange PST files

When exporting Microsoft Exchange backup data from AvePoint, you will receive the data as a .pst file. This file can contain mailboxes, contacts, calendars, or tasks.

Here we explain how to extract this data on different operating systems.

Extract on Windows

To extract the .pst file on Windows, you will need to use Outlook. We recommend reading the following article from Microsoft's Documentation on how to do so.

Extract on Linux (graphical)

The absolutely easiest way to read the data of a .pst file on Linux is to use the Evolution mail client.

Info

Unlike the Windows method, extracting .pst files on Linux requires no proprietary software.

Step 1: Installation

Ubuntu or Debian-based systems

Depending on the Ubuntu or Debian-based Linux distribution, it can vary wildly which "app store" you have, or if you have one at all installed.

If you have one, search for "Evolution" and install it. Make sure to also install the Outlook PST import add-on.

The most universal and consistent way of installing the Evolution mail client, including its PST import add-on, is to use the Terminal and run:

sudo apt install -y evolution evolution-plugins evolution-plugin-pstimport

Fedora

Open the Software app, and search for "Evolution".

evolution-fedore-install.png

Make sure to install it, and then scroll down to the bottom and install the "Outlook PST Import" add-on.

evolution-fedore-install-pst-addon.png

Alternately, to do the same thing quicker, use the Terminal and run:

sudo dnf install evolution evolution-pst

Fedora 41 Evolution PST import bug

The Evolution client on Fedora 41 has a bug that can, in some circumstances, cause the PST import process to block and never finish.

If you are running this version of the operating system, or is otherwise running into this issue, we recommend trying the Thunderbird method instead.

Step 2: Importing a PST file to the mail client

Open the Evolution mail client.

evolution-menu.png

From the menu, click on File → Import....

evolution-import-single-file.png

In the Import dialog, click Next → Import a single file → Next.

evolution-import-pst-source.png

Select the .pst file to import and click Next.

evolution-import-objects.png

Select the types of objects to import from the file and click Next.

After the import is done, you should be able to view the imported content in the mail client.

Extract on Linux (Terminal & Thunderbird)

If you prefer Thunderbird, you can also import the backup data in a similar way to the Evolution mail client.

However, by default, Thunderbird has no way of importing .pst files without Outlook being installed. You can bypass the Outlook requirement by first using the command line tool readpst to convert the .pst file to .eml/.vcf/.ics files, install the ImportExportTools NG addon, and then use it to import those files. We will guide you through the process.

Step 1: Installation

First, make sure to have Thunderbird installed by running the following command in the Terminal, depending on your operating system.

Ubuntu or Debian-based systems

sudo apt install -y thunderbird pst-utils

Fedora

sudo dnf install thunderbird libpst

Once Thunderbird has been installed, open it, go to the menu and click on Add-ons and Themes.

thunderbird-menu.png

Search for "ImportExportTools NG", then click on Add to Thunderbird.

thunderbird-install-import-add-on.png

Step 2: Create the local folders

You may skip this section if the Local Folders already exist on your Thunderbird installation, as seen below.

thunderbird-local-folders.png

We need the Local Folders section in Thunderbird to import the backup data to. However, Thunderbird will not create it by default. You have to first add a mail account, and only then will the local folders section be created. We will therefore create a temporary fake account and remove it, just to have the local folders be initialized.

Adding a real email account

You are welcome to add a real email account if you wish to use Thunderbird as a mail client.

To add a fake account, go to the menu, then click on New Account → Email. Type in any "full name" you want, then type in any email address such as "root@localhost". Then click on Configure manually.

thunderbird-fake-account-name.png

Scroll down, change the two hostnames to "localhost". Click on Advanced config, then click on Ok.

thunderbird-add-fake-account.png

This will create a fake account, and along it, it will create the local folders. You may now remove the fake account (as it has served its purpose) by clicking on Account Actions → Remove Account. The local folders will remain.

thunderbird-remove-fake-account.png

Optionally, restart Thunderbird to stop it from trying to contact a mail server on "localhost".

The local folders should now be available.

Step 3: Extract the PST file

Open the Terminal and run:

mkdir output
readpst -cv -e -o output your_pst_file.pst
Replace "your_pst_file.pst" with the actual name of the .pst file from AvePoint.

This will extract the content of the .pst file to output. Every output file can be either an .eml, .vcf, or .ics file depending on if it is an email message, a contact, or a calendar respectively.

Step 4: Import to Thunderbird

Import messages

To import email messages, right-click on Local Folders, then click on ImportExportTools NG → Import EML Messages → All EML Messages From A Directory And Subdirectories.

thunderbird-import-eml.png

Select the folder with the name of your email account inside the output folder from Step 3.

thunderbird-import-eml-select-folder.png

This will import all the folders inside to Local Folders.

Warning

Do not try to import individual messages (.eml files) to the root of Local Folders. Thunderbird won't let you. Instead, import the files to Inbox or create a new folder under Local Folders and import them there.

Import calendars and contacts

Thunderbird has built-in support for importing calendars (.ics files) and contacts (.vcf files). Go to the menu, then click on Tools → Import.

thunderbird-import-tool.png

Select Import from a file then click Continue. Then select the type of objects you wish to import. If you select contacts, make sure to choose .vcf format, because that is what was extracted in Step 3.

  • Contacts are likely located in output/your_email_address/Contacts.
  • Calendar entries are likely located in output/your_email_address/Calendar.