Project

General

Profile

Support #480

Migrating An Outlook PST File To An IMAP Server

Added by Daniel Curtis about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
11/20/2014
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

While setting up a new mail server, I had one workstation with outlook that would not login to the new mail server. After many hours of no progress, I exported the account I needed to migrate to a PST file and copied it over to my Arch Linux computer. I proceeded with the following steps to convert and upload

  • Install libpst
    sudo pacman -S libpst
    
  • Create a working directory and copy the PST:
    mkdir ~/email_temp
    cp email_account.pst ~/email_temp
    
  • Convert PST to Mbox
    readpst email_account.pst
    

The Outlook file will be converted into a series of mbox files.

NOTE: The next program requires python2, make sure to install it:

sudo pacman -S python2

  • Copy imap_upload.py to the working directory:
    cp ~/Downloads/imap_upload.py ~/email_temp
    
  • Upload the Mbox files to the IMAP server:
    python2 imap_upload.py Inbox imaps://bob:Password@mail.example.com/Inbox
    python2 imap_upload.py Sent imaps://bob:Password@mail.example.com/Sent
    

Resources

http://serverfault.com/questions/392265/how-to-import-pst-extracted-from-exchange-db-to-linux-imap-server
http://imap-upload.sourceforge.net/


Files

imap-upload-1.2.zip (5.06 KB) imap-upload-1.2.zip IMAP-upload 1.2 Daniel Curtis, 11/20/2014 01:21 PM

Also available in: Atom PDF