import email account

Hello,
is there could import an email account from typ office 365 mailserver

@gytepr65
If only emails you may use imap2kopano tool
if calendar contacts tasks too you may export to pst and import with pst2kopano tool

https://documentation.kopano.io/kopano_migration_manual/introduction.html

rg
christian

Thanks will use PST to Kopano Migration, can export from my PC have outlook 2016 to an pst file then import.

Hello,
how can import my pst file found these command:

kopano-migration-pst backup.pst -u user1

where do that use logged in with root!!

@gytepr65

you’ll have to give login user with --auth-user and --auth-pass see man page

rg
christian

Where write that command where Kopano is installed

@gytepr65

Import PST file name “outlook.pst” to store of user “bert”:

   kopano-migration-pst -u bert outlook.pst

you may do that on the kopano server for example

rg
christian

Hey,
where do that under administrators home path or find path for Kopano core

@gytepr65

you may have to install the packet if not on your server
it should be under /usr/sbin folder if installed from package

rg
Christian

How can install that , for could not find in that dir

@gytepr65

depends on what installation do you have if community than its in the tar file
if you have paid version with account you can install from repository

communtiy https://download.kopano.io/community/core:/
supported https://download.kopano.io/supported/core:/
repo https://kb.kopano.io/display/WIKI/Install+Kopano+products+using+repositories

rg
Christian

Hey,
have installed with Univention Corp server.
Or can use deskapp import my pst fil or must do that command

@gytepr65

no its not possible with client

with univention you may use package manager:

0_1507997294896_c5908c0b-6b93-4652-b5e9-2c05f2735418-grafik.png

rg
christian

thanks, but must have path to that pst fil I will import then

@gytepr65

with univention package manager i ment to install the kopano-migration-pst package not to import the pst file !

yes the pst file you’ll have to copy to the server and then run the command from that folder or put the path in the command

rg
Christian

yes understand with kopano-migration-pst , i put in an path in that command where have that pst file for tryed and get error

Hello,
try do
kopano-migration-pst -u bert outlook.pst

but get error

2017-10-15 12:11:44,182 - migration-pst - INFO - starting migration-pst
2017-10-15 12:11:44,186 - migration-pst - INFO - importing file '/home/administrator/backup.pst'
2017-10-15 12:11:44,188 - migration-pst - INFO - stopping migration-pst
2017-10-15 12:11:44,190 - migration-pst - ERROR - Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
    try: yield
  File "/usr/lib/python2.7/dist-packages/kopano/service.py", line 99, in start
    _utils._daemon_helper(self.main, self, self.log)
  File "/usr/lib/python2.7/dist-packages/kopano/utils.py", line 484, in _daemon_helper
    func()
  File "/usr/lib/python2.7/dist-packages/kopano_migration_pst/__init__.py", line 130, in main
    p = pst.PST(arg)
  File "/usr/lib/python2.7/dist-packages/kopano_migration_pst/pst.py", line 1922, in __init__
    self.fd = open(pst_file,'rb')
IOError: [Errno 2] No such file or directory: '/home/administrator/backup.pst'

is there missing in that command do must have more

Hey,
i got that working now moved that pst file to another folder
usede these command
kopano-migration-pst /gemensam/backup.pst -u gytepr
no error

Hey,
after update try again import an pst file but got an error:

018-03-19 14:46:22,004 - migration-pst - ERROR - Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
    try: yield
  File "/usr/lib/python2.7/dist-packages/kopano_migration_pst/__init__.py", line 116, in import_pst
    self.import_props(message, message2.mapiobj)
  File "/usr/lib/python2.7/dist-packages/kopano_migration_pst/__init__.py", line 53, in import_props
    mapiobj.SaveChanges(KEEP_OPEN_READWRITE)
  File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 395, in SaveChanges
    return _MAPICore.IMAPIProp_SaveChanges(self, ulFlags)
MAPIErrorDiskError: MAPI error 80040116 (MAPI_E_DISK_ERROR)

2018-03-19 14:47:37,075 - migration-pst - ERROR - Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/kopano/log.py", line 87, in log_exc
    try: yield
  File "/usr/lib/python2.7/dist-packages/kopano_migration_pst/__init__.py", line 116, in import_pst
    self.import_props(message, message2.mapiobj)
  File "/usr/lib/python2.7/dist-packages/kopano_migration_pst/__init__.py", line 53, in import_props
    mapiobj.SaveChanges(KEEP_OPEN_READWRITE)
  File "/usr/lib/python2.7/dist-packages/MAPICore.py", line 395, in SaveChanges
    return _MAPICore.IMAPIProp_SaveChanges(self, ulFlags)
MAPIErrorDiskError: MAPI error 80040116 (MAPI_E_DISK_ERROR)

Not sure why that error coming up

MAPI_E_DISK_ERROR usually means he could not write data to the MySQL database.

@gytepr65 said in import email account:

after update

What is updated? from where to where? which versions are now in use?

PS: please use code tags when posting error messages. The usage of code tags makes posts way more readable.

Log in to reply

Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.