Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-2011, 04:23 PM
Starter Member
 
Posts: 1
Default Migrating from Zimbra ZCS 6 to Exchange Online (Office 365)

Hi,

I'm in the process of migrating from Zimbra to Exchange Online and I need to migrate the contents of 190 users' mailboxes via IMAP.

I need either a superuser account that I can use to access all of the mailboxes and their folders or I need to use 'virtual shared folders' via IMAP. I cannot find details of either.

I have tried following the UserRoot attribute method in the following link but to no avail - Exchange cannot see the directory:

Prepare a CSV File to Migrate E-mail from an IMAP Server

Any help would be great - I know I'm off to 'the dark side' but that's corporate politics for you!

Kind regards,

Neil
Reply With Quote
  #2 (permalink)  
Old 01-02-2012, 03:34 AM
Active Member
 
Posts: 34
Default

I used following sync script to migrate from old webmail to zimbra, maybe it'll work the other way around aswell, assuming exchange online supports imap.

You need linux server with apache+php with imapsync package installed.

index.php :
Code:
<html>
<head>
<title>Mail migration</title>
</head>
<body>
<p>
<center>
Move emails tool<br>
<form method="post" action="process.php">
<table><tr>
<td>Your e-mail address:</td><td> <input size=64 type="text" name=email></td></tr>
<tr><td>Password for old server:</td><td> <input type="password" name=bmpass></td></tr>
<tr><td>Password for new server:</td><td> <input type="password" name=fhpass></td></tr>
</table>
<input type="submit" name="submit" value="Sync">
</form>
</center>
</p>
</body>
</html>
process.php :
Code:
<?php
$email = $_POST["email"];
$fhpass = $_POST["fhpass"];
$bmpass = $_POST["bmpass"];

#echo "processing $email using bmpass : $bmpass and fhpass : $fhpass";
$process = sprintf("imapsync --nosyncacls --syncinternaldates --ssl1 --ssl2 --host1 this.is.your.old.mail.server --user1 %s --password1 %s --host2 this.is.your.new.mail.server --user2 %s --password2 %s --authmech1 LOGIN --authmech2 LOGIN", $email, $bmpass, $email, $fhpass);

?>
<html><head><title>syncing....</title></head><body>
<?
#echo $process;
echo "Processing IMAP sync (this will take few minutes)";
?><br><?
passthru($process);
#passthru('imapsync --nosyncacls --syncinternaldates --ssl1 --ssl2 --host1 this.is.your.old.mail.server --user1 '$email' --password1 <old pass> --host2 this.is.your.new.mail.server --user2 <email> --password2 <new pass> --authmech1 LOGIN --authmech2 LOGIN');
?><br><?
echo "IMAP sync done";
?>
</body></html>
<?
# eof
?>
Edit process.php and replace this.is.your.new.mail.server and this.is.your.old.mail.server with proper hostnames.

This is assuming your username is same as your email on both ends.
Test and then have your users access the migrate web-page to complete the transfer.
Reply With Quote
  #3 (permalink)  
Old 05-18-2012, 11:26 AM
Starter Member
 
Posts: 2
Default

Did you ever figure out how to migrate your users?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.