From: Jaz <ja...@in...> - 2005-11-18 05:24:24
|
I'm having trouble copying Inbox'es from Courier-imap to Exchange 2003. The purpose is that some users are moving over to Exchange, so I need to move their imap Inbox. I've tried Exchange's Migration Wizard, and imapcopy, imapsync, and mailsync. But no joy. Excapt for mailsync, they all fail to connect to Courier on port 993/TLS. However, mailsync seems to connect ok (in Config#1, but #2 hangs), but it's telling me that Inbox is empty. Can anyone spot what I'm doing wrong? In the below two simulated attempts, the first would be handy so I can specify which user to sync -- but it hangs. The second tells me the folders are empty. When I executed this without the -s switch I got quite a bit more output, but the same [Mailbox is empty] and nothing was copied either direction. Ideas? -----Config#1------------------------ store cour { server {imap.mycompany.com/ssl/novalidate-cert/norsh} ref {imap.mycompany.com} pat INBOX.* } store exch { server {exchange.mycompany.com/ssl/novalidate-cert/norsh} ref {exchange.mycompany.com} pat INBOX.* } channel ce cour exch { msinfo .msinfo } -----Result#1------------------------ bash$ mailsync -s -d -v ce Only simulating Synchronizing stores "cour" <-> "exch"... Opening {imap.mycompany.com/ssl/novalidate-cert/norsh} with options 66 [Trying IP address [NON-IP]] [Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See COPYING for distribution information.] Authorizing against {imap.mycompany.com/imap} username: test password: Opening {exchange.mycompany.com/ssl/novalidate-cert/norsh} with options 66 [Trying IP address [NON-IP]] [Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (exchange.mycompany.com) ready.] Authorizing against {exchange.mycompany.com/imap} username: test password: Error: Protocol Error: "Command received without terminating <CR><LF> sequence". Error: Protocol Error: "Tag not found in command". -----Config#2------------------------- store cour { server {imap.mycompany.com/user=test/ssl/novalidate-cert/norsh} ref {imap.mycompany.com} pat INBOX.* prefix INBOX. passwd secret } store exch { server {exchange.mycompany.com/user=test/ssl/novalidate-cert/norsh} ref {exchange.mycompany.com} pat INBOX.* prefix INBOX. passwd secret } channel ce cour exch { msinfo {exchange.mycompany.com/user=test}INBOX.msinfo passwd secret } -----Result#2------------------------- bash$ mailsync -s -d -v ce Only simulating Synchronizing stores "cour" <-> "exch"... Opening {imap.mycompany.com/user=test/ssl/novalidate-cert/norsh} with options 66 [Trying IP address [NON-IP]] [Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See COPYING for distribution information.] Authorizing against {imap.mycompany.com/imap} Opening {exchange.mycompany.com/user=test/ssl/novalidate-cert/norsh} with options 66 [Trying IP address [NON-IP]] [Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (exchange.mycompany.com) ready.] Authorizing against {exchange.mycompany.com/imap} password: Items in store "cour": {imap.mycompany.com:993/imap/ssl/novalidate-cert/readonly/user="test"}<no_mailbox>{imap.mycompany.com}INBOX.Subfolder_foo, unmarked {imap.mycompany.com:993/imap/ssl/novalidate-cert/readonly/user="test"}<no_mailbox>{imap.mycompany.com}INBOX.Sent, marked Delimiter for store "cour" is '.' Using driver imap for store cour Items in store "exch": {exchange.mycompany.com:993/imap/ssl/novalidate-cert/readonly/user="test"}<no_mailbox>{exchange.mycompany.com}INBOX.msinfo Using driver imap for store exch Delimiter for store "exch" is '/' All seen mailboxes: in first store: Subfolder_foo Sent in second store: INBOX.msinfo Reading lasttime of channel "ce" [Trying IP address [NON-IP]] Authorizing against {exchange.mycompany.com/imap} [Trying IP address [NON-IP]] [Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 (exchange.mycompany.com) ready.] Authorizing against {exchange.mycompany.com/imap} [Mailbox is empty] Store cour: Subfolder_foo(0) Sent(0) Store exch: INBOX.msinfo(0) [Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 signing off.] Creating Subfolder_foo in exch Creating Sent in exch Creating INBOX.msinfo in cour [Courier-IMAP server shutting down] [Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 signing off.] ----- |