Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: Migrating from CMGPro (CommunigatePro)

  1. #11
    davidfsmith is offline Special Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    160
    Rep Power
    8

    Smile Progress

    Afternoon All

    Right I'm running my companies mail on a spare server I managed to "borrow" on a "trial" so I now have a few weeks to get migrated from CMGPro to Zimbra.

    Our mail server is now rebuilt and almost ready to play:

    [test@test ~]$ uname -a
    Linux test.xxxx.com 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
    [test@test ~]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/VolGroup_ID_4471-LogVol1
    807G 703M 766G 1% /
    /dev/sda3 99M 23M 72M 24% /boot
    none 3.0G 0 3.0G 0% /dev/shm
    /dev/mapper/VolGroup_ID_4471-LogVol3
    6.0G 3.1G 2.7G 54% /usr
    /dev/mapper/VolGroup_ID_4471-LogVolHome
    4.1G 258M 3.6G 7% /home
    [test@test ~]$ rpm -qa --queryformat "%{name}.%{version}.%{arch}\n" |grep compat-libstdc
    compat-libstdc++-296.2.96.i386
    compat-libstdc++-33.3.2.3.x86_64
    compat-libstdc++-33.3.2.3.i386

    And I've not been quiet in the last few weeks, I've got some scripts that talk to CMGPro and export the account data into some files, one that can be used with IMAPSync and one piping into zmprov to build the accounts, so that should cover the IMAP / POP users and account creation, then I have a script which will read in the calendar / address data and (shortly) pipe that into Zimbra as well, this should cover the MAPI users, I've got 12 days before the migration to Zimbra starts up and once again the interesting bit will be the volume of data to shift (550+ GB)

    Regards

  2. #12
    bwoods is offline Junior Member
    Join Date
    Feb 2007
    Posts
    5
    Rep Power
    8

    Talking

    Mind sharing those scripts?

  3. #13
    davidfsmith is offline Special Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    160
    Rep Power
    8

    Smile

    Quote Originally Posted by bwoods View Post
    Mind sharing those scripts?
    Not at all, but if you can wait a couple of days you can have tested versions....
    Last edited by davidfsmith; 05-14-2007 at 11:15 AM. Reason: (added the missing word)

  4. #14
    bwoods is offline Junior Member
    Join Date
    Feb 2007
    Posts
    5
    Rep Power
    8

    Default

    Can do!

  5. #15
    davidfsmith is offline Special Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    160
    Rep Power
    8

    Smile Migration Scripts

    Ok so attached (hopefully) are the first set of migration scripts I've cobbled together for migrating from CMG to Zimbra

    In the zip file:
    CLI.pm - Perl Module maintained by www.stalker.com
    cmgpro_migration.pl - my cobbled together perl script which produces three files
    - zmprov.txt - list of users / alias / lists to feed into zmprov
    - zmprovdelete.txt - list of users / lists to feed into zmprov to remove all of the accounts created when using zmprov.txt
    - imapusers.txt - list of users / passwords for feeding into imapsycn_batch.sh
    imapsync_batch.sh - shell script to call imapsync to migrate emails from CMGPro to Zimbra

    All of this works for me, however I accept no responsibility for data loss / hair loss / tax increases / global warming etc.

    There is nothing very clever written here, and I'm sure a less rusty programmer could've written it faster / better (be nice I've not written PERL in 4+ years), but here they are....

    If you do have problems or questions, let me know and I will try and help.

    Also coming soon:

    MAPI data migration script, I just need to sort out how to get the ics / vcf data into Zimbra, the PERL script is getting the data just needs something to do with it....
    Attached Files Attached Files

  6. #16
    bwoods is offline Junior Member
    Join Date
    Feb 2007
    Posts
    5
    Rep Power
    8

    Default

    Thanks! Unfortunately, I can't seem to get passwords out, "guess because i'm using encrypted passwords."

    I manually created the list and imported users earlier.

    So I have my users imported, now to find a Mailing List solution that doesn't take much knowledge to administer.

  7. #17
    davidfsmith is offline Special Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    160
    Rep Power
    8

    Default

    The script I wrote gets the list information out, no idea if will work if it can't get the passwords, but worth a look at.

    Lines 145 - 179 do this bit

  8. #18
    bwoods is offline Junior Member
    Join Date
    Feb 2007
    Posts
    5
    Rep Power
    8

    Default

    I have to find an alternative to MailingLists, Mailman looks like one. Do you use mailing lists?

  9. #19
    davidfsmith is offline Special Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    160
    Rep Power
    8

    Default

    Quote Originally Posted by bwoods View Post
    I have to find an alternative to MailingLists, Mailman looks like one. Do you use mailing lists?
    Not at the moment, but I've used mailman in the past, worked pretty welll.

  10. #20
    davidfsmith is offline Special Member
    Join Date
    Jan 2007
    Location
    UK
    Posts
    160
    Rep Power
    8

    Default MAPI Data Migration

    Right I now have a kludge cobbled together in PERL which will migrate the diary and contacts for users unlucky enough to have been using CMGPro with the MAPI connector, it needs to run on the CMGPro server and accesses the relevant files before using SSH / SCP to transfer the data to the target Zimbra server where it then uses ZMProv to push the data into the users account, tested on one account so far and it seems to work, not the fastest thing in the world, but less hassle than manually moving the data across for 60 people....

    ;-)

    Will post up how it goes when used over the weekend for the final data migration as we switch over.

    The data migration of email is still taking forever, been running IMAPSync since the 16th May, and have managed to transfer 187 accounts (as of this morning)...

    There has to be a faster / better way.

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Migrating from Cyrus to Zimbra - imapsync
    By claud1e in forum Migration
    Replies: 4
    Last Post: 08-26-2009, 12:59 AM
  2. Migrating to Zimbra
    By rhlongwa in forum Administrators
    Replies: 2
    Last Post: 07-23-2007, 01:19 AM
  3. Migrating Horde/INGO filters to Zimbra
    By Daimyo in forum Migration
    Replies: 0
    Last Post: 07-12-2007, 11:22 AM
  4. Replies: 7
    Last Post: 07-05-2007, 07:37 PM
  5. Migrating from Communigate Pro?
    By jordandeamattson in forum Administrators
    Replies: 9
    Last Post: 01-25-2007, 04:17 PM

Posting Permissions

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