The .pst file will be moved to a temporary folder in /tmp/
This directory will be recursively traversed and imap maildir will be created in the user’s folders and emails
After processing the files will be listed containing contacts and calendars for any imports
Import Contacts in Webtop:
Run the script import pst2webtop_card.php as parameters, the user, the file to be imported and the webtop folder on which to import.
For example:
Import Calendar in Webtop:
Run the script import pst2webtop_cal.php as parameters, the user, the file to be imported and the webtop folder on which to import.
For example:
Hi @Nas, to migrate e-mail you can use both Fetchmail that Imapsync (I prefer imapsync ). Scripts pst2webtop_card.php and pst2webtop_cal.php become useful eventually to import Contacts and Calendars.
Hi @Nas,
Imapsync is well documented on the site of the author (Gilles Lamiral): http://imapsync.lamiral.info/
It 'a tool no longer free but a fee.
If you have already discussed here: Migrate from Kerio to Nethserver
I find it quite simple to use and very useful
Hi, Thanks for the scripts. I have just tried them with the following results:
Mail came across fine . ( I had just 58 mails in my test pst)
Contacts also imported with one error reported:
“Warning: pg_query(): Query failed: ERROR: duplicate key value violates unique constraint “contact_pkey” in /root/pst2webtop/pst2webtop_card.php on line 32”
However, I suspect that not all fields from the outlook pst are mapped to fields in webtop as items in outlook notes were missing. Also in cases where I had several telephone numbers for one contact all of them were not imported.
Calendar items also imported but the following errors were reported;
"Warning: pg_query(): Query failed: ERROR: duplicate key value violates unique constraint “calendars_pkey” in /root/pst2webtop/pst2webtop_cal.php on line 33
Errore Creazione Calendario WebTop di tmackey
Warning: pg_insert(): ERROR: null value in column “event” violates not-null constraint
in /root/pst2webtop/pst2webtop_cal.php on line 106
Errore Creazione Evento 2014-07-04 23:00:00 tmackey - su WebTop
Warning: pg_insert(): ERROR: null value in column “event” violates not-null constraint
in /root/pst2webtop/pst2webtop_cal.php on line 106
Errore Creazione Evento 2012-09-07 10:00:00 tmackey - su WebTop"
I am assuming that there were events with no title?
There are also issues relating to timezones and all day events.
After the import the events say that the timezone is Rome.
The times for single events generally show correctly but all day events are not imported as such but as events that start at 00.00 and run to 23.59. They then overlap into the next day starting at 1.00 and ending at 1.00.
I hope the above feedback is of some use.
Again thanks for the effort in producing the scripts and sharing them with us.
Tom
I assume so, yes … is likely to be as you say Tom: untitled events may generate this error.
Also from this point of view we could further improve the script with a few extra control.
@lucag, no stress!!! I’m preparing my server for the fibre connecting at home! They promised February, this year!, but at the moment I can be glad if I get it 2019 - there a road lots everywhere but no connections in the hole town