Project

General

Profile

Support #480

Updated by Daniel Curtis over 9 years ago

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 
 <pre> 
 sudo pacman -S libpst 
 </pre> 

 * Create a working directory and copy the PST: 
 <pre> 
 mkdir ~/email_temp 
 cp email_account.pst ~/email_temp 
 </pre> 

 * Convert PST to Mbox 
 <pre> 
 readpst email_account.pst 
 </pre> 

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

 *NOTE*: The next program requires python2, make sure to install it: 
 <pre> 
 sudo pacman -S python2 
 </pre> 

 * Download imap-upload from the following URL: 
 https://sourceforge.net/projects/imap-upload/files/imap-upload/1.2/imap-upload-1.2.zip/download 

 * Copy @imap_upload.py@ to the working directory: 
 <pre> 
 cp ~/Downloads/imap_upload.py ~/email_temp 
 </pre> 

 * Upload the Mbox files to the IMAP server: 
 <pre> 
 python2 imap_upload.py Inbox imaps://bob:Password@mail.example.com/Inbox 
 python imap_upload.py Sent imaps://bob:Password@mail.example.com/Sent 
 </pre> 

 h2. Resources 

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

Back