HOWTO import Outlook contacts to KAddressBook
Desktop, Gentoo January 28th, 2006
Outlook was once the central application to manage my emails, TODOs, appointments and contacts. Now I have migrated to Linux, and KDE Kontact would fulfill the responsibility of PIM. I googled around to figure out how to import legacy Outlook PST to KAddressbook.
Export contacts as vCard from Outlook, then import
Sorry, no Windows, no Outlook.
Export contacts via Outport
Outport is an open-source utility to export Outlook items. It accesses PST file via MAPI, the native Outlook component. It is useless without Outlook installed.
Read PST via libpst
libpst is the open-source utility to convert the Outlook PST to standard Unix mbox and vCard format.
Since GBK is used as the built-in text encoding in Outlook, the file names and contents of the generated files by readpst were mess in my UTF-8 encoded linux box.
Check the size of Contacts, in my case, it is 26542
Then just import the lianxiren.vcf from KAddressBook. Done.







Works perfectly on mandriva 2008 with the following modifications:
urpmi pst-utils
readpst Outlook.pst
iconf -f ISO8859-1 -t utf-8 Contacts >Contacts.vcf
(readpst creates ISO8859-1 files and file names, not gbk)