[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [imapsync] Migration with IMAPSync


From claus <claus at mrlinux dot de>
Subject Re: [imapsync] Migration with IMAPSync
Date Mon, 23 Jun 2014 15:58:25 +0200

Hi Julian,

I'm doing kinda same right now. My cmd-line looks like this:

./imapsync --pidfile /tmp/imapsync.pid --user1 u1 --host1 h1 --host2 outlook.office365.com --port2 993 --ssl2 --user2 u1 at company dot onmicrosoft dot com --authuser2 u1 at company dot onmicrosoft dot com --password1 PWCHANGED --password2 PWCHANGED --syncinternaldates --exclude user --prefix1 INBOX.


output at end (2nd run, 1st I interrupted) Host2 Nb messages: 41331 messages Host2 Total size: 3677234265 bytes (3.425 GiB) Host2 Biggest message: 35460449 bytes (33.818 MiB) Host2 Time spent: 13.9 seconds ++++ Statistics Transfer started on : Mon Jun 23 14:07:01 2014 Transfer ended on : Mon Jun 23 15:57:19 2014 Transfer time : 6617.8 sec Messages transferred : 20851 Messages skipped : 20350


This post enlighted me http://www.linux-france.org/prj/imapsync_list/msg01785.html


Feel free to contact me in case of any question



yours, claus


Am 23.06.2014 15:35, schrieb Julien_Chaussidon at DELL dot com:
Hello,

I’m using the IMAPSYNC tool in order to migrate mailboxes from IMAP
Cyrus server toward Exchange 2013 server.

I tried these commands line from the example :

/.\imapsync.exe --host1 MyCyrusServer  --user1 mailbox at domain dot com
--authuser1 AdminAccount --password1  PWCHANGED ^/

/               --host2 MyExchangeServer  --user2 mailbox at domain dot com
--authuser2 AdminAccount2 --password2  PWCHANGED MyPassword " --ssl2/

The result  seems to work well, but it doesn’t find any messages to
transfer, does anyone has an idea ?

/Transfer started at Mon Jun 23 15:11:50 2014/

/PID is 836/

/Log file is LOG_imapsync/2014_06_23_15_11_50_ mailbox at domain dot com dot txt/

/$RCSfile: imapsync,v $ $Revision: 1.592 $ $Date: 2014/05/22 10:03:17 $ /

/Here is a [MSWin32] system (Windows NT mymachine 6.1 Build 7601
(Service Pack 1) amd64)/

/With perl 5.18.2 Mail::IMAPClient 3.35/

/Command line used:/

/C:\imapsync-master_1.592\imapsync-master\imapsync.exe --host1
MyCyrusServer  --user1 mailbox at domain dot com --authuser1 AdminAccount
--password1  PWCHANGED --host2 MyExchangeServer  --user2 mailbox at domain dot com
--authuser2 AdminAccount2 at domain dot com --password2  PWCHANGED --ssl2/

/Temp directory is C:\Users\ADMINI~1\AppData\Local\Temp\2/

/PID file is C:\Users\ADMINI~1\AppData\Local\Temp\2/imapsync.pid/

/Modules version list:/

/Mail::IMAPClient 3.35/

/IO::Socket 1.36/

/IO::Socket::IP 0.29/

/IO::Socket::INET 1.33/

/IO::Socket::SSL 1.993/

/Net::SSLeay 1.64/

/Digest::MD5 2.53/

/Digest::HMAC_MD5 1.01/

/Digest::HMAC_SHA1 1.03/

/Term::ReadKey 2.31/

/Authen::NTLM 1.09/

/File::Spec 3.40/

/Time::HiRes 1.9726/

/URI::Escape 3.31/

/Data::Uniqid 0.12/

//

/Info: turned ON syncinternaldates, will set the internal dates (arrival
dates) on host2 same as host1./

/Info: will try to use PLAIN authentication on host1/

/Info: will try to use PLAIN authentication on host2/

/Info: imap connexions timeout is 120 seconds/

/Host1: IMAP server [MyCyrusServer] port [143] user [mailbox at domain dot com ]/

/Host2: IMAP server [MyExchangeServer] port [993] user
[mailbox at domain dot com ]/

/Host1: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=LOGIN
AUTH=PLAIN SASL-IR COMPRESS=DEFLATE] MyCyrusServer Cyrus IMAP
v2.3.16-Fedora-RPM-2.3.16-6.el6_2.5 server ready/

//

/Host1: MyCyrusServer says it has CAPABILITY for AUTHENTICATE PLAIN/

/Host1: success login on [MyCyrusServer] with user [mailbox at domain dot com ]
auth [PLAIN]/

/Host2: * OK The IMAP4 service is ready./

//

/Host2: MyExchangeServer says it has CAPABILITY for AUTHENTICATE PLAIN/

