User address book migration

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

tas
Posts: 14
Joined: Wed May 10, 2006 10:56 am

User address book migration

Postby tas » Thu May 11, 2006 2:44 pm

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

tas
Posts: 14
Joined: Wed May 10, 2006 10:56 am

Postby tas » Fri May 12, 2006 7:25 am

any ideas?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri May 12, 2006 8:26 am

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.

tas
Posts: 14
Joined: Wed May 10, 2006 10:56 am

Postby tas » Fri May 12, 2006 10:08 am

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?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri May 12, 2006 10:31 am

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.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat May 13, 2006 12:34 pm

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.
Florian von Kurnatowski, Die Harder!

tas
Posts: 14
Joined: Wed May 10, 2006 10:56 am

Postby tas » Mon May 15, 2006 8:19 am

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.

WizmanG
Posts: 24
Joined: Tue Aug 08, 2006 11:12 am

Postby WizmanG » Wed Aug 30, 2006 10:17 pm

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.
It's all relative.....


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests