Page 1 of 1

User address book migration

Posted: Thu May 11, 2006 2:44 pm
by tas
We are looking to migrate from MDaemon to Scalix. I have about 260 users and I would like to migrate everyones Personal address book as well as the corporate one. Does anyone know of any way of doing this? The address book is kept in an xml file for each user.

I am moving the messages through imapsync, a nice if not LONG process. Is there a faster way? I am estimating the process would take around 6 to 8 hours. I have users who have 10 to 15k messages. :shock:


Thanks,


Tim

Posted: Fri May 12, 2006 7:25 am
by tas
any ideas?

Posted: Fri May 12, 2006 8:26 am
by ScalixSupport
Hi,

I am not familiar with mdaemon. However, any adressbook you have on XML surely can be converted into a CSV file which the client (Outlook) could then import. Is Outlook the destination client?

Cheers,

Sascha.

Posted: Fri May 12, 2006 10:08 am
by tas
Thanks for the reply,

No, all but 5 or 6 will be using SWA. It would be difficult to import them one at a time. Would there be an easier way?

Posted: Fri May 12, 2006 10:31 am
by ScalixSupport
Actually there is. You can import into their Personal Contacts tree. Please see the documentation for omaddent for some ideas. This can be batched easily.

Cheers,

Sascha.

Posted: Sat May 13, 2006 12:34 pm
by florian
you might want to look in the admin_resource_kit subdirectory contained in your scalix download.

this contains a tool called import_contacts which is web-based and processes csv or ldif files. However, it is also on a user-by-user basis. maybe the cgi scripts that are behind it give you some idea, eventually in combination with the imap-based mboxadmin login that is described elsewhere in this forum...

hope this helps,
Florian.

Posted: Mon May 15, 2006 8:19 am
by tas
I did try the import_contacts script. unfortunately it errors out

Code: Select all

Opening /tmp/sx.contacts.25236.save

File type is CSV from

Mod_python error: "PythonHandler import_contacts"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/var/www/html/import/import_contacts.py", line 805, in handler
    process_imports()

  File "/var/www/html/import/import_contacts.py", line 770, in process_imports
    temp_file = importfile.file

AttributeError: 'file' object has no attribute 'file'


that's what I get and I'm not sure what it means.

Any other ideas?

This is FC4, python 2.4.1, Apache 2.0.54. The stock FC 4 basically after all updates.

Posted: Wed Aug 30, 2006 10:17 pm
by WizmanG
I was getting this same error when trying to import a CSV from Outlook. I imported the addresses into Thinderbird and then exported them from there as an LDIF and it worked perfectly.