/Host2: success login on [MyExchangeServer] with user
[mailbox at domain dot com ] auth [PLAIN]/

/Host1: state Authenticated/

/Host2: state Authenticated/

/Host1 capability: IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED
COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE
UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT
SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE
CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH/

/Host2 capability: IMAP4 IMAP4rev1 AUTH=PLAIN UIDPLUS CHILDREN IDLE
NAMESPACE LITERAL+/

/Host1: separator given by NAMESPACE: [.]/

/Host2: separator given by NAMESPACE: [/]/

/Host1: prefix given by NAMESPACE: [user.]/

/Host2: prefix given by NAMESPACE: []/

/Host1 separator and prefix: [.][user.]/

/Host2 separator and prefix: [/][]/

/++++ Calculating sizes on Host1/

*/Host1 Nb messages: 0 messages/**//*

/Host1 Total size: 0 bytes (0.000 KiB)/

/Host1 Biggest message: 0 bytes (0.000 KiB)/

/Host1 Time spent: 1.9 seconds/

/++++ Calculating sizes on Host2/

/Host2 Nb messages: 0 messages/

/Host2 Total size: 0 bytes (0.000 KiB)/

/Host2 Biggest message: 0 bytes (0.000 KiB)/

/Host2 Time spent: 0.0 seconds/

/++++ Listing folders/

/Host1 folders list:/

//

/Host2 folders list:/

/[&AMk-l&AOk-ments envoy&AOk-s]/

/[&AMk-l&AOk-ments supprim&AOk-s]/

/[Bo&AO4-te d'envoi]/

/[Brouillons]/

/[Calendrier]/

/[Contacts]/

/[Courrier ind&AOk-sirable]/

/[INBOX]/

/[Journal]/

/[Notes]/

/[T&AOI-ches]/

//

/Folders in host2 not in host1:/

/[T&AOI-ches]/

/[Notes]/

/[Journal]/

/[INBOX]/

/[Courrier ind&AOk-sirable]/

/[Contacts]/

/[Calendrier]/

/[Brouillons]/

/[Bo&AO4-te d'envoi]/

/[&AMk-l&AOk-ments supprim&AOk-s]/

/[&AMk-l&AOk-ments envoy&AOk-s]/

//

/++++ Looping on each folder/

/++++ End looping on each folder/

/++++ Calculating sizes on Host1/

/Host1 Nb messages: 0 messages/

/Host1 Total size: 0 bytes (0.000 KiB)/

/Host1 Biggest message: 0 bytes (0.000 KiB)/

/Host1 Time spent: 0.0 seconds/

/++++ Calculating sizes on Host2/

/Host2 Nb messages: 0 messages/

/Host2 Total size: 0 bytes (0.000 KiB)/

/Host2 Biggest message: 0 bytes (0.000 KiB)/

/Host2 Time spent: 0.0 seconds/

/++++ Statistics/

/Transfer started on : Mon Jun 23 15:11:50 2014/

/Transfer ended on : Mon Jun 23 15:11:54 2014/

/Transfer time : 4.0 sec/

/Messages transferred : 0 /

/Messages skipped : 0/

/Messages found duplicate on host1 : 0/

/Messages found duplicate on host2 : 0/

/Messages void (noheader) on host1 : 0/

/Messages void (noheader) on host2 : 0/

/Messages deleted on host1 : 0/

/Messages deleted on host2 : 0/

/Total bytes transferred : 0 (0.000 KiB)/

/Total bytes duplicate host1 : 0 (0.000 KiB)/

/Total bytes duplicate host2 : 0 (0.000 KiB)/

/Total bytes skipped : 0 (0.000 KiB)/

/Total bytes error : 0 (0.000 KiB)/

/Message rate : 0.0 messages/s/

/Average bandwidth rate : 0.0 KiB/s/

/Reconnections to host1 : 0/

/Reconnections to host2 : 0/

/Memory consumption : 51.9 MiB/

/Biggest message : 0 bytes/

/Initial difference host2 - host1 : 0 messages, 0 bytes (0.000 KiB)/

/Final difference host2 - host1 : 0 messages, 0 bytes (0.000 KiB)/

/Detected 0 errors/

//

//

/Homepage: http://imapsync.lamiral.info//

/Log file is LOG_imapsync/2014_06_23_15_11_50_mailbox at domain dot com .txt/

Best regards / Cordialement,

**

*Julien CHAUSSIDON*



Dell S.A, Siège Social 1 rond point Benjamin Franklin 34000 Montpellier.
Capital 1,782,769 Euros, 351 528 229 RCS Montpellier –APE 4651Z -TVA
Intracommunautaire FR 20 351 528 229, SIRET 351 528 229 00088
Vat Number : FR 20351528229 (France) /  IT00001709997 (Italy) /
ESN0012622G (Spain)