Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: migration of mailboxes & LDAP data

  1. #1
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Exclamation migration of mailboxes & LDAP data

    hi all,
    I am planing for the migration of mailbox data from sun java communication suite 5.
    I have seen the migration links for zimbra, however i have not yet find any right way for it.My question is how i can transfer the format of mailbox from comm suite to zimbra? Is there any command through which i can reconstruct the mailboxes?
    More over the LDAP data was stored in sun java directory server earlier,
    Is there any way of importing user from the LDAp.diff file, if not that any way for modifying the user's password with the hash for the password as same as earlier stored.

    #############################################
    What do you suggest me regarding the migration,


    Best regards
    Adeel

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

  3. #3
    Join Date
    Jan 2009
    Location
    Fresno
    Posts
    31
    Rep Power
    6

    Default

    If you are interested in a perl migration script that will convert iplanet messaging 5.2's Personal Address Book to a form that will allow you to import it into zimbra, pm me.
    Last edited by fowler; 03-09-2009 at 09:59 AM.

  4. #4
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Exclamation From Sun java comm suite 5 to ZIMBRA

    Hi all,
    And thanks for the help provided,
    But i am still confused and looking for the stuff which can help me.
    ###########################
    Regarding LDAP (sun java directory Server)
    I have an file named ldap.ldif
    which contains the user ID,passwords in encrypted form and all the attributes.
    How i can import the data in to the zimbra LDAP server, moreover i am unable to find the same kind of file in the Zimbra LDAP server.There is a file in the zimbra LDAP but the users i have created are not present in that file.
    ################################
    Regarding MailBox Data(Sun Java Messaging Server)
    How can i migrate the Mailbox data in to the zimbra format,
    I think, for migration following thing is to planed,
    1- Creation or importing the users
    2- Placing the HASH password for every user from the previous LDAP server (This is to be done if users have been created and not imported).
    3- Login the User, and when the mail box is created on the file level for that user, copy the mailbox from sun java messaging server to Zimbra (But the format of the mailbox have to be changed so that zimbra supports it)
    #####################################

    Please Suggest me, Thanks in Advance\
    Regards
    Adeel

  5. #5
    Join Date
    Jan 2009
    Location
    Fresno
    Posts
    31
    Rep Power
    6

    Default

    The import would be something you need to script. Map the attributes and values of your ldif file to the zmprov equivalent.

    One suggestion might be to do something like this:

    1. cycle through your ldif file picking out mail, givenname, cn, sn and userpassword.
    2. Map them to the equivalent zimbra attributes.

    givenname => firstName
    cn => displayName
    sn => lastName

    3. generate the zmprov commands and save them to a file.

    ca mail@host.com {ssha}asdlkfgj234 displayName 'Jim Norton' firstName Jim lastName Norton

    4. import your users.
    zmprov < commands.zmp

    Bulk Provisioning - Zimbra :: Wiki
    Zmprov Examples - Zimbra :: Wiki
    Zmprov (Provisioning - Zimbra :: Wiki)

    The message store for Sun and Zimbra are different. You are not going to be able to cp them from one file system to another. imapsync has been the recommended method, although it can be slow.

    User Migration - Zimbra :: Wiki
    Last edited by fowler; 03-10-2009 at 12:38 PM.

  6. #6
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Exclamation From Sun java comm suite 5 to ZIMBRA

    Hi,
    thanks for your help, it was really useful.
    Now I need to know the following things, I will be glade if you entertain me.
    ####### Openldap
    under the path >>/opt/zimbra/openldap/etc/openldap, I have find the following file.In this case my domain is zimbra.domain.com.
    DB_CONFIG.example master-accesslog.conf slapd.conf zimbra_globalconfig.ldif
    ldap.conf master-accesslog-overlay.conf slapd.conf.default zimbra.ldif
    ldap.conf.default schema zimbra_defaultcos.ldif zimbra_mimehandlers.ldif
    #######
    But i have now find scehma for mydomain.com, in my previous ldap server the file ldap.diff i had entries for every user like following,
    # entry-id: 5079
    dn: uid=testing.user,ou=People,o=mydomain.com,o=USERS, dc=mydomain,dc=com
    uid: testing.user
    ..bla bla bla.
    ..
    .

    ###########################
    As far as mailboxes are concern, I am unable to find the imapsync . Can you please provide me with the download link for it > OS is redhat linux AS 5


    Thank you very much for the support provided earlier,
    Regards
    Adeel

  7. #7
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Exclamation From Sun java comm suite 5 to ZIMBRA

    Hi,
    thanks for your help, it was really useful.
    Now I need to know the following things, I will be glade if you entertain me.
    ####### Openldap
    under the path >>/opt/zimbra/openldap/etc/openldap, I have find the following file.In this case my domain is zimbra.domain.com.
    DB_CONFIG.example master-accesslog.conf slapd.conf zimbra_globalconfig.ldif
    ldap.conf master-accesslog-overlay.conf slapd.conf.default zimbra.ldif
    ldap.conf.default schema zimbra_defaultcos.ldif zimbra_mimehandlers.ldif
    #######
    But i have not find scehma for mydomain.com, in my previous ldap server the file ldap.diff i had entries for every user like following,
    # entry-id: 5079
    dn: uid=testing.user,ou=People,o=mydomain.com,o=USERS, dc=mydomain,dc=com
    uid: testing.user
    ..bla bla bla.
    ..
    .

    ###########################
    As far as mailboxes are concern, I am unable to find the imapsync . Can you please provide me with the download link for it > OS is redhat linux AS 5


    Thank you very much for the support provided earlier,
    Regards
    Adeel

  8. #8
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

  9. #9
    Join Date
    Feb 2009
    Posts
    188
    Rep Power
    6

    Exclamation From Sun java comm suite 5 to ZIMBRA

    yappyyyyyyyyyyyyyyy...

    MailBoxes have been converted in to the format,

    However i still need to look for help as far as LDAP data is concern.
    My current LDAP contains 2 domains.?
    Please give some more explanation and i will be thankful to you
    #####

    One suggestion might be to do something like this:

    1. cycle through your ldif file picking out mail, givenname, cn, sn and userpassword.
    2. Map them to the equivalent zimbra attributes.

    givenname => firstName
    cn => displayName
    sn => lastName

    3. generate the zmprov commands and save them to a file.

    ca mail@host.com {ssha}asdlkfgj234 displayName 'Jim Norton' firstName Jim lastName Norton
    ##############


    Please suggest me
    Regards
    Adeel

  10. #10
    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    4

    Default export iplanet PAB

    Quote Originally Posted by fowler View Post
    If you are interested in a perl migration script that will convert iplanet messaging 5.2's Personal Address Book to a form that will allow you to import it into zimbra, pm me.
    Do you still have this?

    Many thanks.

Similar Threads

  1. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 03:08 AM
  2. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 11:38 AM
  3. Replies: 8
    Last Post: 08-07-2008, 06:18 AM
  4. Replies: 2
    Last Post: 02-12-2008, 11:55 AM
  5. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •