LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2020, 04:18 AM   #1
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Rep: Reputation: Disabled
Angry How to use pst-utils in Ubuntu 20.04


I am new here, my last problem (for now) is how to import my Outlook PST into Thunderbird or Evolution.
I downloaded and installed pst-utils

BUT - how do I use this utility?

I understand that readpst is obsolete

Thank you
Alex
 
Old 07-30-2020, 05:52 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
To be honest, I have never used them, but there are manual pages. And there is no indication that readpst is obsolete.

EDIT: It seems that there used to be a separate readpst package and that this package was obsoleted in favour of the pst-utils package, which contains the readpst tool and other software.

Last edited by berndbausch; 07-30-2020 at 05:55 AM.
 
Old 07-30-2020, 06:01 AM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by alex4buba View Post
I understand that readpst is obsolete
Why do you think so?

AFAIK, Evolution can import from MBOX. For older versions of Thunderbird, there are add-ons ImportExportTools (TB <=60) and ImportExportTools NG (TB 60–72) that also can handle MBOX. I'm not sure about the latest Thunderbird 78.x though.
 
Old 07-30-2020, 06:09 AM   #4
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Why do you think so?

AFAIK, Evolution can import from MBOX. For older versions of Thunderbird, there are add-ons ImportExportTools (TB <=60) and ImportExportTools NG (TB 60–72) that also can handle MBOX. I'm not sure about the latest Thunderbird 78.x though.
I will be very happy if I can use a tool to directly import a ST from Outlook directly into Evolution
If there is such an option, please guide me.

I have installed the latest Evolution into Ubunto 20.04

Thanks again
 
Old 07-30-2020, 06:26 AM   #5
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
I mean you can use readpst to export PST to MBOX, then import that file into Evolution.
 
Old 07-30-2020, 07:18 AM   #6
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
I mean you can use readpst to export PST to MBOX, then import that file into Evolution.
This will be a fantastic option for me.
When I tried to install it at command line - it did part of the process and came up with an error that it could not complete the command.

I will be greatful if you give me some clear stps on how to do this

Many thanks again
Alex
 
Old 07-30-2020, 07:22 AM   #7
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by alex4buba View Post
This will be a fantastic option for me.
When I tried to install it at command line - it did part of the process and came up with an error that it could not complete the command.

I will be greatful if you give me some clear stps on how to do this

Many thanks again
Alex
It said : E: Package 'readpst' has no installation candidate
 
Old 07-30-2020, 07:24 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by alex4buba View Post
It said : E: Package 'readpst' has no installation candidate
Code:
apt search readpst
 
Old 07-30-2020, 07:42 AM   #9
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Please pay attention to what berndbausch said above in #2. readpst is not a package. It is a command line tool from the pst-utils package you installed.
 
Old 07-30-2020, 07:47 AM   #10
remmilou
Member
 
Registered: Mar 2010
Location: Amsterdam
Distribution: MX Linux (21)/ XFCE
Posts: 211

Rep: Reputation: 69
readpst is part of pst-utils: apt install pst-utils

Copy - pasted from synaptic:
This package contains tools based on libpst to read data from Microsoft
Outlook PST files.
* readpst - export data from PST files to a variety of formats, including
mbox, MH, Maildir and Mozilla-mbox.
* lspst - list data in PST files.
* pst2ldif - extract contacts from a PST file and prepare them for input in
LDAP
* pst2dii - export data from PST files to Summation dii load file format
 
Old 07-30-2020, 06:07 PM   #11
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Hello my teachers,
I just found out that Evolution has in it an Import PST function, but I tried to run it and it starts showing the progress bar and it goes for hours. I know that my PST has in it over 104K messages (after I compressed it) and it has a size of 6.7GB - is there a limit?

I also found out that pst-utils is already installed on my Ubuntu 20.04, but have no idea on how to try using it?

Hope, someone here can instruct me

Thanks again for you taking the time

Cheers
Alex
 
Old 07-30-2020, 06:18 PM   #12
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by alex4buba View Post
I also found out that pst-utils is already installed on my Ubuntu 20.04, but have no idea on how to try using it?
There are manual pages. I believe that you have to experiment a little, in particular regarding the output format.

To test the Evolution import function, and also the readpst tool, I would use Outlook to first cut the PST file down to several smaller PST files. It's not inconceivable that a 6G file is beyond the capabilities of Evolution and/or the PC. For example, you may have problems with RAM, swap space or temporary filesystem space that lead to slow or never completing operation.

Last edited by berndbausch; 07-30-2020 at 06:20 PM.
 
Old 07-31-2020, 02:45 AM   #13
alex4buba
Member
 
Registered: Jul 2020
Posts: 620

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
There are manual pages. I believe that you have to experiment a little, in particular regarding the output format.

To test the Evolution import function, and also the readpst tool, I would use Outlook to first cut the PST file down to several smaller PST files. It's not inconceivable that a 6G file is beyond the capabilities of Evolution and/or the PC. For example, you may have problems with RAM, swap space or temporary filesystem space that lead to slow or never completing operation.
Hello Bernd,

Once again, many thanks for your feedback.
1) The link to the documentation , in the Linux section points mainly to error page.
2) Good news, I sorted out my problem... ALL my 140K records have been imported OK.

Here is what the problem was
1) I setup the initial account as IMAP
2) ON my Windows 10 desktop, on my mobile phone, on my tablet - I prefer POP3

So, becasue - Evolution had it as IMAP... as records were imported - it was attempting to update the Gmail server, it has been seen by the system as a new email message coming into the Inbox, what happend as a result is:

1) All my other devices - Desktop, phone tablet were flooded with "New" messages...
2) At times, my SUrface 3 Pro is loosing Internet connection, Evolution reports a critical error and the Import program crashes...

Today, I picked up the problem, changed the email account in Evolution to POP3 instead of IMAP. The IMprt program ran without a problem for about 5 hours and finished it all OK.

While doing this , I realized that actually - the current version of Evolution has the built-in Import PST program, there is no need to find any other utilities to do the job. It is all there.

Now, How do I publish all my findings to the group? IT may help some other new person to save all the time I wasted on this...

Cheers and thanks again

Alex
 
Old 07-31-2020, 03:20 AM   #14
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by alex4buba View Post
1) All my other devices - Desktop, phone tablet were flooded with "New" messages...
2) At times, my SUrface 3 Pro is loosing Internet connection, Evolution reports a critical error and the Import program crashes...
Perfect storm.

I am glad you were able to solve this. And you should be proud.
Quote:
Now, How do I publish all my findings to the group? IT may help some other new person to save all the time I wasted on this...
Linuxquestions features a wiki and blog pages.
 
Old 04-15-2021, 02:55 AM   #15
Blasfemis
LQ Newbie
 
Registered: Jan 2017
Posts: 3

Rep: Reputation: Disabled
How to import pst into Thunderbird

It's easy assuming you have already exported your pst eg: pst_archive.pst

Install pst-utils: sudo apt-get install pst-utils (or from repository)
In Thunderbird: install the addon: ImportExportTools NG
Create a folder anywhere and copy pst_archive.pst it: eg: pst_folder
Create an export folder within pst_folder: eg: export_folder
in pst_folder (containing 2 items: the pst and the sub-dir export_folder) run the following command: readpst -M -b -e -o export_folder pst_archive.pst
In Thunderbird create a local sub-folder at the bottom (below the imap accounts such as gmail hotmail etc) called eg: Archive_Local
Right click Archive_Local and select ImportExportTools NG > Import all messages from a directory > also from its subdirectories
navigate to and select the export_folder dir to import.

Acknowledgement:https://www.linuxsecrets.com/538-mov...n-ubuntu-linux
 
  


Reply

Tags
evolution, thunderbid



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Outlook 2007 (PST file) to Thunderbird in Ubuntu taru.tarak Linux - Desktop 12 07-10-2019 12:59 PM
pst-utils problem. How to get contacts? davcefai Linux - Software 6 11-18-2016 05:57 AM
Conversion of outlook .pst file into any Linux mail client format Mayuresh Linux - Software 1 08-09-2004 10:52 AM
Does KDE Kontact have a .pst like database file? stuart Linux - Software 0 06-23-2004 08:10 AM
importing an MS Outlook archive archive.pst alloydog Linux - Software 2 08-29-2003 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration